#301: LORENE build has a race condition ---------------------+------------------------------------------------------ Reporter: sbrandt | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Cactus | Version: Keywords: | ---------------------+------------------------------------------------------ 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.
#301: LORENE build has a race condition ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Cactus | Version: Resolution: | Keywords: ----------------------+-----------------------------------------------------
Comment (by sbrandt):
I misdiagnosed this. Apparently using the -openmp with -c causes no .o file to be created.
#301: LORENE build has a race condition ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: closed Priority: major | Milestone: Component: Cactus | Version: Resolution: invalid | Keywords: ----------------------+----------------------------------------------------- Changes (by sbrandt):
* status: new => closed * resolution: => invalid
#301: LORENE build has a race condition ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: Type: defect | Status: closed Priority: major | Milestone: Component: Cactus | Version: Resolution: invalid | Keywords: ----------------------+-----------------------------------------------------
Comment (by eschnett):
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?
trac@lists.einsteintoolkit.org