From: tendus@rpi.edu (Saurabh S. Tendulkar)
Newsgroups: comp.parallel.mpi
Subject: MPI ch_p4 command line args
Date: 19 Mar 1999 18:45:43 GMT
Organization: Rensselaer Polytechnic Institute, Troy NY, USA
Message-Id: <7cu60n$n6g$1@newsfeeds.rpi.edu>
Xref: ukc comp.parallel.mpi:4786


I am trying to use mpich (1.1.2) for ch_p4. I need to give my executable
one command line argument, which somehow I am not able to provide. 
I ran 
mpirun -p4pg PI <exec> <arg>
with PI containing
<machine> 0 <exec> <arg>
<machine> 1 <exec> <arg>
and variants of this;

and also mpirun -np 2 <exec> <arg>. 

The code (proc #2 i think) tries to make <machine> as <arg>. 

The argv's look completely all right for the master:
<exec-path>
<arg>
-p4pg
<PI-path>
-p4wd
<pwd>

but not for the slave:
<exec-path>
<machine>
<some pid>
-p4amslave

Can anyone help me with how to get around this ? Thanks.
Incidentally, everything works fine with ch_shmem.

TIA
Saurabh

-- 

