How To Install mvapich2-psm2 on Rocky Linux 8

In this tutorial we learn how to install mvapich2-psm2 on Rocky Linux 8. mvapich2-psm2 is OSU MVAPICH2 MPI package 2.3 for Omni-Path adapters

Introduction

In this tutorial we learn how to install mvapich2-psm2 on Rocky Linux 8.

What is mvapich2-psm2

MVAPICH2 is a Message Passing Interface (MPI 3.0) implementation based on MPICH and developed by Ohio State University. This is a version of mvapich2 2.3 that uses the PSM2 transport for Omni-Path adapters.

We can use yum or dnf to install mvapich2-psm2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mvapich2-psm2.

Install mvapich2-psm2 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mvapich2-psm2 using dnf by running the following command:

sudo dnf -y install mvapich2-psm2

Install mvapich2-psm2 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mvapich2-psm2 using yum by running the following command:

sudo yum -y install mvapich2-psm2

How To Uninstall mvapich2-psm2 on Rocky Linux 8

To uninstall only the mvapich2-psm2 package we can use the following command:

sudo dnf remove mvapich2-psm2

mvapich2-psm2 Package Contents on Rocky Linux 8

/etc/modulefiles/mpi/mvapich2-psm2-x86_64
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/52bf252ee98773b74d7b77b53e4c8aca33635d
/usr/lib/.build-id/45
/usr/lib/.build-id/45/7cbbc247c548c64cfc193f7ddbbfc56b14d703
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/c2360b254c48fbb1243c3933f7ac41051503c9
/usr/lib/.build-id/67
/usr/lib/.build-id/67/131e9336659d6fa393366e046ac23606713449
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/fdbaa568b8ce11d8e41cd5e73deb0a2e9fec9f
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/a8fb7978586637a285f2eb80357cfc68bcfee0
/usr/lib/.build-id/85/8c8940e47902cf74fb2ab7022706189051c85f
/usr/lib/.build-id/87
/usr/lib/.build-id/87/bc20e71f9602632fa0d0482b80930ba1a1e99a
/usr/lib/.build-id/90
/usr/lib/.build-id/90/4f3fa18d7e2a3477755f7d8145638e5d5a0fce
/usr/lib/.build-id/b5/c9d4939ec10579ed327446031d8d35b35b1a4f
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/cd9e8ca0df19a39206a96ded77cd47c5a1eeb8
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/2ecd6570d3d3df4da06d462a1b7ca1396b772e
/usr/lib/.build-id/db
/usr/lib/.build-id/db/210bcbc538d96bc4e705542048a487d2279f5d
/usr/lib64/gfortran/modules/mvapich2-psm2
/usr/lib64/mvapich2-psm2
/usr/lib64/mvapich2-psm2/bin
/usr/lib64/mvapich2-psm2/bin/hydra_nameserver
/usr/lib64/mvapich2-psm2/bin/hydra_persist
/usr/lib64/mvapich2-psm2/bin/hydra_pmi_proxy
/usr/lib64/mvapich2-psm2/bin/mpichversion
/usr/lib64/mvapich2-psm2/bin/mpiexec
/usr/lib64/mvapich2-psm2/bin/mpiexec.hydra
/usr/lib64/mvapich2-psm2/bin/mpiexec.mpirun_rsh
/usr/lib64/mvapich2-psm2/bin/mpiname
/usr/lib64/mvapich2-psm2/bin/mpirun
/usr/lib64/mvapich2-psm2/bin/mpirun_rsh
/usr/lib64/mvapich2-psm2/bin/mpispawn
/usr/lib64/mvapich2-psm2/bin/mpivars
/usr/lib64/mvapich2-psm2/bin/parkill
/usr/lib64/mvapich2-psm2/lib
/usr/lib64/mvapich2-psm2/lib/libmpi.so.12
/usr/lib64/mvapich2-psm2/lib/libmpi.so.12.1.1
/usr/lib64/mvapich2-psm2/lib/libmpicxx.so.12
/usr/lib64/mvapich2-psm2/lib/libmpicxx.so.12.1.1
/usr/lib64/mvapich2-psm2/lib/libmpifort.so.12
/usr/lib64/mvapich2-psm2/lib/libmpifort.so.12.1.1
/usr/lib64/python3.6/site-packages/mvapich2-psm2
/usr/share/man/mvapich2-psm2-x86_64
/usr/share/man/mvapich2-psm2-x86_64/man1
/usr/share/man/mvapich2-psm2-x86_64/man1/hydra_nameserver.1.gz
/usr/share/man/mvapich2-psm2-x86_64/man1/hydra_persist.1.gz
/usr/share/man/mvapich2-psm2-x86_64/man1/hydra_pmi_proxy.1.gz
/usr/share/man/mvapich2-psm2-x86_64/man1/mpiexec.1.gz
/usr/share/man/mvapich2-psm2-x86_64/man2
/usr/share/man/mvapich2-psm2-x86_64/man3
/usr/share/man/mvapich2-psm2-x86_64/man4
/usr/share/man/mvapich2-psm2-x86_64/man5
/usr/share/man/mvapich2-psm2-x86_64/man6
/usr/share/man/mvapich2-psm2-x86_64/man7
/usr/share/man/mvapich2-psm2-x86_64/man8
/usr/share/man/mvapich2-psm2-x86_64/man9
/usr/share/man/mvapich2-psm2-x86_64/mann

References

Summary

In this tutorial we learn how to install mvapich2-psm2 on Rocky Linux 8 using yum and dnf.