How to enable Intel MPI?

How to enable Intel MPI?

Intel Message Passing Interface (MPI) is now available on the AWS ParallelCluster AMIs.

To enable Intel MPI instead of Open MPI, the Intel MPI module must be loaded first.

You can install the latest using module load intelmpi. The exact name of the module changes with every update.

Step 1 - See which modules are avaialble.

Run in a terminal.

module avail
Step 2 - Load a module.
module load intelmpi
Step 3 - See which modules are loaded.
module list
Step 4 -Verify that Intel MPI is enabled.
mpirun --version

You should now have enabled Intel MPI. Success!!!