Submitting an OpenMP job is different from Submitting an MPI Job since you must request multiple cores from a single node.
Notice that we used
ntasks-per-node to specify the number of cores we want on a single node. Additionally, we specify that we only want 1
OMP_NUM_THREADS is required to limit the number of cores that OpenMP will use on the node. It should match the
Directions to compile OpenMP can be found on Compiling an OpenMP Application.
Further OpenMP documentation can be found on LLNL's OpenMP website.