[slurm-users] Automatically setting OMP_NUM_THREADS=SLURM_CPUS_PER_TASK?

Martin Cuma martin.cuma at utah.edu
Tue Mar 6 16:28:56 MST 2018


MKL is trying to be flexible as it has different potential levels of 
parallelism inside. Having MKL_ and OMP_NUM_THREADS can be beneficial in 
programs where you may want to use your own OpenMP but restrict MKL's or 
vice versa.

A good article on the different options that MKL provides is here:
http://www.diracprogram.org/doc/release-12/installation/mkl.html

Official Intel guide is here:
https://software.intel.com/en-us/articles/recommended-settings-for-calling-intel-mkl-routines-from-multi-threaded-applications

MC
-- 
Martin Cuma
Center for High Performance Computing
Department of Geology and Geophysics
University of Utah




More information about the slurm-users mailing list