Problems using OpenMP

Pedro Giffuni pfg at FreeBSD.org
Thu Jun 1 01:58:40 UTC 2017


Hello guys;

FWIW, I tried using OpenMP in a port (hypre) and I thought the option 
would be something as simple as this:

OPENMP_CONFIGURE_WITH=    openmp
OPENMP_CONFIGURE_USES=    compiler:openmp

Unfortunately that is not enough:

...

In file included from ./_hypre_utilities.h:16:
./HYPRE_utilities.h:29:10: fatal error: 'omp.h' file not found
#include <omp.h>
          ^~~~~~~
--- amg_linklist.o ---
...

And the file is here:

/usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include/omp.h
/usr/local/llvm39/lib/clang/3.9.1/include/omp.h

Which is not really clean to include :(. Any suggestion?

Pedro.



More information about the freebsd-ports mailing list