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:

Official Intel guide is here:

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

Reply via email to