How To Install mvapich2 on Rocky Linux 8

In this tutorial we learn how to install mvapich2 on Rocky Linux 8. mvapich2 is OSU MVAPICH2 MPI package

Introduction

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

What is mvapich2

MVAPICH2 is a Message Passing Interface (MPI 3.0) implementation based on MPICH and developed by Ohio State University.

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

Install mvapich2 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 using dnf by running the following command:

sudo dnf -y install mvapich2

Install mvapich2 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 using yum by running the following command:

sudo yum -y install mvapich2

How To Uninstall mvapich2 on Rocky Linux 8

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

sudo dnf remove mvapich2

mvapich2 Package Contents on Rocky Linux 8

/etc/modulefiles/mpi/mvapich2-i386
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/a7eafaa39636d2d43adb2d9d081ca150e235df
/usr/lib/.build-id/28
/usr/lib/.build-id/28/531a77bc6b56a76b9ce3db27bc2d00de2756b3
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/fbe51b82f9668b0317f5d49c5f9c6a4dbc6274
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/5a5260e1651b7272b7c49469777b0d2aa42753
/usr/lib/.build-id/91
/usr/lib/.build-id/91/e6b0be9cac0e25953fd2f23ea3d647fdb1d3b9
/usr/lib/.build-id/98
/usr/lib/.build-id/98/3f321cc152045de871b2a10c6f756b9aeebe02
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/63ccd392c8f44527fd23214b4326d532d639b5
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/886a5ed3fe5dbb3a046e6dceb2ab4ca09069a1
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/932b3425d4bd73e24c442d4a8a266146c78024
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/8caf7638510e457d37c036b530ec6d661a66cb
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/22912c901cee2636865f4d439618e21857a408
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/d39aef52e05796014ece5207fd2e87c9a51aab
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/81d4bddcd1de64f7071f8579e08cd919262a82
/usr/lib/gfortran/modules/mvapich2
/usr/lib/mvapich2
/usr/lib/mvapich2/bin
/usr/lib/mvapich2/bin/hydra_nameserver
/usr/lib/mvapich2/bin/hydra_persist
/usr/lib/mvapich2/bin/hydra_pmi_proxy
/usr/lib/mvapich2/bin/mpichversion
/usr/lib/mvapich2/bin/mpiexec
/usr/lib/mvapich2/bin/mpiexec.hydra
/usr/lib/mvapich2/bin/mpiexec.mpirun_rsh
/usr/lib/mvapich2/bin/mpiname
/usr/lib/mvapich2/bin/mpirun
/usr/lib/mvapich2/bin/mpirun_rsh
/usr/lib/mvapich2/bin/mpispawn
/usr/lib/mvapich2/bin/mpivars
/usr/lib/mvapich2/bin/parkill
/usr/lib/mvapich2/lib
/usr/lib/mvapich2/lib/libmpi.so.12
/usr/lib/mvapich2/lib/libmpi.so.12.1.1
/usr/lib/mvapich2/lib/libmpicxx.so.12
/usr/lib/mvapich2/lib/libmpicxx.so.12.1.1
/usr/lib/mvapich2/lib/libmpifort.so.12
/usr/lib/mvapich2/lib/libmpifort.so.12.1.1
/usr/lib/python3.6/site-packages/mvapich2
/usr/share/man/mvapich2-i386
/usr/share/man/mvapich2-i386/man1
/usr/share/man/mvapich2-i386/man1/hydra_nameserver.1.gz
/usr/share/man/mvapich2-i386/man1/hydra_persist.1.gz
/usr/share/man/mvapich2-i386/man1/hydra_pmi_proxy.1.gz
/usr/share/man/mvapich2-i386/man1/mpiexec.1.gz
/usr/share/man/mvapich2-i386/man2
/usr/share/man/mvapich2-i386/man3
/usr/share/man/mvapich2-i386/man4
/usr/share/man/mvapich2-i386/man5
/usr/share/man/mvapich2-i386/man6
/usr/share/man/mvapich2-i386/man7
/usr/share/man/mvapich2-i386/man8
/usr/share/man/mvapich2-i386/man9
/usr/share/man/mvapich2-i386/mann
/etc/modulefiles/mpi/mvapich2-x86_64
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/cda5d5fe3465c6c0cb7edcd59620ae999ccb04
/usr/lib/.build-id/32
/usr/lib/.build-id/32/17c1e1e57eef45ae221c322d1cf4a1bf6fd8dc
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/9d632b24cc3e52867ed7bd32c01ed6a1c55897
/usr/lib/.build-id/58
/usr/lib/.build-id/58/047d69a36b0aa7026daf79c9c2956c22a1bcad
/usr/lib/.build-id/71
/usr/lib/.build-id/71/114b87b6b46c4c75f6c39511e61f92bd5f7800
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/4b053c1a915f44ed648d484d74e0037573234e
/usr/lib/.build-id/85
/usr/lib/.build-id/85/63256e1ed308e1587eac595e451952169815ae
/usr/lib/.build-id/86
/usr/lib/.build-id/86/da8b3f3d2e575752bd7c6f5680a4673999cb89
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/231aa1861e794a6d8abce32f425e851752d81c
/usr/lib/.build-id/b5/5fa4f0a7622cc8a648a307f99216b88dde8505
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/e09cfa2d0eea73e5685031eaa4208602236d5c
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/86666e085af61002c73f62406077cc9154c864
/usr/lib/.build-id/f5/f4365d41c7e90d37642bd244760c4960835ec1
/usr/lib64/gfortran/modules/mvapich2
/usr/lib64/mvapich2
/usr/lib64/mvapich2/bin
/usr/lib64/mvapich2/bin/hydra_nameserver
/usr/lib64/mvapich2/bin/hydra_persist
/usr/lib64/mvapich2/bin/hydra_pmi_proxy
/usr/lib64/mvapich2/bin/mpichversion
/usr/lib64/mvapich2/bin/mpiexec
/usr/lib64/mvapich2/bin/mpiexec.hydra
/usr/lib64/mvapich2/bin/mpiexec.mpirun_rsh
/usr/lib64/mvapich2/bin/mpiname
/usr/lib64/mvapich2/bin/mpirun
/usr/lib64/mvapich2/bin/mpirun_rsh
/usr/lib64/mvapich2/bin/mpispawn
/usr/lib64/mvapich2/bin/mpivars
/usr/lib64/mvapich2/bin/parkill
/usr/lib64/mvapich2/lib
/usr/lib64/mvapich2/lib/libmpi.so.12
/usr/lib64/mvapich2/lib/libmpi.so.12.1.1
/usr/lib64/mvapich2/lib/libmpicxx.so.12
/usr/lib64/mvapich2/lib/libmpicxx.so.12.1.1
/usr/lib64/mvapich2/lib/libmpifort.so.12
/usr/lib64/mvapich2/lib/libmpifort.so.12.1.1
/usr/lib64/python3.6/site-packages/mvapich2
/usr/share/man/mvapich2-x86_64
/usr/share/man/mvapich2-x86_64/man1
/usr/share/man/mvapich2-x86_64/man1/hydra_nameserver.1.gz
/usr/share/man/mvapich2-x86_64/man1/hydra_persist.1.gz
/usr/share/man/mvapich2-x86_64/man1/hydra_pmi_proxy.1.gz
/usr/share/man/mvapich2-x86_64/man1/mpiexec.1.gz
/usr/share/man/mvapich2-x86_64/man2
/usr/share/man/mvapich2-x86_64/man3
/usr/share/man/mvapich2-x86_64/man4
/usr/share/man/mvapich2-x86_64/man5
/usr/share/man/mvapich2-x86_64/man6
/usr/share/man/mvapich2-x86_64/man7
/usr/share/man/mvapich2-x86_64/man8
/usr/share/man/mvapich2-x86_64/man9
/usr/share/man/mvapich2-x86_64/mann

References

Summary

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