[mpich-discuss] Question

"Antonio J. Peña" apenya at mcs.anl.gov
Thu Feb 27 11:26:52 CST 2014


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 at 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 at mcs.anl.gov
www.mcs.anl.gov/~apenya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140227/79f72973/attachment.html>


More information about the discuss mailing list