[ 84%] Building C object CMakeFiles/check_ccl.dir/benchmarks/ccl_test_f2d.c.o
/home/ardok/miniforge3/envs/CCLv3CIissue/bin/x86_64-conda-linux-gnu-cc -I/home/ardok/PD1-Oxford/codes/CCL_upstream/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/ardok/miniforge3/envs/CCLv3CIissue/include -O3 -fomit-frame-pointer -fno-common -fPIC -std=gnu99 -fopenmp -fopenmp -MD -MT CMakeFiles/check_ccl.dir/benchmarks/ccl_test_f2d.c.o -MF CMakeFiles/check_ccl.dir/benchmarks/ccl_test_f2d.c.o.d -o CMakeFiles/check_ccl.dir/benchmarks/ccl_test_f2d.c.o -c /home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c
/home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c: In function '__ctest_f2d_pk_run':
/home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c:293:53: error: incompatible type for argument 21 of 'ccl_parameters_create'
293 | -1, NULL, NULL, &status);
| ^~~~
| |
| void *
In file included from /home/ardok/PD1-Oxford/codes/CCL_upstream/include/ccl.h:30,
from /home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c:1:
/home/ardok/PD1-Oxford/codes/CCL_upstream/include/ccl_core.h:330:74: note: expected 'double' but argument is of type 'void *'
330 | double mu_0, double sigma_0, double c1_mg, double c2_mg, double lambda_mg,
| ~~~~~~~^~~~~
/home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c:293:59: error: incompatible type for argument 22 of 'ccl_parameters_create'
293 | -1, NULL, NULL, &status);
| ^~~~
| |
| void *
/home/ardok/PD1-Oxford/codes/CCL_upstream/include/ccl_core.h:330:88: note: expected 'double' but argument is of type 'void *'
330 | double mu_0, double sigma_0, double c1_mg, double c2_mg, double lambda_mg,
| ~~~~~~~^~~~~
/home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c:293:65: error: incompatible type for argument 23 of 'ccl_parameters_create'
293 | -1, NULL, NULL, &status);
| ^~~~~~~
| |
| int *
/home/ardok/PD1-Oxford/codes/CCL_upstream/include/ccl_core.h:330:102: note: expected 'double' but argument is of type 'int *'
330 | double mu_0, double sigma_0, double c1_mg, double c2_mg, double lambda_mg,
| ~~~~~~~^~~~~~~~~
/home/ardok/PD1-Oxford/codes/CCL_upstream/benchmarks/ccl_test_f2d.c:290:27: error: too few arguments to function 'ccl_parameters_create'
290 | ccl_parameters params = ccl_parameters_create(data->Omega_c,data->Omega_b, 0.0, 3.046, &mnu,
| ^~~~~~~~~~~~~~~~~~~~~
/home/ardok/PD1-Oxford/codes/CCL_upstream/include/ccl_core.h:325:16: note: declared here
325 | ccl_parameters ccl_parameters_create(double Omega_c, double Omega_b, double Omega_k,
| ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/check_ccl.dir/build.make:110: CMakeFiles/check_ccl.dir/benchmarks/ccl_test_f2d.c.o] Error 1
make[2]: Leaving directory '/home/ardok/PD1-Oxford/codes/CCL_upstream/build'
make[1]: *** [CMakeFiles/Makefile2:186: CMakeFiles/check_ccl.dir/all] Error 2
make[1]: Leaving directory '/home/ardok/PD1-Oxford/codes/CCL_upstream/build'
make: *** [Makefile:139: all] Error 2
When manually compiling CCL, it also runs some benchmarks (not when you do
python setup.py install).This benchmark is failing due to an old syntax of
ccl_parameters_create.