BYU

Office of Research Computing

How do I choose a specific MPI implementation?

THIS PAGE IS VERY OUTDATED

On the supercomputing systems, we have a few compilations and implementations of MPI tools. Which one you are using depends on what you have chosen via the mpi-selector tool. At the time of this writing, we provide OpenMPI v1.4.2, compiled with Intel Compilers, GNU compilers (gcc, etc.), and Portland Group (pgi) compilers. Currently, the GNU version (fsl_openmpi_gcc-1.4.2) is the default.

Note that if you make a change, you will have to log out and back in again for it to take effect.

Document Note

In this document, commands are listed with a preceeding # sign. Do not include this when running the command yourself.

To see what you have selected:

To see which of the MPI implementations you have selected, run the following command:

# mpi-selector --query

The output usually looks something like this:

# mpi-selector --query
default:fsl_openmpi_gcc-1.4.2
level:system

Note that the level:system indicates that this user didn't select anything specific, so it's using the system-wide default. If the user had specifically selected one, it would say level:user.

To see what's available:

To see what implementations are currently available, run the following command (listed with example output):

# mpi-selector --list
fsl_openmpi_gcc-1.4.2
fsl_openmpi_intel-1.4.2
fsl_openmpi_pgi-1.4.2

To select a specific one:

To select a specific implementation, you can run a command like this, substituting the one that you want to select:

# mpi-selector --set fsl_openmpi_intel-1.4.2

After you make this change, you will have to log out and back in again for the changes to take effect.