[Beowulf] MPICH Exporting environment variables.

William Gropp gropp at mcs.anl.gov
Tue Mar 16 15:14:58 EST 2004

At 05:09 PM 3/15/2004, Balaji Rangasamy wrote:
>Has anyone successfully exported any environment variables (specifically
>LD_PRELOAD) in MPICH? There is an easy way to do this with LAM/MPI; there
>is this -x switch in mpirun command that comes with LAM/MPI that will
>export the environment variable you specify to all the child processes. Is
>there any easy way to do this in MPICH?

It depends on the process manager/startup system that you are using with 
MPICH.  With the "p4 secure server", environment variables can be 
exported.  With the default ch_p4 device, environment variables are not 
exported.  Under MPICH2, most process managers export the environment to 
the user processes.


Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list