I want to use OpenMP in CodeLite, but it doesn't work.
I have already choose -fopenmp in compile setting(actually it's the default setting).
My program is as follows:
#include <stdio.h>
#include <omp.h>
int main()
{
#pragma omp parallel
{
printf("Hello World!");
}
return 0;
}
The result of this program shows that "#include " doesn't work, and the "#pragma omp parallel" is ignored.