Skip to content

Commit

Permalink
MAINT: moving macos MPI_LIB_NRN_PATH env variable assigment
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 committed Jun 12, 2024
1 parent 2eac7ea commit c93e674
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
shell: bash -el {0}
run: |
brew install open-mpi
echo "List /opt/homebrew/lib"
echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV
- name: Install dependencies
shell: bash -el {0}
Expand All @@ -53,14 +55,13 @@ jobs:
shell: bash -el {0}
run: |
'${{ steps.cp310.outputs.python-path }}' -m pip install --verbose '.[opt, parallel, test, gui]'
- name: Set Env Variables
shell: bash -el {0}
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
echo "List /opt/homebrew/lib"
ls /opt/homebrew/lib
echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV
fi;
# - name: Set Env Variables
# if: contains(matrix.os, 'macos')
# shell: bash -el {0}
# run: |
# echo "List /opt/homebrew/lib"
# echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV
# - name: Run MPI application
# shell: bash -el {0}
# run: |
Expand Down

0 comments on commit c93e674

Please sign in to comment.