With gcc, you need to compile and link with -fopenmp
to enable OpenMP. Other compilers have different options; with intel it's -openmp
, with pgi it's -mp
, etc.
The code needs to be compiled with -fopenmp
.
With gcc, you need to compile and link with -fopenmp
to enable OpenMP. Other compilers have different options; with intel it's -openmp
, with pgi it's -mp
, etc.
The code needs to be compiled with -fopenmp
.