Skip to content

Commit

Permalink
install mpi4py and openmpi with conda-forge for ubuntu build
Browse files Browse the repository at this point in the history
  • Loading branch information
rythorpe committed Sep 27, 2023
1 parent 2b15ba6 commit df7c61b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,15 @@ 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}
run: |
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: |
Expand Down

0 comments on commit df7c61b

Please sign in to comment.