[MPICH] Run a wrapped command with MPI

Matias Alberto Gavinowich mattlistas at gmail.com
Mon May 14 14:43:24 CDT 2007


Hello:

I am having the following problem.

I can run a comand through mpi invoking:

mpirun -np 2 ./cpi   (I am using my machines.LINUX default file).

Two processes are started, as expected.

Then, I write a wrapper script that looks like:

#!/bin/sh
./cpi             (I also tried with a full path)

and I run:

mpirun -np 2 ./cpiwrapper

Only one process is started in this case.

The trick is I need it to work with a wrapper, because jobmanager-pbs
from globus invokes it this way (with a wrapper script).

AFAIK, I am running MPICH1.

Has anyone come accross this?

Thank you,

Matt




More information about the mpich-discuss mailing list