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
|