#2642: Toolkit Fails to Compile on Sawtooth (Idaho National Lab)
Reporter: Leonardo Werneck Status: new Milestone: Version: ET_2022_11 Type: bug Priority: major Component: Carpet
Compilation of the Riemann release of the toolkit fails with the Intel-19.0.5 compiler on Sawtooth (Idaho National Lab). Attached is the full configuration used for the compilation (sawtooth-intel19.cfg). The compilation errors are the following:
``` /home/rosaleon/sawtooth/test_compile/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc(144): error: more than one instance of overloaded function "CarpetMask::isnan" matches the argument list: function "isnan(double)" function "std::isnan(double)" argument types are: (CCTK_REAL8) assert(not isnan(theta)); ^
/home/rosaleon/sawtooth/test_compile/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc(160): error: more than one instance of overloaded function "CarpetMask::isnan" matches the argument list: function "isnan(double)" function "std::isnan(double)" argument types are: (CCTK_REAL8) assert(not isnan(phi)); ^
Checking status of thorn IllinoisGRMHD compilation aborted for /home/rosaleon/sawtooth/test_compile/Cactus/configs/intel19/build/CarpetMask/mask_surface.cc (code 2) make[4]: *** [mask_surface.cc.o] Error 2 make[3]: *** [make.checked] Error 2 make[2]: *** [/home/rosaleon/sawtooth/test_compile/Cactus/configs/intel19/lib/libthorn_CarpetMask.a] Error 2 make[2]: *** Waiting for unfinished jobs.... COMPILING WVUThorns/IllinoisGRMHD/src/driver_conserv_to_prims.C /home/rosaleon/sawtooth/test_compile/Cactus/arrangements/WVUThorns/IllinoisGRMHD/src/driver_conserv_to_prims.C(204): error: more than one instance of overloaded function "isnan" matches the argument list: function "isnan(double)" function "std::isnan(double)" argument types are: (double) if(isnan(CONSERVS[RHOSTAR]*CONSERVS[STILDEX]*CONSERVS[STILDEY]*CONSERVS[STILDEZ]*CONSERVS[TAUENERGY]*PRIMS[BX_CENTER]*PRIMS[BY_CENTER]*PRIMS[BZ_CENTER])) { ^
compilation aborted for /home/rosaleon/sawtooth/test_compile/Cactus/configs/intel19/build/IllinoisGRMHD/driver_conserv_to_prims.C (code 2) make[4]: *** [driver_conserv_to_prims.C.o] Error 2 make[3]: *** [make.checked] Error 2 make[2]: *** [/home/rosaleon/sawtooth/test_compile/Cactus/configs/intel19/lib/libthorn_IllinoisGRMHD.a] Error 2 make[1]: *** [intel19] Error 2 make: *** [default-target] Error 2 Using the only available configuration: intel19. ^Cmake[1]: *** [intel19] Interrupt make: *** [default-target] Interrupt ```
I am currently working on a pull request to fix the issue in `IllinoisGRMHD`.
Cheers,
Leo attachment: sawtooth-intel19.cfg (https://api.bitbucket.org/2.0/repositories/einsteintoolkit/tickets/issues/26...)
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2642/toolkit-fails-to-c...
trac@lists.einsteintoolkit.org