onnxruntime/tools/ci_build/github/linux/docker/scripts/install_openmpi.sh
Tianlei Wu c00e13a291
Cherry pick (batch 2) to rel-1.5.1 (#5290)
* remove implicit linking of tensorrt and dnnl ep shared libs (#5262)
* Update DirectML Nuget to 1.3.0 (#5274)
* Update PyTorch TransformerModel sample (#5275)
* Insert telemetry template into GPU build, add telemry build switches. (#5278)
* Synchronize training dependency versions between Docker image and Python wheel (#5261)
* Downgrade GCC (#5269)
* Remove --enable_symbolic_shape_infer_tests to fix linux ci pipeline build error.

Co-authored-by: Edward Chen
Co-authored-by: George Wu <jywu@microsoft.com>
Co-authored-by: Dwayne Robinson <dwayner@microsoft.com>
Co-authored-by: Thiago Crepaldi <thiago.crepaldi@microsoft.com>
Co-authored-by: Dmitri Smirnov <yuslepukhin@users.noreply.github.com>
Co-authored-by: edgchen1 <18449977+edgchen1@users.noreply.github.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
2020-09-25 09:26:40 -07:00

15 lines
432 B
Bash
Executable file

#!/bin/bash
set -e
# install Open MPI
echo "Installing Open MPI"
MPI_SHA256_SUM=dca264f420411f540a496bdd131bffd83e325fc9006286b39dd19b62d7368233
curl -fsSL https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz -O
echo "$MPI_SHA256_SUM openmpi-4.0.4.tar.gz" | sha256sum -c -
tar zxf openmpi-4.0.4.tar.gz
cd openmpi-4.0.4
./configure --enable-orterun-prefix-by-default
make -j $(nproc) all
make install
ldconfig