主题:linux下安装了ifort,但找不到openmp,怎么回事
最近在学多核并行,听说openmp是编译器自带的,在linux下安装了ifort后,使用#locate omp.h命令后,提示:no such file or directory.坛子里有人说ifort默认openmp是关闭的,我打开ifort的help,上面写着
openmp enable the compiler to generate multi-threaded code based
on the OpenMP directives
-openmp-profile link with instrumented OpenMP runtime library to generate
OpenMP profiling information for use with the OpenMP
component of the VTune(TM) Performance Analyzer
-openmp-stubs enables the user to compile OpenMP programs in sequential
mode. The openmp directives are ignored and a stub OpenMP
library is linked (sequential)
-openmp-report{0|1|2} control the OpenMP parallelizer diagnostic level
这是么意思啊,我该怎么办才能使用openmp呢
openmp enable the compiler to generate multi-threaded code based
on the OpenMP directives
-openmp-profile link with instrumented OpenMP runtime library to generate
OpenMP profiling information for use with the OpenMP
component of the VTune(TM) Performance Analyzer
-openmp-stubs enables the user to compile OpenMP programs in sequential
mode. The openmp directives are ignored and a stub OpenMP
library is linked (sequential)
-openmp-report{0|1|2} control the OpenMP parallelizer diagnostic level
这是么意思啊,我该怎么办才能使用openmp呢