<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=312052504-05072009><FONT color=#0000ff
size=2 face=Arial>There is nothing that will make a global variable
automatically visible to all processes without you actually communicating the
variable.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=312052504-05072009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=312052504-05072009><FONT color=#0000ff
size=2 face=Arial>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Divya
Dinakar<BR><B>Sent:</B> Saturday, July 04, 2009 6:13 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] global variable
behavior<BR></FONT><BR></DIV>
<DIV></DIV>Hi,
<DIV><BR></DIV>
<DIV>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).</DIV>
<DIV><BR></DIV>
<DIV>Is it possible to do so using something like MPI_Comm_keyval_create? Is
there any other way of achieving this? </DIV>
<DIV><BR></DIV>
<DIV>Thanks,</DIV>
<DIV>Divya</DIV>
<DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>