I'm searching for the omp.h
file for using it in eclipse. I failed to find it in openmp.org.
Where do I find omp.h
?
thanks.
Under Linux, you can find a file by
locate omp.h
Have you tried to simply use it with
#include <omp.h>
and add the openmp flag to your g++ compiler flag?
g++ -fopenmp sample.c
Where do I find
omp.h
?
On Ubuntu 14:
$ find /usr -name omp.h
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/omp.h
/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/include/omp.h
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With