FW: [MPICH] mpich2: smpd phrase missing? - set SMPD_OPTION_NO_DYNAMIC_HOSTS

Jayesh Krishna jayesh at mcs.anl.gov
Mon Feb 11 11:59:42 CST 2008


> -----Original Message-----
> From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
> Sent: Friday, February 08, 2008 3:59 PM
> To: 'Stefan Becuwe'
> Subject: RE: [MPICH] mpich2: smpd phrase missing? - set 
> SMPD_OPTION_NO_DYNAMIC_HOSTS
> 
>  Hi,
>   I have fixed some bugs in the code. Now, with the upcoming 
> latest release (1.0.7 - available in couple of weeks - or you 
> could extract the latest source from svn) you should be able 
> to set the environment variable, 
> SMPD_OPTION_NO_DYNAMIC_HOSTS, to 1 and inform smpd daemons 
> not to update (add dynamic hosts) the smpd config file. Since 
> multiple smpd daemons don't update the config file (with the 
> prev env var set) you don't need different conf files for the 
> daemons (all daemons can share the .smpd config file in your 
> shared home directory)
>   So this is what you would have to do,
> 
> 1) Set the environment variable SMPD_OPTION_NO_DYNAMIC_HOSTS 
> to 1 (In all the nodes).
> 2) Create .smpd file in your HOME directory (possibly shared 
> across nodes) with the passphrase (The only line in the smpd 
> config file should be the passphrase, phrase=myphrase. Delete 
> any other lines in the config file)
> 3) Start smpd, smpd -s, in each node (Note that you no longer 
> need to specify the smpd config file as an option here) .
> 4) Run mpiexec, mpiexec -n 2 -machinefile mf.txt cpi  (Note 
> that you no longer need to specify the smpd config file as an 
> option here) .
> 
> Regards,
> Jayesh
> 
> -----Original Message-----
> From: Stefan Becuwe [mailto:stefan.becuwe at ua.ac.be]
> Sent: Monday, January 21, 2008 5:30 PM
> To: Jayesh Krishna
> Subject: RE: [MPICH] mpich2: smpd phrase missing? - did you 
> specify -smpdfile for smpd&mpixec ?
> 
> 
> > Have you specified the "-smpdfile a_copy_of_my_smpd_file" 
> option for 
> > smpd & mpiexec ? The MPICH2 user's guide 
> > 
> (http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.p
> > hp?s=d
> > ocs) contains information about the different options 
> available with 
> > mpiexec/smpd.
> 
> Isn't there a possibility that a user defines his own 
> smpdfile (or none), without having to change the "system" 
> defaults for smpd?  FYI: I'm using GridEngine (and Reuthi's 
> tight integration scripts).  As far as I understand, this 
> would imply again 1 specific smpdfile for all daemons... 
> which leads to locking problems.  Or is there a simpler setup 
> (for GridEngine)?
> 
> Regards
> 
> 
> Stefan

> 
> 




More information about the mpich-discuss mailing list