<!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> Hi,<BR>
The "SMPD_OPTION_NO_DYNAMIC_HOSTS" option should be available in the latest stable release of MPICH2, 1.0.8.<BR>
Can you retry by deleting all entries in your existing smpd config 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 nightly tests we create the smpd config file in the shared (shared among multiple machines) home directory of the user & set the "SMPD_OPTION_NO_DYNAMIC_HOSTS".<BR>
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 "no_dynamic_hosts" 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>
> Please set the environment variable "SMPD_OPTION_NO_DYNAMIC_HOSTS"<BR>
> to 1 before starting smpd to prevent smpd from updating the<BR>
> dynamic_hosts in smpd config file.<BR>
> Let us know if it works for you.<BR>
><BR>
> (PS: As you mentioned in your email there is a race condition when<BR>
> updating dynamic hosts in the smpd config file - this is not handled<BR>
> correctly in the current code base. We set the above environment<BR>
> variable in our nightly tests.)<BR>
><BR>
<BR>
thx for replying. Unfortunately it seems not to work. I also don't find "SMPD_OPTION_NO_DYNAMIC_HOSTS" 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>