Hi.
I am trying to compile simple code using openmp.
Here is the code (file test.cpp):
int main()
{
double a[100];
#pragma omp parallel for
for (int i = 0; i < 100; ++i) {
a[i] = i;
}
return 0;
}I compile using the following command:
icpc -openmp test.cpp
the result is:
icpc: command line error: option '-openmp' not supported
Can you help me please?
Thread Topic:
Help Me