title: OpenMP and MKL threading
body: <p>I have a code in Fortran which uses <code>DGESVD</code> from MKL and runs on 8 cores with Intel compiler. The code is accelerated via OpenMP. Also I know that OpenMP and MKL has their own setting to set the number of threads (<code>omp_num_threads</code> and <code>mkl_num_threads</code>). I want to know the optimum number of threads. Am I supposed to set the <code>OMP_NUM_THREADS=1</code> before calling the LAPACK routine? Does the number of OpenMP threads affect MKL number of threads?</p>