[MPICH] grid computing, passing envirnoment variables using mpirun

Stephen Wornom Stephen.Wornom at sophia.inria.fr
Tue Mar 21 07:15:38 CST 2006


I want to set envirnoment variables for grid computations using mpich without globus.
Can I do this with mpich?

In the following example, the envirnoment variable LD_LIBRARY_PATH is set for the processors on the cluster from which the mpirun was executed but not for the processors of the other clusters.

#!/bin/sh
...
export LD_LIBRARY_PATH=/home/sophia/swornom/mypgi_64/

mpirun -np $N -machinefile $MY_NODES -no-local ~/Multiple_sites_FastMP/aero_f90_32bit.x


mpirun/LAM has a '-x' option to do that. Is there an equivalent option using mpich?
Stephen




More information about the mpich-discuss mailing list