Skip to content

Commit ae926dd

Browse files
Merge pull request #180 from StingraySoftware/parallel_fspec
Parallel HENfspec
2 parents 2a6a1e1 + 5373f5c commit ae926dd

7 files changed

Lines changed: 698 additions & 21 deletions

File tree

.github/workflows/ci_test.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,42 +95,45 @@ jobs:
9595
matrix:
9696
include:
9797
- os: ubuntu-latest
98-
python: '3.10'
98+
python: '3.13'
9999
tox_env: 'codestyle'
100100
- os: ubuntu-latest
101-
python: '3.12'
102-
tox_env: 'py312-test-cov'
101+
python: '3.13'
102+
tox_env: 'py313-test-cov'
103+
- os: ubuntu-latest
104+
python: '3.13'
105+
tox_env: 'py313-test-mpi-cov'
103106
- os: ubuntu-latest
104107
python: '3.9'
105108
tox_env: 'py39-test-cov'
106109
- os: ubuntu-latest
107-
python: '3.11'
108-
tox_env: 'py311-test-alldeps-cov'
110+
python: '3.13'
111+
tox_env: 'py313-test-alldeps-cov'
109112
use_remote_data: true
110113
- os: macos-14
111-
python: '3.11'
112-
tox_env: 'py311-test-alldeps-cov'
114+
python: '3.13'
115+
tox_env: 'py313-test-alldeps-cov'
113116
use_remote_data: true
114117
- os: ubuntu-latest
115-
python: '3.12'
116-
tox_env: 'py312-test-devdeps'
118+
python: '3.14'
119+
tox_env: 'py314-test-devdeps'
117120
use_remote_data: true
118121
continue-on-error: true
119122
- os: ubuntu-latest
120-
python: '3.12'
121-
tox_env: 'py312-test-devpint'
123+
python: '3.13'
124+
tox_env: 'py313-test-devpint'
122125
use_remote_data: true
123126
continue-on-error: true
124127
- os: ubuntu-latest
125128
python: '3.9'
126129
tox_env: 'py39-test-oldestdeps-cov'
127130
use_remote_data: true
128131
- os: macos-latest
129-
python: '3.11'
130-
tox_env: 'py311-test'
132+
python: '3.13'
133+
tox_env: 'py313-test'
131134
- os: windows-latest
132-
python: '3.11'
133-
tox_env: 'py311-test'
135+
python: '3.13'
136+
tox_env: 'py313-test'
134137

135138
steps:
136139
- name: Check out repository
@@ -152,6 +155,11 @@ jobs:
152155
python -c "import pip; print(f'pip {pip.__version__}')"
153156
python -c "import setuptools; print(f'setuptools {setuptools.__version__}')"
154157
python -c "import tox; print(f'tox {tox.__version__}')"
158+
- name: Setup MPI
159+
if: "contains(matrix.tox_env, 'mpi')"
160+
uses: mpi4py/setup-mpi@v1
161+
with:
162+
mpi: "openmpi"
155163
- name: Run tests
156164
if: "! matrix.use_remote_data"
157165
run: tox -e ${{ matrix.tox_env }}

docs/changes/180.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
HENfspec can now use a new parallel implementation using MPI or multiprocessing for the power spectrum

0 commit comments

Comments
 (0)