Skip to content

Commit

Permalink
Fix MUSIC in CI as well
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Oct 4, 2024
1 parent 58b9b6f commit e626632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/neuron-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ jobs:
- name: Setup MUSIC@${{ env.MUSIC_VERSION }}
if: matrix.config.music == 'ON'
run: |
# the version of OpenMPI on Ubuntu does not support MPI 4, so we remove it
apt-get purge -y libopenmpi-dev openmpi-bin
python3 -m venv music-venv
source music-venv/bin/activate
python3 -m pip install mpi4py cython numpy setuptools
Expand All @@ -217,6 +219,8 @@ jobs:
./configure --with-python-sys-prefix --prefix=$MUSIC_INSTALL_DIR --disable-anysource MPI_CXXFLAGS="-g -O3" MPI_CFLAGS="-g -O3" MPI_LDFLAGS=" " CC=mpicc CXX=mpicxx
make -j install
deactivate
# install back OpenMPI so NEURON can use it
apt-get install -y libopenmpi-dev openmpi-bin
working-directory: ${{runner.temp}}

- name: Register gcc problem matcher
Expand Down

0 comments on commit e626632

Please sign in to comment.