numba-mpi 1.1.6__tar.gz → 1.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.github/workflows/tests+pypi.yml +20 -14
- numba_mpi-1.1.8/.github/workflows/urlcheck.yml +24 -0
- {numba_mpi-1.1.6/numba_mpi.egg-info → numba_mpi-1.1.8}/PKG-INFO +7 -8
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/README.md +5 -6
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/irecv.py +1 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/isend.py +1 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/common.py +2 -1
- {numba_mpi-1.1.6 → numba_mpi-1.1.8/numba_mpi.egg-info}/PKG-INFO +7 -8
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi.egg-info/SOURCES.txt +1 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi.egg-info/requires.txt +1 -1
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/pyproject.toml +8 -5
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.github/numba_mpi_logo.png +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.github/numba_mpi_logo.svg +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.github/workflows/readme_snippets.yml +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.github/workflows/stale.yml +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.gitignore +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.pre-commit-config.yaml +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.vscode/settings.json +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/.zenodo.json +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/CITATION.cff +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/CODE_OF_CONDUCT.md +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/LICENSE +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/__init__.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/__init__.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/allreduce.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/barrier.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/bcast.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/initialized.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/operator.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/query_thread.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/rank.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/recv.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/reduce.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/requests.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/scatter_gather.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/send.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/size.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/api/wtime.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi/utils.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi.egg-info/dependency_links.txt +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/numba_mpi.egg-info/top_level.txt +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/setup.cfg +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/__init__.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_allreduce.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_barrier.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_bcast.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_init.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_isend_irecv.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_query_thread.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_rank.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_reduce.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_scatter_gather.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_send_recv.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_size.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/api/test_wtime.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/common.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/conftest.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/exchange.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/hello.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/mpi4py_with_error.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/numba_mpi.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/py-pde.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/test.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/paper_listings/timing.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/test_paper_listings.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/test_version.py +0 -0
- {numba_mpi-1.1.6 → numba_mpi-1.1.8}/tests/utils.py +0 -0
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
- uses: mpi4py/setup-mpi@v1
|
|
26
26
|
- run: |
|
|
27
27
|
pip install pylint
|
|
28
|
-
pip install -e .[tests,CI_version_pins]
|
|
28
|
+
pip install --only-binary=:all: -e .[tests,CI_version_pins]
|
|
29
29
|
- run: |
|
|
30
30
|
pylint --ignored-modules=mpi4py --disable=fixme,duplicate-code $(git ls-files '*.py' | grep -v -e ^tests/paper_listings)
|
|
31
31
|
|
|
@@ -59,7 +59,7 @@ jobs:
|
|
|
59
59
|
- name: Build
|
|
60
60
|
run: |
|
|
61
61
|
pip install pdoc
|
|
62
|
-
pip install -e .[CI_version_pins]
|
|
62
|
+
pip install --only-binary=:all: -e .[CI_version_pins]
|
|
63
63
|
PDOC_ALLOW_EXEC=1 python -We -m pdoc -o html numba_mpi
|
|
64
64
|
- name: Deploy
|
|
65
65
|
if: github.ref == 'refs/heads/main'
|
|
@@ -85,28 +85,33 @@ jobs:
|
|
|
85
85
|
mpi-np: [2, 3]
|
|
86
86
|
platform:
|
|
87
87
|
- ubuntu-latest
|
|
88
|
+
- ubuntu-24.04-arm
|
|
88
89
|
- windows-latest
|
|
89
|
-
- macos-
|
|
90
|
+
- macos-15-intel # arch: Intel
|
|
90
91
|
- macos-15 # arch: arm64
|
|
91
|
-
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
92
|
+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
92
93
|
mpi: [ 'mpich', 'openmpi', 'msmpi', 'intelmpi']
|
|
93
94
|
exclude:
|
|
94
|
-
- platform: macos-
|
|
95
|
+
- platform: macos-15-intel
|
|
95
96
|
mpi: msmpi
|
|
96
|
-
- platform: macos-
|
|
97
|
+
- platform: macos-15-intel
|
|
97
98
|
mpi: intelmpi
|
|
98
|
-
- platform: macos-13 # TODO: # 163
|
|
99
|
-
mpi: openmpi
|
|
100
99
|
- platform: macos-15
|
|
101
100
|
mpi: msmpi
|
|
102
101
|
- platform: macos-15
|
|
103
102
|
mpi: intelmpi
|
|
103
|
+
- platform: macos-15-intel # TODO: # 163
|
|
104
|
+
mpi: openmpi
|
|
104
105
|
- platform: macos-15 # TODO: # 163
|
|
105
106
|
mpi: openmpi
|
|
107
|
+
- python-version: "3.14"
|
|
108
|
+
platform: macos-15-intel
|
|
106
109
|
- platform: ubuntu-latest
|
|
107
110
|
mpi: msmpi
|
|
108
|
-
- platform: ubuntu-
|
|
109
|
-
mpi:
|
|
111
|
+
- platform: ubuntu-24.04-arm
|
|
112
|
+
mpi: msmpi
|
|
113
|
+
- platform: ubuntu-24.04-arm
|
|
114
|
+
mpi: intelmpi
|
|
110
115
|
- platform: windows-latest
|
|
111
116
|
mpi: mpich
|
|
112
117
|
- platform: windows-latest
|
|
@@ -123,14 +128,15 @@ jobs:
|
|
|
123
128
|
- uses: mpi4py/setup-mpi@v1
|
|
124
129
|
with:
|
|
125
130
|
mpi: ${{ matrix.mpi }}
|
|
126
|
-
- if:
|
|
127
|
-
run: echo DYLD_FALLBACK_LIBRARY_PATH="/opt/homebrew/lib:/usr/lib:$DYLD_FALLBACK_LIBRARY_PATH" >> $GITHUB_ENV
|
|
131
|
+
- if: startsWith(matrix.platform, 'macos-')
|
|
132
|
+
run: echo DYLD_FALLBACK_LIBRARY_PATH="/opt/homebrew/lib:/usr/local/lib:/usr/lib:$DYLD_FALLBACK_LIBRARY_PATH" >> $GITHUB_ENV
|
|
128
133
|
- if: matrix.mpi == 'intelmpi'
|
|
129
134
|
run: |
|
|
130
135
|
# checking if multiple MPI libs are OK
|
|
131
136
|
sudo apt-get install mpi-default-bin
|
|
132
137
|
mpiexec python -c "import os; assert 'I_MPI_ROOT' in os.environ"
|
|
133
|
-
- run:
|
|
138
|
+
- run: |
|
|
139
|
+
pip install --only-binary=:all: -e .[tests,CI_version_pins]
|
|
134
140
|
- run: python -We -c "import mpi4py"
|
|
135
141
|
- run: python -We -c "import numba_mpi"
|
|
136
142
|
- run: mpiexec -n ${{ matrix.mpi-np }} pytest --durations=10 -p no:unraisableexception -We
|
|
@@ -158,7 +164,7 @@ jobs:
|
|
|
158
164
|
- run: twine check --strict dist/*
|
|
159
165
|
|
|
160
166
|
- run: |
|
|
161
|
-
pip install --find-links file:./dist numba-mpi
|
|
167
|
+
pip install --only-binary=:all: --find-links file:./dist numba-mpi
|
|
162
168
|
cd /tmp # make sure local files are not picked up
|
|
163
169
|
python -We -c "import numba_mpi"
|
|
164
170
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: urlcheck
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ main ]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
schedule:
|
|
9
|
+
- cron: '0 13 * * 4'
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
url-check:
|
|
13
|
+
runs-on: ubuntu-24.04
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4.1.6
|
|
16
|
+
- uses: urlstechie/urlchecker-action@master
|
|
17
|
+
with:
|
|
18
|
+
file_types: .md,.py,.json,.yaml,.yml,.toml,.txt,.cff
|
|
19
|
+
print_all: false
|
|
20
|
+
verbose: true
|
|
21
|
+
timeout: 7
|
|
22
|
+
retry_count: 3
|
|
23
|
+
exclude_files: .github/workflows/urlcheck.yml
|
|
24
|
+
exclude_urls: https://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numba-mpi
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: Numba @jittable MPI wrappers tested on Linux, macOS and Windows
|
|
5
5
|
Author-email: "https://github.com/numba-mpi/numba-mpi/graphs/contributors" <sylwester.arabas@agh.edu.pl>
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -27,7 +27,7 @@ Provides-Extra: tests
|
|
|
27
27
|
Requires-Dist: pytest; extra == "tests"
|
|
28
28
|
Requires-Dist: py-pde; extra == "tests"
|
|
29
29
|
Provides-Extra: ci-version-pins
|
|
30
|
-
Requires-Dist: pytest
|
|
30
|
+
Requires-Dist: pytest==9.0.1; extra == "ci-version-pins"
|
|
31
31
|
Dynamic: license-file
|
|
32
32
|
|
|
33
33
|
# <img src="https://raw.githubusercontent.com/numba-mpi/numba-mpi/main/.github/numba_mpi_logo.png" width=128 height=142 alt="numba-mpi logo"> numba-mpi
|
|
@@ -37,7 +37,7 @@ Dynamic: license-file
|
|
|
37
37
|
[](https://en.wikipedia.org/wiki/Linux)
|
|
38
38
|
[](https://en.wikipedia.org/wiki/macOS)
|
|
39
39
|
[](https://en.wikipedia.org/wiki/Windows)
|
|
40
|
-
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
40
|
+
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
41
41
|
[](https://GitHub.com/numba-mpi/numba-mpi/graphs/commit-activity)
|
|
42
42
|
[](https://www.gnu.org/licenses/gpl-3.0.html)
|
|
43
43
|
[](https://pypi.org/project/numba-mpi)
|
|
@@ -62,9 +62,10 @@ Packages can be obtained from
|
|
|
62
62
|
|
|
63
63
|
numba-mpi is a pure-Python package.
|
|
64
64
|
The codebase includes a test suite used through the GitHub Actions workflows ([thanks to mpi4py's setup-mpi](https://github.com/mpi4py/setup-mpi)!)
|
|
65
|
-
for automated testing on: Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
65
|
+
for automated testing on: Intel Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
66
66
|
& [Intel MPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html)),
|
|
67
|
-
|
|
67
|
+
ARM Linux ([MPICH](https://www.mpich.org/) & [OpenMPI](https://www.open-mpi.org/doc/)),
|
|
68
|
+
Intel and ARM macOS ([MPICH](https://www.mpich.org/)) and
|
|
68
69
|
Windows ([MS MPI](https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi)). Note, that some of those
|
|
69
70
|
combinations may not be fully supported yet - see [Known Issues](#known-issues) for more information.
|
|
70
71
|
|
|
@@ -172,8 +173,6 @@ if numba_mpi.rank() == 0:
|
|
|
172
173
|
|
|
173
174
|
**NOTE**: Issues listed below only relate to combinations of platforms and MPI distributions that we target to support, but due to various reason are currently not working and are temporarily excluded from automated testing:
|
|
174
175
|
|
|
175
|
-
- tests on Ubuntu 2024.4 that use MPICH are not run due to failures caused by newer version of MPICH (`4.2.0`); note, that previous tests ran
|
|
176
|
-
using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 using `apt`) were passing (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/162) - TODO #162),
|
|
177
176
|
- tests on MacOS (both Intel- and ARM-based) that use OpenMPI are currently not run due to failures being under investigation (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/163) - TODO #163).
|
|
178
177
|
|
|
179
178
|
### MPI resources on the web:
|
|
@@ -191,7 +190,7 @@ using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 us
|
|
|
191
190
|
- Python/JAX: https://mpi4jax.readthedocs.io
|
|
192
191
|
- Julia: https://juliaparallel.org/MPI.jl
|
|
193
192
|
- Rust: https://docs.rs/mpi
|
|
194
|
-
- C++: https://boost.org/doc/html/mpi.html
|
|
193
|
+
- C++: https://www.boost.org/doc/libs/latest/doc/html/mpi.html
|
|
195
194
|
- R: https://cran.r-project.org/web/packages/Rmpi
|
|
196
195
|
|
|
197
196
|
### Acknowledgements:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://en.wikipedia.org/wiki/Linux)
|
|
6
6
|
[](https://en.wikipedia.org/wiki/macOS)
|
|
7
7
|
[](https://en.wikipedia.org/wiki/Windows)
|
|
8
|
-
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
8
|
+
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
9
9
|
[](https://GitHub.com/numba-mpi/numba-mpi/graphs/commit-activity)
|
|
10
10
|
[](https://www.gnu.org/licenses/gpl-3.0.html)
|
|
11
11
|
[](https://pypi.org/project/numba-mpi)
|
|
@@ -30,9 +30,10 @@ Packages can be obtained from
|
|
|
30
30
|
|
|
31
31
|
numba-mpi is a pure-Python package.
|
|
32
32
|
The codebase includes a test suite used through the GitHub Actions workflows ([thanks to mpi4py's setup-mpi](https://github.com/mpi4py/setup-mpi)!)
|
|
33
|
-
for automated testing on: Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
33
|
+
for automated testing on: Intel Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
34
34
|
& [Intel MPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html)),
|
|
35
|
-
|
|
35
|
+
ARM Linux ([MPICH](https://www.mpich.org/) & [OpenMPI](https://www.open-mpi.org/doc/)),
|
|
36
|
+
Intel and ARM macOS ([MPICH](https://www.mpich.org/)) and
|
|
36
37
|
Windows ([MS MPI](https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi)). Note, that some of those
|
|
37
38
|
combinations may not be fully supported yet - see [Known Issues](#known-issues) for more information.
|
|
38
39
|
|
|
@@ -140,8 +141,6 @@ if numba_mpi.rank() == 0:
|
|
|
140
141
|
|
|
141
142
|
**NOTE**: Issues listed below only relate to combinations of platforms and MPI distributions that we target to support, but due to various reason are currently not working and are temporarily excluded from automated testing:
|
|
142
143
|
|
|
143
|
-
- tests on Ubuntu 2024.4 that use MPICH are not run due to failures caused by newer version of MPICH (`4.2.0`); note, that previous tests ran
|
|
144
|
-
using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 using `apt`) were passing (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/162) - TODO #162),
|
|
145
144
|
- tests on MacOS (both Intel- and ARM-based) that use OpenMPI are currently not run due to failures being under investigation (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/163) - TODO #163).
|
|
146
145
|
|
|
147
146
|
### MPI resources on the web:
|
|
@@ -159,7 +158,7 @@ using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 us
|
|
|
159
158
|
- Python/JAX: https://mpi4jax.readthedocs.io
|
|
160
159
|
- Julia: https://juliaparallel.org/MPI.jl
|
|
161
160
|
- Rust: https://docs.rs/mpi
|
|
162
|
-
- C++: https://boost.org/doc/html/mpi.html
|
|
161
|
+
- C++: https://www.boost.org/doc/libs/latest/doc/html/mpi.html
|
|
163
162
|
- R: https://cran.r-project.org/web/packages/Rmpi
|
|
164
163
|
|
|
165
164
|
### Acknowledgements:
|
|
@@ -76,7 +76,8 @@ if LIB is None:
|
|
|
76
76
|
if sys.platform == "darwin":
|
|
77
77
|
raise RuntimeError(
|
|
78
78
|
"""MPI library not found, if MPI was installed with Homebrew, export the following:
|
|
79
|
-
DYLD_FALLBACK_LIBRARY_PATH="/opt/homebrew/lib:/usr/lib:$DYLD_FALLBACK_LIBRARY_PATH
|
|
79
|
+
ARM: DYLD_FALLBACK_LIBRARY_PATH="/opt/homebrew/lib:/usr/lib:$DYLD_FALLBACK_LIBRARY_PATH
|
|
80
|
+
Intel: DYLD_FALLBACK_LIBRARY_PATH="/usr/local/lib:/usr/lib:$DYLD_FALLBACK_LIBRARY_PATH
|
|
80
81
|
"""
|
|
81
82
|
)
|
|
82
83
|
raise RuntimeError("no MPI library found")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: numba-mpi
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.8
|
|
4
4
|
Summary: Numba @jittable MPI wrappers tested on Linux, macOS and Windows
|
|
5
5
|
Author-email: "https://github.com/numba-mpi/numba-mpi/graphs/contributors" <sylwester.arabas@agh.edu.pl>
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -27,7 +27,7 @@ Provides-Extra: tests
|
|
|
27
27
|
Requires-Dist: pytest; extra == "tests"
|
|
28
28
|
Requires-Dist: py-pde; extra == "tests"
|
|
29
29
|
Provides-Extra: ci-version-pins
|
|
30
|
-
Requires-Dist: pytest
|
|
30
|
+
Requires-Dist: pytest==9.0.1; extra == "ci-version-pins"
|
|
31
31
|
Dynamic: license-file
|
|
32
32
|
|
|
33
33
|
# <img src="https://raw.githubusercontent.com/numba-mpi/numba-mpi/main/.github/numba_mpi_logo.png" width=128 height=142 alt="numba-mpi logo"> numba-mpi
|
|
@@ -37,7 +37,7 @@ Dynamic: license-file
|
|
|
37
37
|
[](https://en.wikipedia.org/wiki/Linux)
|
|
38
38
|
[](https://en.wikipedia.org/wiki/macOS)
|
|
39
39
|
[](https://en.wikipedia.org/wiki/Windows)
|
|
40
|
-
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
40
|
+
[](https://github.com/numba-mpi/numba-mpi/actions/workflows/tests+pypi.yml)
|
|
41
41
|
[](https://GitHub.com/numba-mpi/numba-mpi/graphs/commit-activity)
|
|
42
42
|
[](https://www.gnu.org/licenses/gpl-3.0.html)
|
|
43
43
|
[](https://pypi.org/project/numba-mpi)
|
|
@@ -62,9 +62,10 @@ Packages can be obtained from
|
|
|
62
62
|
|
|
63
63
|
numba-mpi is a pure-Python package.
|
|
64
64
|
The codebase includes a test suite used through the GitHub Actions workflows ([thanks to mpi4py's setup-mpi](https://github.com/mpi4py/setup-mpi)!)
|
|
65
|
-
for automated testing on: Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
65
|
+
for automated testing on: Intel Linux ([MPICH](https://www.mpich.org/), [OpenMPI](https://www.open-mpi.org/doc/)
|
|
66
66
|
& [Intel MPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/mpi-library.html)),
|
|
67
|
-
|
|
67
|
+
ARM Linux ([MPICH](https://www.mpich.org/) & [OpenMPI](https://www.open-mpi.org/doc/)),
|
|
68
|
+
Intel and ARM macOS ([MPICH](https://www.mpich.org/)) and
|
|
68
69
|
Windows ([MS MPI](https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi)). Note, that some of those
|
|
69
70
|
combinations may not be fully supported yet - see [Known Issues](#known-issues) for more information.
|
|
70
71
|
|
|
@@ -172,8 +173,6 @@ if numba_mpi.rank() == 0:
|
|
|
172
173
|
|
|
173
174
|
**NOTE**: Issues listed below only relate to combinations of platforms and MPI distributions that we target to support, but due to various reason are currently not working and are temporarily excluded from automated testing:
|
|
174
175
|
|
|
175
|
-
- tests on Ubuntu 2024.4 that use MPICH are not run due to failures caused by newer version of MPICH (`4.2.0`); note, that previous tests ran
|
|
176
|
-
using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 using `apt`) were passing (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/162) - TODO #162),
|
|
177
176
|
- tests on MacOS (both Intel- and ARM-based) that use OpenMPI are currently not run due to failures being under investigation (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/163) - TODO #163).
|
|
178
177
|
|
|
179
178
|
### MPI resources on the web:
|
|
@@ -191,7 +190,7 @@ using version `4.0.2` of MPICH (that is installed by default on Ubuntu 2022.4 us
|
|
|
191
190
|
- Python/JAX: https://mpi4jax.readthedocs.io
|
|
192
191
|
- Julia: https://juliaparallel.org/MPI.jl
|
|
193
192
|
- Rust: https://docs.rs/mpi
|
|
194
|
-
- C++: https://boost.org/doc/html/mpi.html
|
|
193
|
+
- C++: https://www.boost.org/doc/libs/latest/doc/html/mpi.html
|
|
195
194
|
- R: https://cran.r-project.org/web/packages/Rmpi
|
|
196
195
|
|
|
197
196
|
### Acknowledgements:
|
|
@@ -33,13 +33,16 @@ authors = [
|
|
|
33
33
|
{name = "https://github.com/numba-mpi/numba-mpi/graphs/contributors", email = "sylwester.arabas@agh.edu.pl"}
|
|
34
34
|
]
|
|
35
35
|
dynamic = ["version"]
|
|
36
|
-
dependencies = [
|
|
36
|
+
dependencies = [
|
|
37
|
+
"numba",
|
|
38
|
+
"numpy",
|
|
39
|
+
"mpi4py",
|
|
40
|
+
"psutil"
|
|
41
|
+
]
|
|
37
42
|
|
|
38
43
|
[project.optional-dependencies]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"pytest<8.0.0", # TODO #122
|
|
42
|
-
]
|
|
44
|
+
tests = ["pytest", "py-pde"]
|
|
45
|
+
CI_version_pins = ["pytest==9.0.1"]
|
|
43
46
|
|
|
44
47
|
[project.urls]
|
|
45
48
|
Tracker = "https://github.com/numba-mpi/numba-mpi/issues"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|