Hello, I have a problem with using icc on a standard openmp function (omp_get_num_thread()). When I use it in parallel block, I have an error:
$ icc -openmp project.cpp -o project
slae2.cpp(207): error: identifier "omp_get_num_thread" is undefined
ompnumber = omp_get_num_thread();
Is this version of openmp don't support this function or it's other problem?