In a homogeneous execution all MPI processes should have the same
environment variables. If that's not your case, maybe you could
consider just reading it by means of a call to getenv and using
MPI sends/receives/collectives/one-sided. You can afterwards
setenv it if that's what you want.
Antonio
On 02/27/2014 11:23 AM, Ramesh Vinayagam wrote:
Hi,
How do I send enviroment variables to a spawned process
spawned using MPI_Comm_spawn. I tried to use MPI_Info, but
it doesn't seem to work. Does anyone have a example that I
could look at.
Please let me know,
Thanks
Ramesh
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
--
Antonio J. Peña
Postdoctoral Appointee
Mathematics and Computer Science Division
Argonne National Laboratory
9700 South Cass Avenue, Bldg. 240, Of. 3148
Argonne, IL 60439-4847
apenya@mcs.anl.gov
www.mcs.anl.gov/~apenya