Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

How do I know whether my icc compiler support openmp ?

$
0
0

using "icc -v", get this  "icc version 15.0.0 (gcc version 4.4.7 compatibility)",

using gcc -fopenmp ,my code get accelate , but using icc -openmp , it turns out slower 

when I use this "icc main.c -openmp-report" ,

I get this -> 

main.c(10): warning #3180: unrecognized OpenMP #pragma
  #pragma omp parallel for

 

it seems my icc compiler doesn't support openmp , am I right? Or ,do I miss some thing?

thinks for any tips!

 


Viewing all articles
Browse latest Browse all 3108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>