> On Feb 13, 2014, at 4:21 PM, Roy Stogner <royst...@ices.utexas.edu> wrote: > > > Bruce ran across the following libMesh build errors on his 10.9 Mac: > >> lude/libmesh/threads.h:542:13: warning: unknown pragma ignored >> [-Wunknown-pragmas] >> #pragma omp parallel for schedule (static) >> ^ >> ./include/libmesh/threads.h:642:13: warning: unknown pragma ignored >> [-Wunknown-pragmas] >> #pragma omp parallel for schedule (static) >> ^ >> 2 warnings generated. >> CXX src/base/libmesh_dbg_la-libmesh.lo >> In file included from src/base/libmesh.C:22: >> In file included from ./include/libmesh/getpot.h:69: >> ./include/libmesh/threads.h:542:13: warning: unknown pragma ignored >> [-Wunknown-pragmas] >> #pragma omp parallel for schedule (static) >> ^ >> ./include/libmesh/threads.h:642:13: warning: unknown pragma ignored >> [-Wunknown-pragmas] >> #pragma omp parallel for schedule (static) >> ^ >> src/base/libmesh.C:40:10: fatal error: 'omp.h' file not found >> #include <omp.h> >> ^ >> 2 warnings and 1 error generated. >> make[1]: *** [src/base/libmesh_dbg_la-libmesh.lo] Error 1 >> make: *** [all-recursive] Error 1 >> dhcp-180-184:libmesh brucerodenborn$ >> >> Libmesh is looking for omp.h from OpenMP, but I have specified MPICH for the >> MPI library. After configuration, it states Openmp=yes. Should I >> install OpenMP? > > The possible workarounds are simple enough, but it looks like there's > a deeper bug in the ax_openmp we pulled from the autoconf archive. We > should test for omp pragma support and header support, not just for > whether a -openmp or similar compiler flag gets accepted without > error, no?
Definitely. He's probably using clang? They don't support openmp unless you grab a special development branch off GitHub, but it still passes our configure test... > --- > Roy > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Libmesh-devel mailing list > Libmesh-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-devel ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel