OpenMP

At hexagon you can run OpenMP jobs within the node, i.e. on maximum 4 cores/processors. To activate openMP directives, compile with


Fortran:
-mp=nonuma     for the PGI compiler, and
-mp                for the Pathscale compiler

C and C++:
-mp                for the PGI compiler, and
-mp                for the Pathscale compiler

In the batch-script set

export OMP_NUM_THREADS=threads_per_node

mppdepth=threads_per_node

This number should correspond to

aprun ... -d threads_per_node ...