[MPICH] grid computing, passing envirnoment variables using mpirun
Rajeev Thakur
thakur at mcs.anl.gov
Tue Mar 21 11:13:17 CST 2006
In MPICH-1, I believe the environment variables have to be defined in your
.cshrc or .login startup files (on each node where the program runs). In
MPICH2, you can pass environment variables as parameters to mpiexec as
described in the Users Guide.
Rajeev
> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Stephen Wornom
> Sent: Tuesday, March 21, 2006 7:16 AM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] grid computing, passing envirnoment
> variables using mpirun
>
> 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