Hi,

you can try
mpirun --mca pml ob1 --mca btl tcp,self ...


pml/cm has a higher priority than pml/ob1, so if you have a mtl that
fits your network (such as mtl/mxm),
then pml/ob1 will be ignored, and the list of allowed/excluded btl
become insignificant.

Cheers,

Gilles

On Wed, Aug 16, 2017 at 8:57 PM, Maksym Planeta
<mplan...@os.inf.tu-dresden.de> wrote:
> Hello,
>
> I work with an Infiniband cluster, but I want to force OpenMPI to use
> specific network interface.
>
> I tried to do this for example using mpirun as follows:
>
> mpirun --map-by node --mca btl self,tcp  -np 16 bin/is.C.16
>
> But counters returned by /usr/sbin/perfquery still keep showing that
> transmission happens over ibverbs.
>
> There is an iboib module on a machine, but counters there (ip -s link)
> indicate that the ib0 interface is not used.
>
> Could you help me to figure out how to properly tell OpenMPI not to use
> ibverbs?
>
> I tried with Open MPI 2.1.0 and 1.10.2, but saw no difference in behavior.
>
>
> --
> Regards,
> Maksym Planeta
>
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to