Skip to content

Commit

Permalink
openmpi again
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Feb 18, 2025
1 parent 82ae322 commit e50a840
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,10 @@ jobs:
- name: Install MPI
shell: bash -eux {0}
run: |
FCFLAGS=-fPIC CFLAGS=-fPIC FFLAGS=-fPIC ${ATLAS_TOOLS}/install-mpi.sh --mpi openmpi ${MPI_VERSION} --prefix ${DEPS_DIR}/openmpi
if [[ "${{ matrix.os }}" =~ macos ]]; then
MPI_VERSION="--version 5.0.7"
echo "CACHE_SUFFIX=${CACHE_SUFFIX}-mpi_v5.0.7" >> $GITHUB_ENV
CACHE_SUFFIX=${CACHE_SUFFIX}-mpi_$(mpirun --version | head -1 | awk '{print $4}') >> $GITHUB_ENV
fi
FCFLAGS=-fPIC CFLAGS=-fPIC FFLAGS=-fPIC ${ATLAS_TOOLS}/install-mpi.sh --mpi openmpi ${MPI_VERSION} --prefix ${DEPS_DIR}/openmpi
[ -f ${DEPS_DIR}/openmpi/env.sh ] && source ${DEPS_DIR}/openmpi/env.sh
[ -z ${MPI_HOME+x} ] || echo "MPI_HOME=${MPI_HOME}" >> $GITHUB_ENV
Expand Down

0 comments on commit e50a840

Please sign in to comment.