Skip to content

Commit 5309a52

Browse files
authored
Merge pull request #400 from Julia-Tempering/macos-openmpi-fix
try setting the env var to fix macos-openmpi issue
2 parents d398eb6 + 771c52c commit 5309a52

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ jobs:
119119
run: |
120120
brew install "${{ matrix.mpi }}"
121121
122+
#==!!!NEW CHANGE!!! Try test the following env var setting to fix macos-openmpi issue =====#
123+
- name: Work around OpenMPI/PMIx interface selection on macOS runners
124+
if: ${{ matrix.mpi == 'openmpi' }}
125+
run: |
126+
echo "PMIX_MCA_ptl_tcp_if_include=lo0" >> $GITHUB_ENV
127+
echo "OMPI_MCA_btl_tcp_if_include=lo0" >> $GITHUB_ENV
128+
echo "OMPI_MCA_oob_tcp_if_include=lo0" >> $GITHUB_ENV
129+
#==========================================================================================#
130+
122131
- uses: actions/setup-java@v4
123132
with:
124133
distribution: 'temurin'

0 commit comments

Comments
 (0)