#1176: Compilation of Recompose.cc fails with gcc-4.7 and OpenMP -------------------------------------+-------------------------------------- Reporter: david.radice@… | Owner: eschnett Type: defect | Status: new Priority: major | Milestone: Component: Carpet | Version: ET_2012_05 Keywords: | -------------------------------------+-------------------------------------- I am trying to compile the latest release of the Einstein Toolkit, Ørsted, on my laptop (Fedora 17, gcc-4.7.2), but I get the following error if I try to compile with OpenMP:
/home/davide/Desert/CactusOersted/configs/charon/build/Carpet/Recompose.cc:2071:2: error: stray ‘#’ in program
the error disappears if I compile with no OpenMP support.
I can also compile without problems, using the same thornlist and with OpenMP support, on our local cluster with the Intel compiler.