[mvapich-discuss] Can I start a job using mpirun_rsh without using ethernet?

Craig Tierney Craig.Tierney at noaa.gov
Wed Jul 29 17:45:14 EDT 2009


Jonathan Perkins wrote:
> On Wed, Jul 29, 2009 at 02:36:41PM -0600, Craig Tierney wrote:
>> I am trying to figure out how to launch a job with mpirun_rsh
>> without using the ethernet.  If I specify the IBoIP addresses
>> in my machine file, then mpispawn is launched over the IB.
>> However, mpispawn still connects using the ethernet host names.
> 
> In order to do this then the hostname returned by gethostbyname would
> have to negotiate to the IPoIB address for that host.  It sounds like
> this is not the case in your setup.

Is it that gethostbyname needs to resolve properly, or gethostname does?
I wrote a small test and if you pass a IB host name, such as h1-ib0,
that is resolves correctly.  There is a place in mpispawn that calls gethostname
and that would resolved to the ethernet address given the current configuration.
I can't tell from the code path if that is used to communicate between
hosts during the mpispawn setup or not.

Thanks,
Craig


> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss


-- 
Craig Tierney (craig.tierney at noaa.gov)


More information about the mvapich-discuss mailing list