<!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 duringstartup</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2> Hi,<BR>
Good to know its working for you now.<BR>
Let us know if you encounter any other problems.<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
-----Original Message-----<BR>
From: mpich-discuss-bounces@mcs.anl.gov [<A HREF="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</A>] On Behalf Of Reuti<BR>
Sent: Tuesday, November 25, 2008 12:22 PM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: Re: [mpich-discuss] Race condition when accessing ~/.smpd duringstartup<BR>
<BR>
Am 25.11.2008 um 17:25 schrieb Jayesh Krishna:<BR>
<BR>
> Hi,<BR>
> The "SMPD_OPTION_NO_DYNAMIC_HOSTS" option should be available in the<BR>
> latest stable release of MPICH2, 1.0.8.<BR>
> Can you retry by deleting all entries in your existing smpd config<BR>
> file (".smpd") and replacing it with a single line<BR>
><BR>
> phrase=MYPASSPHRASEFORSMPD<BR>
><BR>
> In the above setup SMPD should not be modifying the file. In our<BR>
> nightly tests we create the smpd config file in the shared (shared<BR>
> among multiple machines) home directory of the user & set the<BR>
> "SMPD_OPTION_NO_DYNAMIC_HOSTS".<BR>
><BR>
Okay, found it.<BR>
<BR>
Also before the mpiexec the above environment variable (i.e. in a new session/window on the node) it must also be set. I was already wondering, why only one host was mentioned in ~/.smpd since I set it, but not all other any longer.<BR>
<BR>
Once the entry ist there, the shutdown will also try to remove the entries, independent whether at time of shutdown the environment variable is set or not.<BR>
<BR>
Thx a lot, it's working now for me without any `sleep`command.<BR>
<BR>
-- Reuti<BR>
</FONT>
</P>
</BODY>
</HTML>