<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&nbsp; find much(how to spacify)<br>about it in man mpiexec <br>thanks &amp; regards,<br><div>&nbsp;<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&amp;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 &lt;chai.15@osu.edu&gt;<br>To: nilesh awate &lt;nilesh_awate@yahoo.com&gt;<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 &amp; 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&amp;D=0A=0A=0A=0A=0A=0A=0A&nbsp; &nbsp; &nbsp; 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>&lt;html&gt;&lt;head&gt;&lt;style type=3D"text/css"&gt;&lt;!-- DIV {margin:0px;}
 --&gt;&lt;/style&gt;&lt;/he=<br>ad&gt;&lt;body&gt;&lt;div style=3D"font-family:times new roman, new york, times,
 serif;=<br>font-size:12pt"&gt;Hi all,&lt;br&gt;&lt;br&gt;I'm using mvapich2-1.0.1 with OFED1.2
 udapl =<br>stack&lt;br&gt;i've setup 4 nodes &amp;amp; using them.&lt;br&gt;but when i run foll
 commma=<br>nd&lt;br&gt;mpiexec -n 4 ./mpitst&lt;br&gt;mpitst get executed all 4 nodes . .
 .&lt;br&gt;&lt;sp=<br>an style=3D"font-weight: bold;"&gt;can i restrict its execution to only 2
 node=<br>s( without reducing node number in mpd.hosts))&lt;br&gt;&lt;/span&gt;by spacifying
 opti=<br>on while running mpiexec ?&lt;br&gt;which different option we can give to
 mpiexec=<br> ?&lt;br&gt;suupose i want to run 4 instance of executable on single node
 having =<br>quadra core cpu&lt;br&gt;how can i tell it to mpiexec to run it on single
 node ,l=<br>et the other node remain idle.&lt;br&gt;&lt;br&gt;waiting for
 reply&lt;br&gt;regards,&lt;br&gt;&amp;nbs=<br>p;&lt;span style=3D"font-weight: bold; color: rgb(64, 160, 255);"&gt;&lt;span
 style=<br>=3D"color: rgb(0, 128, 255);"&gt;Nilesh Awate&lt;/span&gt;&lt;br style=3D"color:
 rgb(0,=<br> 128,<br> 255);"&gt;&lt;span style=3D"color: rgb(0, 128, 255);"&gt;C-DAC
 R&amp;amp;D&lt;br&gt;&lt;br&gt;&lt;/spa=<br>n&gt;&lt;/span&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;=0A=0A=0A&nbsp; &nbsp; &nbsp; &lt;!--10--&gt;&lt;hr
 size=3D1&gt;&lt;/hr=<br>&gt; Chat on a cool, new interface. No download required.. &lt;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"&gt;Click here.&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;<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>