mpirun -np 4, but all my 8 CUPs are runing 100%

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
dyc_2008
Newbie
Newbie
Posts: 49
Joined: Tue May 25, 2010 9:03 am

mpirun -np 4, but all my 8 CUPs are runing 100%

#1 Post by dyc_2008 » Fri Apr 08, 2011 2:54 am

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
Last edited by dyc_2008 on Fri Apr 08, 2011 2:54 am, edited 1 time in total.

un2
Newbie
Newbie
Posts: 2
Joined: Fri Apr 15, 2011 3:16 pm
License Nr.: 5-863

mpirun -np 4, but all my 8 CUPs are runing 100%

#2 Post by un2 » Fri Apr 15, 2011 3:39 pm

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.
Last edited by un2 on Fri Apr 15, 2011 3:39 pm, edited 1 time in total.

dyc_2008
Newbie
Newbie
Posts: 49
Joined: Tue May 25, 2010 9:03 am

mpirun -np 4, but all my 8 CUPs are runing 100%

#3 Post by dyc_2008 » Sun Apr 17, 2011 1:28 pm

thank you
it works
Last edited by dyc_2008 on Sun Apr 17, 2011 1:28 pm, edited 1 time in total.

Post Reply