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.
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.