Skip to content

Instantly share code, notes, and snippets.

@hokiegeek2
Last active March 16, 2025 19:55
Show Gist options
  • Save hokiegeek2/3057f8bb3beb519ae9b556e41824be30 to your computer and use it in GitHub Desktop.
Save hokiegeek2/3057f8bb3beb519ae9b556e41824be30 to your computer and use it in GitHub Desktop.
Install openmpi on Ubuntu 22.04
sudo apt-get update && sudo apt-get install infiniband-diags ibverbs-utils \
libibverbs-dev libfabric1 libfabric-dev libpsm2-dev -y
sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev libgtk2.0-dev
sudo apt-get install librdmacm-dev libpsm2-dev
@hokiegeek2
Copy link
Author

one potential gotcha is mpiexec being installed in two places, one of which is within Anaconda installations as shown below:

image

To fix this issue, need to update the env PATH variable to point to the non-Anaconda installation as shown here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment