From df7c61bd3da67bf34f6f2a079285bc1966ff5892 Mon Sep 17 00:00:00 2001 From: Ryan Thorpe Date: Tue, 26 Sep 2023 14:59:47 -0400 Subject: [PATCH] install mpi4py and openmpi with conda-forge for ubuntu build --- .github/workflows/unit_tests.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 170c9e16a0..26572131a2 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -27,6 +27,7 @@ jobs: if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update + sudo apt-get install libopenmpi-dev openmpi-bin fi; - name: Install dependencies shell: bash -el {0} @@ -34,11 +35,7 @@ jobs: python -m pip install --upgrade pip pip install flake8 pytest pytest-cov pip install psutil joblib - if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then - pip install mpi4py - else - conda install --yes mpi4py openmpi - fi + conda install --yes -c conda-forge mpi4py openmpi - name: Install HNN-core shell: bash -el {0} run: |