[MPICH] Selecting which ethernet interface to use

Jeff Squyres jsquyres at cisco.com
Wed Aug 22 20:51:49 CDT 2007


Greetings.

Is there a way to have MPICH2 select which ethernet interface to use  
if you are using SLURM to launch jobs?

I.e., I'm compiling and running my MPI application with:

	mpicc foo.c -L/path/to/slurm -lpmi -o foo
	srun -N num_nodes foo

This seems to always choose eth0, but I'd much rather have it use ib0  
(IP over InfiniBand).  Is there a way to make it use ib0?  I didn't  
see anything about this in the user guide.

Any insight would be appreciated; thanks.

-- 
Jeff Squyres
Cisco Systems




More information about the mpich-discuss mailing list