xref: /aosp_15_r20/external/pytorch/.ci/docker/common/install_openmpi.sh (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1#!/bin/bash
2
3sudo apt-get update
4# also install ssh to avoid error of:
5# --------------------------------------------------------------------------
6# The value of the MCA parameter "plm_rsh_agent" was set to a path
7# that could not be found:
8#   plm_rsh_agent: ssh : rsh
9sudo apt-get install -y ssh
10sudo apt-get install -y --allow-downgrades --allow-change-held-packages openmpi-bin libopenmpi-dev
11