[mpich-discuss] global variable behavior

Rajeev Thakur thakur at mcs.anl.gov
Sat Jul 4 23:27:09 CDT 2009


There is nothing that will make a global variable automatically visible to all processes without you actually communicating the
variable.
 
Rajeev


  _____  

From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Divya Dinakar
Sent: Saturday, July 04, 2009 6:13 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] global variable behavior


Hi, 

I am trying to implement a scenario where I would need a set of processes to be aware of certain settings, something like a global
variable. I want to do this without using any communication or IO (like writing to a config file).

Is it possible to do so using something like MPI_Comm_keyval_create? Is there any other way of achieving this? 

Thanks,
Divya


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090704/750c8baf/attachment.htm>


More information about the mpich-discuss mailing list