[mvapich-discuss] Can I start a job using mpirun_rsh without
using ethernet?
Jonathan Perkins
perkinjo at cse.ohio-state.edu
Mon Aug 10 14:18:50 EDT 2009
On Mon, Aug 10, 2009 at 11:37:55AM -0600, Craig Tierney wrote:
> 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.
> >
>
> It turns out that the reason I couldn't launch jobs over the IB
> was that in mpirun_rsh.c, it uses gethostname to set the host
> for the MPISPAWN_MPIRUN_HOST setting which gets passed to all children.
>
> I put a hack in there to use the ib interface and I get what I want.
>
> One more question... If mpirun_rsh is supposed to use a tree to launch
> the job, why does every child first connected back to the MPISPAWN_MPIRUN_HOST
> host directly and pass information before the tree part starts up?
When mpispawn launches further mpispawns (creating a tree) it overrides
the value of MPISPAWN_MPIRUN_HOST so that its children will talk to it
instead of the root node.
>
> Craig
>
>
> --
> Craig Tierney (craig.tierney at noaa.gov)
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
--
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20090810/8e7edd94/attachment.bin
More information about the mvapich-discuss
mailing list