[mpich-discuss] unbalanced task distribution on SMP nodes

Ping Luo pingluo at sc.tamu.edu
Thu May 13 09:06:39 CDT 2010


Hi,

I am recently testing an MPI code with mpich2. The code and mpich2 
were compiled with gcc. I tried to run the code on two nodes, each
with 8 cores, hoping that each node will have 8 tasks. However, one
node ended up with 11 tasks and the other 5, very unbalanced. The 
commands that I launched the code are as follow:

$ mpdboot -n 2 -v -f mpd.hosts
$ mpiexec -n 16 my_prog.exe
$ mpdallexit


$ more mpd.hosts 
node001:8
node002:8



What has gone wrong and how to make 8 tasks per node?


Please help,



-- 
Ping



More information about the mpich-discuss mailing list