Re: [Myricom help #17673] MPICH-GM problem: cannot run multiple executables in one job

Patrick Geoffray <[email protected]> 19 Mar 2003 22:26:59 -0500
Newsgroups gmane.network.myrinet.general
Message-ID <1048130823.504.44.camel@asterix>
Hi Shubin,

First of all, it's much more efficient (and less noisy) for everybody to
send technical support questions to [email protected].

On Wed, 2003-03-19 at 21:26, Shubin Liu wrote:
> simple tests seemingly run okay, we have had one major issue: it cannot
> run multiple copies of an execuable in one single job. For example, for
> the simplest cpi test code, if you put multiple copies in one script file:

2 things:
* you need to use mpirun.ch_gm (or mpirun) to spawn MPICH-GM processes.
You cannot spawn them by hand.
* You can only spawn an executable with mpirun.ch_gm, not a script
(actually this is not completely true but let's assume it).

So if you want to spawn multiple jobs in one script, you can do:

#!/bin/csh

mpirun.ch_gm -np 2 cpi
echo "this is the 2nd run"
mpirun.ch_gm -np 2 cpi


Patrick
-- 

Patrick Geoffray, PhD
Myricom, Inc.
http://www.myri.com