[MPICH] About the methods of mapping the processes
Rajeev Thakur
thakur at mcs.anl.gov
Mon Aug 21 13:33:13 CDT 2006
You can create a text file, called FILE say, and specify the hostnames for
each rank in rank order. For your example "process 0,1,4 should run on node
0, and process 2,3,5 should run on node 1", the file would contain
-n 1 -host node0 a.out
-n 1 -host node0 a.out
-n 1 -host node1 a.out
-n 1 -host node1 a.out
-n 1 -host node0 a.out
-n 1 -host node1 a.out
Then you can run the program with
mpiexec -configfile FILE
Rajeev
________________________________
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of ??
Sent: Monday, August 21, 2006 2:47 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] About the methods of mapping the processes
Hi all,
I'm a newcomer.
I met a problem when I try to map different processes to
different nodes.
In MPICH2, how to map a designated process to a designated
node,for example,
process 0,1,4 should run in node 0, and process 2,3,5 should run in
node 1.
It is said that it should designate a file when we run "mpiexec".
This file may be a
process mapping table.But how to write the file, is there any
document?
Or should I change my parallel code to make it?
Any suggestion will be appreciated!
Thank you very much!
More information about the mpich-discuss
mailing list