can't find omp.h (Studio 10)
I'm trying to compile C++ code with OpenMP directives. I'm using a university-installed Studio 10 (C++ 5.7).
The compiler says that it can't find <omp.h>. Could this have somehow been installed without OpenMP support? Where should this header file be?
This is how I'm invoking the compiler (minus the full pathname):
CC -o foo.o -c -O3 -xopenmp foo.cpp
[387 byte] By [
gregByrd] at [2007-11-26 11:10:31]

# 1
Your operating system is Solaris 8 or 9, right?
Ask your system administrator to install the required patches.
http://developers.sun.com/sunstudio/downloads/patches/ss11_patches.html
In particular you need the patch which provides
/usr/include/omp.h -- the header file you are looking for
and
/usr/lib/libmtsk.so -- the parallel runtime library
I think it is called "OpenMP support libmtsk"
horsh at 2007-7-7 3:25:02 >
