# Revision history [back]

### Use openmp with clang

I'm trying to compile code that uses openmp with clang. I found that the clang options are -fopenomp=libomp. But that doesn't work since clang can't find the openmp headers.

test-openmp.cpp:5:11: fatal error: 'omp.h' file not found
# include <omp.h>
^
1 error generated.


As a simple example I checked this program from the openmp website. It compiles fine using gcc.

Can I find out where the omp headers are installed on fedora?