Skip to content

MPICH Installation with UCX

Pavan Balaji edited this page Apr 24, 2019 · 1 revision

UCX is supported in MPICH 3.3 and higher versions. UCX is already embedded in the MPICH tarball, so you do not need to separately download UCX.

  1. Download mpich-3.3 or higher from https://www.mpich.org

  2. Configure with UCX:

$ mkdir build
$ cd build
$ ../configure --prefix=/your_install_path/ --with-device=ch4:ucx
  1. Build:
$ make
$ make install

Running MPICH with UCX

Example of the command line (with optional flag to select IB device mlx5_0 port 1):

$ mpirun -np 2 -env UCX_NET_DEVICES=mlx5_0:1 ./app
Clone this wiki locally