Thanks a lot Camilo and Pavan.<br><br>I had mpich2-1.2.1p1 and did not have hostlist parameter, I am trying out the 1.3 version now, will update if I get any problem.<br><br>Best,<br clear="all"><br>- Rajnish.<br>
<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 7:39 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Please note that some of these features are added after mpich2-1.2.1p1 was released (such as the hostlist parameter).<br>
<br>
But if you are feeling adventurous today, read on :-).<br>
<br>
You can pick the Hydra version from mpich2-1.3b1 (<a href="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.3b1/hydra-1.3b1.tar.gz" target="_blank">http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.3b1/hydra-1.3b1.tar.gz</a>) and use it to run applications compiled with mpich2-1.2.1p1.<br>
<br>
Building this new Hydra separately will give you an "mpiexec" and some other executables files, which you can directly use with your existing 1.2.1p1 application. Just have the "--prefix" point to your existing MPICH2's install location.<br>
<br>
-- Pavan<div class="im"><br>
<br>
On 08/19/2010 06:09 PM, Camilo Rostoker wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
I asked this question just a few days ago and Pavan suggested the<br>
following which worked for me:<br>
<br>
<br>
host/hosts/hostlist is a global parameter that affects all executables.<br>
Can you try this:<br>
<br>
% mpiexec -hostlist node01:5,node02:4,node03:2 -n 5 ./exec1 : -n 4<br>
./exec2 : -n 2 ./exec3<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Thu, Aug 19, 2010 at 5:03 PM, Rajnish <<a href="mailto:rajnish@cc.gatech.edu" target="_blank">rajnish@cc.gatech.edu</a><br></div><div class="im">
<mailto:<a href="mailto:rajnish@cc.gatech.edu" target="_blank">rajnish@cc.gatech.edu</a>>> wrote:<br>
<br>
Hi,<br>
<br>
Is it possible to use mpiexec.hydra to start a task on a specific node?<br>
<br>
Something like:<br>
<br>
mpiexec -host node1 task1<br>
<br>
But I would like to use mpiexec.hydra to have the above effect?<br>
<br>
Thanks in advance,<br>
- Raj.<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br></div>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a> <mailto:<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a>><div class="im"><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></blockquote><font color="#888888">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a></font><div><div></div><div class="h5"><br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</div></div></blockquote></div><br>