On Mon, Feb 27, 2012 at 4:31 PM, Gerard Gorman
<g.gorman@imperial.ac.uk> wrote:
I'm surprised by this. I not aware of any compiler that doesn't have
OpenMP support - and then you do not actually enable OpenMP compilers
generally just ignore the pragma. Do you know of any compiler that does
not have OpenMP support which will complain?
clang (which is on any mac with xcode >= 4.0) will not compile any OpenMP (but gcc will compile just fine):
>>>>>>>>>>>>
fatal error: 'omp.h' file not found
#include <omp.h>
^
1 error generated.
<<<<<<<<<<<<<
It's not in any llvm stuff as of last month:
Putting this layer of abstraction is really needed (especially if there are any calls to omp_ functions)