Working with OpenMPI on the Research Servers

From UW-Math Wiki
Revision as of 08:54, 6 September 2022 by Emeitner (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


There are have two different development kits on the research servers for writing MPI code: OpenMPI and Intel OneAPI HPC Toolkit. These two sets of libraries and tools are not compatible.

By default your shell environment will work with the OpenMPI libraries. To setup your shell environment to work with the Intel OneAPI tools you will need to run this command:

source /opt/intel/oneapi/setvars.sh

If you need to switch back to using the OpenMPI libraries is is best to log out and back in again. But you can also run this command:

source /usr/local/bin/openmpi_setup.sh

Please contact IT if you have any questions or concerns about this.