In addition to that, let me pile on to what Michael Heinz said (he suggested
you use "... --mca btl_base_verbose 100 ..." In your mpirun command line).
Short version:
Try "mpirun --mca pml_base_verbose 100 --mca btl_base_verbose 100 ..." I.e.,
add in the bit about pml_base_verbose.
If you see
I'm not an OMPI person, just one of the users, but you can have the code I use
to verify that my build is using the Infiniband network. You may need to
change the path to the Infiniband counters. It uses OpenSHMEM but you can
convert it MPI or whatever you use for parallel codes.
// Compile
btl_base_verbose may do what you need. Add it to your mpirun arguments. For
example:
[LINUX hds1fna2271 20200116_1404 mpi_apps]#
/usr/mpi/gcc/openmpi-3.1.6/bin/mpirun -np 2 -map-by node --allow-run-as-root
-machinefile /usr/src/opa/mpi_apps/mpi_hosts -mca btl self,openib,vader -mca