https://github.com/mitmul/openmpi-cuda-bins
Pre-built binaries of OpenMPI w/ CUDA & verbs options
https://github.com/mitmul/openmpi-cuda-bins
Last synced: 5 months ago
JSON representation
Pre-built binaries of OpenMPI w/ CUDA & verbs options
- Host: GitHub
- URL: https://github.com/mitmul/openmpi-cuda-bins
- Owner: mitmul
- License: mit
- Created: 2020-05-05T13:27:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T08:46:41.000Z (about 6 years ago)
- Last Synced: 2025-06-03T02:22:26.362Z (about 1 year ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openmpi-cuda-bins
Pre-built binaries of OpenMPI w/ CUDA & verbs
This requires `docker`.
```bash
bash build.sh
```
will generate the following three files:
- [openmpi-4.0.3-cuda100.tar.gz](https://github.com/mitmul/openmpi-cuda-bins/releases/download/v1.1/openmpi-4.0.3-cuda100.tar.gz)
- [openmpi-4.0.3-cuda101.tar.gz](https://github.com/mitmul/openmpi-cuda-bins/releases/download/v1.1/openmpi-4.0.3-cuda101.tar.gz)
- [openmpi-4.0.3-cuda102.tar.gz](https://github.com/mitmul/openmpi-cuda-bins/releases/download/v1.1/openmpi-4.0.3-cuda102.tar.gz)
Copy one of the generated files into your environment where you want to use OpenMPI w/ CUDA and Infiniband, and install it like this:
```bash
cd /
tar zxf openmpi-4.0.3-cuda102.tar.gz
```
You have to run this as `root`.
It expands the built binaries and headers etc. into `/opt/openmpi`, so that you will add some environment variables to make them visible from other libraries:
```bash
export PATH=/opt/openmpi/bin:$PATH
export CPATH=/opt/openmpi/include:$CPATH
export LIBRARY_PATH=/opt/openmpi/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/openmpi/lib:$LD_LIBRARY_PATH
```