LORENE build has a race condition

Create issue
Issue #301 closed
Steven R. Brandt created an issue

About half the time I try to build cactus on Fedora the build fails in Lorene.

a - Source/Poisson2d/cd1zms.o a - Source/Poisson2d/cirams.o ar: creating /home/cactus/workspace/ET/Cactus/configs/sim/scratch/build/LORENE/Lorene/Lib/liblorene_export.a ar: mag_ns.o: No such file or directory

It looks like the archiving happens before all the .o files are built.


Comments (4)

  1. Steven R. Brandt reporter
    • removed comment

    I misdiagnosed this. Apparently using the -openmp with -c causes no .o file to be created.

  2. Erik Schnetter
    • removed comment

    Some compilers treat -openmp as -o penmp and create an output file "penmp". Are you using the right flag to enable OpenMP for this compiler?

  3. Log in to comment