Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 20:56:18 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        freebsd-ports@freeBSD.org
Subject:   Problems using OpenMP
Message-ID:  <d0b35d5d-05a1-0445-476d-2c638d687fab@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0b35d5d-05a1-0445-476d-2c638d687fab>