Page 1 of 1
mpirun -np 4, but all my 8 CUPs are runing 100%
Posted: Fri Apr 08, 2011 2:54 am
by dyc_2008
dear all
I got the problem when use the parallel version
the four input files are ok,which can be executed ,perfectly,by the serial version。
my platform
intel XOEN 5506
redhat 6.0 64 verision
intel compiler 64
intel mke 64 version
openmpi
mpirun -np 4, but all my 8 CUPs are runing 100%
Posted: Fri Apr 15, 2011 3:39 pm
by un2
Probably you use the mkl libraries with openmp flavor. You can confirm this with
"ps -eLf | grep vasp" or "top" by pressing "H". The other variant is to limit the
number of openmp processes with "export OMP_NUM_THREADS=1" (in the bash). To get the correct compile options for using mkl and mpi but not openmp for *your* mkl version
http://software.intel.com/en-us/article ... e-advisor/
is very helpful. You have to choose "sequential" in the field
"Select sequential or multi-threaded version of Intel® MKL:"
To use openmpi you have to substitute -lmkl_blacs_intelmpi_lp64 with -lmkl_blacs_openmpi_lp64. In my case (ifort 11.1.069 and the resp. mkl) it works. Hope that helps to compile an openmp-free code. Otherwise you can
use the OMP_NUM_THREAD=1 option in the runtime environmen.
U.
mpirun -np 4, but all my 8 CUPs are runing 100%
Posted: Sun Apr 17, 2011 1:28 pm
by dyc_2008
thank you
it works