Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] OMP_NUM_THREADS and MKL_NUM_THREADS.
From: Hongsheng Zhao (zhaohscas_at_[hidden])
Date: 2012-07-18 01:17:44


Hi all,

After compiling openmpi using intel parallel studio, I've seen the
following bashrc settings by others:

----------------
source /home/zhanqgp/intel/composerxe/bin/compilervars.sh intel64
source /home/zhanggp/intel/composerxe/mkl/bin/mklvars.sh intel64 lp64
export PATH=/home/zhanggp/software/openmpi-1.4.5/bin:$PATH
expott
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/zhanggp/software/openmpi-1.4.5/lib
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
----------------

Could you please give me some hints the OMP_NUM_THREADS and
MKL_NUM_THREADS used in bashrc file? Must I use them? Thanks in advance.

Regards

-- 
Hongsheng Zhao <zhaohscas_at_[hidden]>
School of Physics and Electrical Information Science,
Ningxia University, Yinchuan 750021, China