Last active
January 12, 2019 20:22
-
-
Save kingspp/055345ec7f2fc61ea3e677621584f26d to your computer and use it in GitHub Desktop.
Horovod Installation with Open MPI Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Install Open MPI v4 | |
wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.0.tar.gz | |
tar -xvf openmpi-4.0.0.tar.gz | |
cd openmpi-4.0.0 | |
./configure --prefix=/usr/local | |
make all | |
sudo make install | |
sudo ldconfig | |
# Install Python Requirements | |
sudo apt-get install python3-dev | |
sudo pip3 install setuptools | |
# Install Tensorflow v1.8.0 GPU | |
sudo python3 -m pip3 install tensorflow-gpu==1.8.0 | |
# Install Horovod | |
sudo python3 -m pip3 install horovod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment