hpcugent / vsc-mympirun

mympirun is a tool to facilitate running MPI programs on an HPC cluster
GNU General Public License v2.0
6 stars 9 forks source link

use UCX as PML with OpenMPI 4.x and newer, if ompi_info reports it as supported #171

Closed boegel closed 4 years ago

boegel commented 4 years ago

The OpenMPI 4.0.3 we have as a part of foss/2020a no longer supports openib as BTL, because it was built with support for UCX (see https://github.com/easybuilders/easybuild-easyblocks/pull/2188).

The changes in vsc/mympirun/mpi/openmpi.py make sure that --mca pml ucx is used with OpenMPI 4.x if ompi_info reports ucx as supported PML.

The other changes are trivial style cleanups.

WIP, because the tests should be enhanced to cover this change