NRPyEllipticET fails to compile on Stampede2

Create issue
Issue #2640 resolved
Roland Haas created an issue
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)

  1. Leonardo Rosa Werneck

    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.

  2. Log in to comment