Good evening, Thank you very much for the answer. I tried to follow your suggestion and I modified the CFLAGS but I still have the following error:
make: *** [sim] Error 2 I kindly ask you if you have another suggestion to solve the problem. Best regards, Elena Goria > Il giorno 25 lug 2024, alle ore 14:59, Elena Luisa Goria > <e.go...@campus.unimib.it> ha scritto: > > Good morning, > I am Elena Goria and I want to use the Einstein Toolkit. > I am writing to you because of a problem encountered in installing the > Einstein Toolkit. > In particular when I write the command: > > ./simfactory/bin/sim build -j2 --thornlist thornlists/einsteintoolkit.th > I get the error: > > COMPILING EinsteinInitialData/Meudon_Mag_NS/src/check_parameters.cc > /Users/elenaluisagoria/Cactus/configs/sim/build/Meudon_Mag_NS/Mag_NS.cc: In > function 'void ID_Mag_NS_initialise(cGH*)': > /Users/elenaluisagoria/Cactus/configs/sim/build/Meudon_Mag_NS/Mag_NS.cc:202:25: > warning: catching polymorphic type 'class std::ios_base::failure' by value > [-Wcatch-value=] > 202 | } catch (ios::failure e) { > | ^ > Checking status of thorn NPScalars > Checking status of thorn NPScalars_Proca > Creating > /Users/elenaluisagoria/Cactus/configs/sim/lib/libthorn_Meudon_Mag_NS.a > Checking status of thorn NRPyEllipticET > Checking status of thorn NaNCatcher > COMPILING > EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c > COMPILING CactusUtils/NaNCatcher/src/catch_nans.c > /Users/elenaluisagoria/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c: > In function 'NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase': > /Users/elenaluisagoria/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c:147:71: > error: passing argument 6 of > 'NRPyEllipticET_conformally_flat_BBH_interpolate_solution_to_ADMBase' from > incompatible pointer type [-Wincompatible-pointer-types] > 147 | > input_array, > | > ^~~~~~~~~~~ > | > | > | > CCTK_REAL8 (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0] {aka double > (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]} > In file included from > /Users/elenaluisagoria/Cactus/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c:3: > /Users/elenaluisagoria/Cactus/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/./conformally_flat_BBH_NRPy_function_prototypes.h:74:92: > note: expected 'const CCTK_REAL8 *' {aka 'const double *'} but argument is > of type 'CCTK_REAL8 (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]' {aka 'double > (*)[Nxx_plus_2NGHOSTS1][Nxx_plus_2NGHOSTS0]'} > 74 | > const CCTK_REAL *input_gf, > | > ~~~~~~~~~~~~~~~~~^~~~~~~~ > make[3]: *** [NRPyEllipticET_conformally_flat_BBH_Initialize_ADMBase.c.o] > Error 1 > make[2]: *** [conformally_flat_BBH/make.checked] Error 2 > make[1]: *** > [/Users/elenaluisagoria/Cactus/configs/sim/lib/libthorn_NRPyEllipticET.a] > Error 2 > make[1]: *** Waiting for unfinished jobs.... > COMPILING configs/sim/bindings/build/NaNCatcher/cctk_ThornBindings.c > Creating /Users/elenaluisagoria/Cactus/configs/sim/lib/libthorn_NaNCatcher.a > make: *** [sim] Error 2 > > I don't understand the reason for this error, could you help me solve it? > Thank you, > Best regards, > Elena Goria >
_______________________________________________ Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users