Newsgroups: comp.parallel.mpi
From: patrick@walt.CS.MsState.Edu (Patrick G. Bridges)
Subject: Re: MPI/P4 Connection Problem
Organization: Mississippi State University CS Dept.
Date: 26 Jul 1994 19:58:27 GMT
Message-ID: <PATRICK.94Jul26145827@walt.CS.MsState.Edu>

>>>>> "SD" == Shawn Dawson <shawn@concannon.llnl.gov> writes:
In article <3110pt$ohj@lll-winken.llnl.gov> shawn@concannon.llnl.gov (Shawn Dawson) writes:


    SD> O.K., I've tried everything I can think of but I can't solve
    SD> this little problem.

    SD> I have MPI (using P4 underneath) installed on a network of 8
    SD> SGI's.  I cannot get the procgroup file to run the process on
    SD> more than 1 workstation.  my procgroup file looks like

        local 0 
        alydar.llnl.gov 1

Here's your problem. The p4 procgroup files must contain the name of the 
program to run on the _remote_ machines, so, your procgroup file should say:

        local 0 
        alydar.llnl.gov 1 /foo/bar/spam/cpi

***

If you have the latest version (July 22), you can use mpirun (as
described in the README) to start simple parallel MPI jobs.  In your
case, in <installdir>/util/machines/machines.IRIX, you would put a
list of the names of the different SGI machines you want to run on.
then, when you invoke

mpirun -mr_np <number_of_processes> <program name>

mpirun should automatically build a procgroup file for you. If it
doesn't work, let me know. In your case, you would say:

mpirun -mr_np 2 cpi

(make sure mpirun is in your path)

Mpirun should also work for the paragon (when it's not running NQS),
the meiko CS-2, the p4 device (called ch_p4 in the implementation) on
any workstation cluster, and any chameleon-based device. If you are
using the chameleon device, you still have to set up chameleon's host
database. I prefer a plain p4 device, myself, since you don't have to
install chameleon, and once you get mpirun set up, you don't have to
write procgroup files, but you can if you want to customize which
machines you run on.

						Patrick Bridges
						bridges@mcs.anl.gov
						patrick@cs.msstate.edu


--
*** Patrick G. Bridges  		patrick@CS.MsState.Edu ***
***      PGP 2.6 public key available via finger or server     ***
***             PGP 2.6 Public Key Fingerprint:		       ***
***      D6 09 C7 1F 4C 18 D5 18  7E 02 50 E6 B1 AB A5 2C      ***
***                #include <std/disclaimer.h>		       ***

