NRPyEllipticET fails to compile on Stampede2
Issue #2640
resolved
Building thorns 'NRPyEllipticET' of configuration sim Checking status of thorn NRPyEllipticET COMPILING EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c /work2/00945/rhaas/stampede2/skx/ET_Next/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c(178): error: incomplete type is not allowed struct timespec start, end; ^ /work2/00945/rhaas/stampede2/skx/ET_Next/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c(178): error: incomplete type is not allowed struct timespec start, end; ^ /work2/00945/rhaas/stampede2/skx/ET_Next/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c(179): warning #266: function "clock_gettime" declared implicitly clock_gettime(CLOCK_REALTIME, &start); ^ /work2/00945/rhaas/stampede2/skx/ET_Next/arrangements/EinsteinInitialData/NRPyEllipticET/src/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c(179): error: identifier "CLOCK_REALTIME" is undefined clock_gettime(CLOCK_REALTIME, &start); ^ compilation aborted for /work2/00945/rhaas/stampede2/skx/ET_Next/configs/sim/build/NRPyEllipticET/conformally_flat_BBH/NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c (code 2) make[3]: *** [NRPyEllipticET_conformally_flat_BBH_Hyperbolic_Relaxation.c.o] Error 2 make[2]: *** [conformally_flat_BBH/make.checked] Error 2 make[1]: *** [/work2/00945/rhaas/stampede2/skx/ET_Next/configs/sim/lib/libthorn_NRPyEllipticET.a] Error 2
Prevents compilation of whole ET on common cluster.
Comments (4)
-
reporter -
Interesting. Thanks for pointing it out @Roland Haas . It seems that our check is not working properly. I’ll fix it tomorrow and let you know.
-
@Roland Haas the issue has been fixed by commit 46f6a27 in https://github.com/assumpcaothiago/NRPyElliptic. Thanks for letting us know!
-
reporter - changed status to resolved
this commit seems to fix the issue (at least on stampede2-skx). Thank you for the quick bugfix.
- Log in to comment
@Leonardo Rosa Werneck please take a look.