<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hi Lei,<br>thanks a bunch, my problem has been solved . . .<br>actually i had seen that machine file option in help, but i did't find much(how to spacify)<br>about it in man mpiexec <br>thanks & regards,<br><div> <span style="color: rgb(0, 128, 255);">Nilesh Awate</span><br style="color: rgb(0, 128, 255);"></div><span style="font-weight: bold; color: rgb(64, 160, 255);"><span style="color: rgb(0, 128, 255);">C-DAC R&D<br><br></span></span><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: LEI CHAI <chai.15@osu.edu><br>To: nilesh awate <nilesh_awate@yahoo.com><br>Cc: mvapich-discuss@cse.ohio-state.edu<br>Sent:
Tuesday, 1 January, 2008 12:37:56 AM<br>Subject: Re: [mvapich-discuss] different mpiexec options<br><br>Hi Nilesh,<br><br>You can map processes to machines by using the -machinefile option. For
example, suppose you have four nodes, m[1-4], and you want to run 4
processes on a single node, say m1, without modifying mpd.hosts you can
run the program like this:<br><br>$ mpiexec -machinefile ./mf -n 4 ./a.out<br><br>where mf is a file containing the machine mapping, e.g.<br><br>$ cat mf<br>m1<br>m1<br>m1<br>m1<br><br>And if you want to run 4 processes on 2 nodes, then mf may look like
this:<br><br>$ cat mf<br>m1<br>m2<br>m1<br>m2<br><br>More information about running mvapich2 can be found from mvapich2 user
guide:<br><br><a href="http://mvapich.cse.ohio-state.edu/support/user_guide_mvapich2.html" target="_blank">http://mvapich.cse.ohio-state.edu/support/user_guide_mvapich2.html</a><br><br>Thanks,<br>Lei<br><br>Content-Type: multipart/alternative;
boundary="0-2031564087-1199096938=:11089"<br><br><br>--0-2031564087-1199096938=:11089<br>Content-Type: text/plain; charset=utf-8<br>Content-Transfer-Encoding: quoted-printable<br><br>Hi all,=0A=0AI'm using mvapich2-1.0.1 with OFED1.2 udapl stack=0Ai've
setup=<br> 4 nodes & using them.=0Abut when i run foll commmand=0Ampiexec -n 4
./mpit=<br>st=0Ampitst get executed all 4 nodes . . .=0Acan i restrict its
execution t=<br>o only 2 nodes( without reducing node number in mpd.hosts))=0Aby
spacifying=<br> option while running mpiexec ?=0Awhich different option we can give to
mpi=<br>exec ?=0Asuupose i want to run 4 instance of executable on single node
havi=<br>ng quadra core cpu=0Ahow can i tell it to mpiexec to run it on single
node =<br>,let the other node remain idle.=0A=0Awaiting for reply=0Aregards,=0A
Niles=<br>h Awate=0AC-DAC R&D=0A=0A=0A=0A=0A=0A=0A Get the freedom to save
as ma=<br>ny mails as you wish. To know how, go to
<a href="http://help.yahoo.com/l/in/yahoo/m=" target="_blank">http://help.yahoo.com/l/in/yahoo/m=</a><br>ail/yahoomail/tools/tools-08.html<br>--0-2031564087-1199096938=:11089<br>Content-Type: text/html; charset=utf-8<br>Content-Transfer-Encoding: quoted-printable<br><br><html><head><style type=3D"text/css"><!-- DIV {margin:0px;}
--></style></he=<br>ad><body><div style=3D"font-family:times new roman, new york, times,
serif;=<br>font-size:12pt">Hi all,<br><br>I'm using mvapich2-1.0.1 with OFED1.2
udapl =<br>stack<br>i've setup 4 nodes &amp; using them.<br>but when i run foll
commma=<br>nd<br>mpiexec -n 4 ./mpitst<br>mpitst get executed all 4 nodes . .
.<br><sp=<br>an style=3D"font-weight: bold;">can i restrict its execution to only 2
node=<br>s( without reducing node number in mpd.hosts))<br></span>by spacifying
opti=<br>on while running mpiexec ?<br>which different option we can give to
mpiexec=<br> ?<br>suupose i want to run 4 instance of executable on single node
having =<br>quadra core cpu<br>how can i tell it to mpiexec to run it on single
node ,l=<br>et the other node remain idle.<br><br>waiting for
reply<br>regards,<br>&nbs=<br>p;<span style=3D"font-weight: bold; color: rgb(64, 160, 255);"><span
style=<br>=3D"color: rgb(0, 128, 255);">Nilesh Awate</span><br style=3D"color:
rgb(0,=<br> 128,<br> 255);"><span style=3D"color: rgb(0, 128, 255);">C-DAC
R&amp;D<br><br></spa=<br>n></span><div><br></div></div><br>=0A=0A=0A <!--10--><hr
size=3D1></hr=<br>> Chat on a cool, new interface. No download required.. <a
href=3D"<a href="http://in=" target="_blank">http://in=</a><br>..rd.yahoo.com/tagline_webmessenger_10/*<a href="http://in.messenger.yahoo.com/webmes=" target="_blank">http://in.messenger.yahoo.com/webmes=</a><br>sengerpromo.php">Click here.</a></body></html><br>--0-2031564087-1199096938=:11089--<br></div><br></div></div><br>
<!--10--><hr size=1></hr> Chat on a cool, new interface. No download required. <a href="http://in.rd.yahoo.com/tagline_webmessenger_10/*http://in.messenger.yahoo.com/webmessengerpromo.php">Click here.</a></body></html>