Skip to content

Commit 5b95210

Browse files
Merge pull request #211 from rohanbabbar04/py3.15
Add `py3.14t` and fix mpich issues in CI
2 parents 3b14c30 + c99be7b commit 5b95210

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest, macos-latest]
18-
python-version: ['3.11', '3.12', '3.13', '3.14']
18+
python-version: ['3.11', '3.12', '3.13', '3.14', '3.14t']
1919
mpi: ['mpich', 'openmpi', 'intelmpi']
2020
rank: ['2', '4']
2121
exclude:
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
mpi: ${{ matrix.mpi }}
3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@v7
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040
- name: Install fftw libraries
@@ -56,9 +56,11 @@ jobs:
5656
- name: Install pylops-mpi
5757
run: pip install .[all]
5858
- name: Testing using pytest-mpi
59-
run: |
60-
if [ "${{ matrix.mpi }}" = "openmpi" ]; then
61-
mpiexec --mca btl ^openib -n ${{ matrix.rank }} pytest tests/ --with-mpi
62-
else
63-
mpiexec -n ${{ matrix.rank }} pytest tests/ --with-mpi
64-
fi
59+
env:
60+
# For OpenMPI
61+
PRTE_MCA_rmaps_default_mapping_policy: ':OVERSUBSCRIBE'
62+
PRTE_MCA_rmaps_default_binding_policy: 'none'
63+
OMPI_MCA_btl: '^openib'
64+
# For MPICH/Intel MPI
65+
UCX_TLS: 'self,sm,tcp'
66+
run: mpiexec -n ${{ matrix.rank }} pytest tests/ --with-mpi

0 commit comments

Comments
 (0)