[MPICH] Running different program names with mpirun

Luiz Carlos da Costa Junior lcjunior at ufrj.br
Tue Feb 19 18:21:56 CST 2008


Hi, Jayesh and Rajeev

Sorry for the delay, we were migrating to MPICH2.
No further problems until now.

Thanks again,
LC

On Feb 7, 2008 7:40 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:

>  You could pass a colon-separated list to mpiexec as follows
>
> mpiexec -n 1 -host machine1 master.exe : -n 4 -host machine1 slave.exe :
> -n 4 -host machine2 slave.exe
>
> Rajeev
>
>  ------------------------------
> *From:* owner-mpich-discuss at mcs.anl.gov [mailto:
> owner-mpich-discuss at mcs.anl.gov] *On Behalf Of *Luiz Carlos da Costa
> Junior
> *Sent:* Thursday, February 07, 2008 3:16 PM
> *To:* MPICH Discuss
> *Subject:* [MPICH] Running different program names with mpirun
>
> Hi,
>
> I have a MPI program that works well under Windows and right now I am
> extending this application to run under Linux.
> But I faced one little problem using mpirun.
>
> Under Windows, I use to start my application from command line using
> mpirun for mpd, like this:
> *>> mpirun cluster.dat*
>
> And cluster.dat file has the list of machines, number of process in each
> machine and applications that should run.
> The content o cluster.dat file looks like this:
> *args par
> hosts
> machine1 1 //machine1/app/master.exe
> **machine1** 4 **//machine1/app/slave.exe*
> *machine2** 4 **//machine1/app/slave.exe*
>
> As you can see, I have 1 master process and n slaves, but in different
> executables.
> I would like use mpirun in the same way, but I didn't find how to do it.
>
> Is there something similar to MPD for Linux ou another way to do it?
> What should I do?
>
> Thanks in advance,
> LC
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080219/b50a3246/attachment.htm>


More information about the mpich-discuss mailing list