16 lines
339 B
Bash
16 lines
339 B
Bash
# This script is for installing horovod on travis-CI only!
|
|
|
|
set -e
|
|
|
|
[ ! -z "$1" ] && export PATH=$1:$PATH
|
|
|
|
mkdir -p /opt
|
|
chmod a+rx /opt
|
|
cd /opt
|
|
wget https://github.com/lgarithm/openmpi-release/raw/master/releases/openmpi-bin-3.1.0.tar.bz2
|
|
tar -xf openmpi-bin-3.1.0.tar.bz2
|
|
|
|
PATH=/opt/openmpi/bin:$PATH pip install horovod
|
|
|
|
echo "done $0"
|