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?
---
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

Reply via email to