[ET Trac] #2640: NRPyEllipticET fails to compile on Stampede2

Roland Haas trac-noreply at einsteintoolkit.org
Mon Sep 19 00:43:18 CDT 2022


#2640: NRPyEllipticET fails to compile on Stampede2

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: 
     Type: bug
 Priority: blocker
Component: 

```
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.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2640/nrpyellipticet-fails-to-compile-on
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20220919/6004e627/attachment.html 


More information about the Trac mailing list