LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Michael Sabielny (sabielny_at_[hidden])
Date: 2003-07-09 05:57:27


Am Mittwoch, 9. Juli 2003 11:38 schrieb Maiko Wessel:
> I try to access environment virables under Linux in a function with getenv.
> When i start a standalone program i get the value, but when i do the call
> in a MPI programm i get only NULL.
>
> Do MPI hide the environment variables?
>
> Thanks,
> M.Wessel

This may happen if you set the variable FOO in konsole 1 and start your
program accessing FOO from konsole 2. Are you sure that the variables are
visible at all or exported manually?

Michael