“ibface” isn’t an OpenMPI cmd line option, so I suspect you are using something 
other than OpenMPI. For OMPI, you could specify the interface via MCA param in 
the environment or default MCA parameter file. Most MPI implementations have a 
similar mechanism - you might check your documentation.


> On Oct 24, 2017, at 6:48 PM, Doug Meyer <dameye...@gmail.com> wrote:
> 
> Hi,
> 
> I believe that if you are using OpenMPI you can declare the interface.  By 
> default it should select the fastest interface on the system.  This FAQ may 
> be of help.  https://www.open-mpi.org/faq/?category=tcp 
> <https://www.open-mpi.org/faq/?category=tcp>
> 
> If I have misunderstood the problem I apologize.  best of luck!
> 
> Doug
> 
> On Tue, Oct 24, 2017 at 1:00 PM, Sebastian Eastham <seast...@mit.edu 
> <mailto:seast...@mit.edu>> wrote:
> Dear Slurm Developers mailing list,
> 
> 
> When calling the “srun” command, is there any way to specify the desired 
> network interface? Our network is a mix of ethernet and inifiniband, such 
> that only a subset of the nodes have an infiniband interface. When using 
> “mpirun” we can specify “-iface ib0”, but there does not appear to be a 
> similar option for “srun”. Although we can successfully run our applications 
> with “srun”, we can see from “iftop” that the application is communicating 
> purely through the ethernet interface.
> 
>  
> 
> Once again, I appreciate any help or guidance that you can give me!
> 
> 
> Regards,
> 
>  
> 
> Seb
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> Dr. Sebastian D. Eastham
> 
> Research Scientist
> 
> Laboratory for Aviation and the Environment
> 
> Massachusetts Institute of Technology
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 
> 
>  
> 
>  
> 
> 

Reply via email to