<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] Race condition when accessing ~/.smpd during startup</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>&nbsp;Hi,<BR>
&nbsp; The &quot;SMPD_OPTION_NO_DYNAMIC_HOSTS&quot; option should be available in the latest stable release of MPICH2, 1.0.8.<BR>
&nbsp; Can you retry by deleting all entries in your existing smpd config file (&quot;.smpd&quot;) and replacing it with a single line<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phrase=MYPASSPHRASEFORSMPD<BR>
<BR>
&nbsp; In the above setup SMPD should not be modifying the file. In our nightly tests we create the smpd config file in the shared (shared among multiple machines) home directory of the user &amp; set the &quot;SMPD_OPTION_NO_DYNAMIC_HOSTS&quot;.<BR>
&nbsp; The smpd config file, .smpd, should be present in your $HOME directory (Do all the MPI processes/jobs share the same home directory ?).<BR>
<BR>
(PS: Search for &quot;no_dynamic_hosts&quot; in the source)<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: Reuti [<A HREF="mailto:reuti@staff.uni-marburg.de">mailto:reuti@staff.uni-marburg.de</A>]<BR>
Sent: Tuesday, November 25, 2008 10:10 AM<BR>
To: Jayesh Krishna<BR>
Cc: mpich-discuss@mcs.anl.gov<BR>
Subject: Re: [mpich-discuss] Race condition when accessing ~/.smpd during startup<BR>
<BR>
Hi,<BR>
<BR>
Am 25.11.2008 um 16:24 schrieb Jayesh Krishna:<BR>
&gt;&nbsp;&nbsp; Please set the environment variable &quot;SMPD_OPTION_NO_DYNAMIC_HOSTS&quot;<BR>
&gt; to 1 before starting smpd to prevent smpd from updating the<BR>
&gt; dynamic_hosts in smpd config file.<BR>
&gt;&nbsp;&nbsp; Let us know if it works for you.<BR>
&gt;<BR>
&gt; (PS: As you mentioned in your email there is a race condition when<BR>
&gt; updating dynamic hosts in the smpd config file - this is not handled<BR>
&gt; correctly in the current code base. We set the above environment<BR>
&gt; variable in our nightly tests.)<BR>
&gt;<BR>
<BR>
thx for replying. Unfortunately it seems not to work. I also don't find &quot;SMPD_OPTION_NO_DYNAMIC_HOSTS&quot; in the mpich2-1.0.8 source. Only in a subdirectory maint/checkbuilds where it's set to 1. Is the option only implemented in a later edition to be honored?<BR>
<BR>
-- Reuti<BR>
</FONT>
</P>

</BODY>
</HTML>