<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=939583822-07022008>You could pass a colon-separated list to mpiexec as
follows</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=939583822-07022008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>mpiexec -n 1 -host
machine1 master.exe : -n 4 -host machine1 slave.exe : -n 4 -host machine2
slave.exe</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=939583822-07022008><FONT face=Arial color=#0000ff
size=2>Rajeev</FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Luiz Carlos da
Costa Junior<BR><B>Sent:</B> Thursday, February 07, 2008 3:16 PM<BR><B>To:</B>
MPICH Discuss<BR><B>Subject:</B> [MPICH] Running different program names with
mpirun<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>I have a MPI program that works well under Windows and
right now I am extending this application to run under Linux.<BR>But I faced
one little problem using mpirun.<BR><BR>Under Windows, I use to start my
application from command line using mpirun for mpd, like this:<BR><B
style="FONT-FAMILY: courier new,monospace">>> mpirun
cluster.dat</B><BR><BR>And cluster.dat file has the list of machines, number
of process in each machine and applications that should run.<BR>The content o
cluster.dat file looks like this:<BR><I
style="FONT-FAMILY: courier new,monospace"><B>args par<BR>hosts<BR>machine1 1
//machine1/app/master.exe<BR></B></I><I
style="FONT-FAMILY: courier new,monospace"><B>machine1</B></I><I
style="FONT-FAMILY: courier new,monospace"><B> 4 </B></I><I
style="FONT-FAMILY: courier new,monospace"><B>//machine1/app/slave.exe</B></I><BR><I
style="FONT-FAMILY: courier new,monospace"><B>machine2</B></I><I
style="FONT-FAMILY: courier new,monospace"><B> 4 </B></I><I
style="FONT-FAMILY: courier new,monospace"><B>//machine1/app/slave.exe</B></I><BR><BR>As
you can see, I have 1 master process and n slaves, but in different
executables.<BR>I would like use mpirun in the same way, but I didn't find how
to do it.<BR><BR>Is there something similar to MPD for Linux ou another way to
do it?<BR>What should I do?<BR><BR>Thanks in
advance,<BR>LC<BR></BLOCKQUOTE></BODY></HTML>