[mpich2-dev] -nolocal option

Dave Goodell goodell at mcs.anl.gov
Fri Jul 8 16:35:20 CDT 2011


Was that the option to MPD's mpiexec that said "don't launch any processes on the local node, even though the local node is in the MPD ring"?

If so, then hydra just doesn't need such an option.  Simply don't include the local/head node in the machinefile and hydra won't launch any processes there.

Or are you trying to obtain the effect of setting the "MPICH_NOLOCAL" environment variable to "1"?  That says don't use shared memory to communicate between processes on the same node.

-Dave

On Jul 8, 2011, at 4:29 PM CDT, John Marshall wrote:

> Hi,
> 
> From what I can tell, there is no longer a nolocal option. For what I am doing, I currently need this kind of functionality since the entries in my "machines" list are not actual machine names but labels. I have made a quick change to src/pm/hydra/utils/sock/sock.c so that if an env var is set, all machines are treated as non-local (*is_local = 0).
> 
> I know I'm late to the party on this, but can someone explain why the -nolocal option was removed. Or, maybe I have missed something to get this functionality, i.e., to pass the machine name/label to the launcher as is without any complaints/errors and let the launcher interpret.
> 
> Thanks,
> John



More information about the mpich2-dev mailing list