<div dir="ltr">For the serial case it is enough to set the environment variable OMP_NUM_THREADS locally before you run.<br>For mixed mode MPI/openmp  runs you will need to write a submission script which contains the OMP_NUM_THREADS and sets it on every host. If you run on a cluster it depends on the job submission system how the details have to look like.<br><br>FLo<br></div>