numba-mpi 0.43__py3-none-any.whl → 1.0.0__py3-none-any.whl
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/__init__.py +2 -0
- numba_mpi/api/initialized.py +2 -1
- numba_mpi/api/rank.py +3 -2
- numba_mpi/api/size.py +3 -2
- {numba_mpi-0.43.dist-info → numba_mpi-1.0.0.dist-info}/METADATA +10 -2
- {numba_mpi-0.43.dist-info → numba_mpi-1.0.0.dist-info}/RECORD +9 -9
- {numba_mpi-0.43.dist-info → numba_mpi-1.0.0.dist-info}/WHEEL +1 -1
- {numba_mpi-0.43.dist-info → numba_mpi-1.0.0.dist-info}/LICENSE +0 -0
- {numba_mpi-0.43.dist-info → numba_mpi-1.0.0.dist-info}/top_level.txt +0 -0
numba_mpi/__init__.py
CHANGED
numba_mpi/api/initialized.py
CHANGED
numba_mpi/api/rank.py
CHANGED
@@ -15,8 +15,9 @@ _MPI_Comm_rank.argtypes = [_MpiComm, ctypes.c_void_p]
|
|
15
15
|
|
16
16
|
@numba.njit()
|
17
17
|
def rank():
|
18
|
-
"""wrapper for MPI_Comm_rank()"""
|
18
|
+
"""wrapper for MPI_Comm_rank(), in case of failure returns 0"""
|
19
19
|
value = np.empty(1, dtype=np.intc)
|
20
20
|
status = _MPI_Comm_rank(_mpi_addr(_MPI_Comm_World_ptr), value.ctypes.data)
|
21
|
-
|
21
|
+
if status != 0:
|
22
|
+
value[0] = 0
|
22
23
|
return value[0]
|
numba_mpi/api/size.py
CHANGED
@@ -15,8 +15,9 @@ _MPI_Comm_size.argtypes = [_MpiComm, ctypes.c_void_p]
|
|
15
15
|
|
16
16
|
@numba.njit()
|
17
17
|
def size():
|
18
|
-
"""wrapper for MPI_Comm_size()"""
|
18
|
+
"""wrapper for MPI_Comm_size(), in case of failure returns 0"""
|
19
19
|
value = np.empty(1, dtype=np.intc)
|
20
20
|
status = _MPI_Comm_size(_mpi_addr(_MPI_Comm_World_ptr), value.ctypes.data)
|
21
|
-
|
21
|
+
if status != 0:
|
22
|
+
value[0] = 0
|
22
23
|
return value[0]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: numba-mpi
|
3
|
-
Version: 0.
|
3
|
+
Version: 1.0.0
|
4
4
|
Summary: Numba @njittable MPI wrappers tested on Linux, macOS and Windows
|
5
5
|
Home-page: https://github.com/numba-mpi/numba-mpi
|
6
6
|
Author: https://github.com/numba-mpi/numba-mpi/graphs/contributors
|
@@ -17,6 +17,7 @@ Requires-Dist: mpi4py
|
|
17
17
|
Requires-Dist: psutil
|
18
18
|
Provides-Extra: tests
|
19
19
|
Requires-Dist: pytest <8.0.0 ; extra == 'tests'
|
20
|
+
Requires-Dist: py-pde ; extra == 'tests'
|
20
21
|
|
21
22
|
# <img src="https://raw.githubusercontent.com/numba-mpi/numba-mpi/main/.github/numba_mpi_logo.svg" style="height:50pt" alt="numba-mpi logo"> numba-mpi
|
22
23
|
|
@@ -168,6 +169,7 @@ if numba_mpi.rank() == 0:
|
|
168
169
|
- Intel MPI: https://intel.com/content/www/us/en/developer/tools/oneapi/mpi-library-documentation.html
|
169
170
|
- MPI bindings:
|
170
171
|
- Python: https://mpi4py.readthedocs.io
|
172
|
+
- Python/JAX: https://mpi4jax.readthedocs.io
|
171
173
|
- Julia: https://juliaparallel.org/MPI.jl
|
172
174
|
- Rust: https://docs.rs/mpi
|
173
175
|
- C++: https://boost.org/doc/html/mpi.html
|
@@ -175,5 +177,11 @@ if numba_mpi.rank() == 0:
|
|
175
177
|
|
176
178
|
### Acknowledgements:
|
177
179
|
|
178
|
-
|
180
|
+
We thank [all contributors](https://github.com/numba-mpi/numba-mpi/graphs/contributors) and users who reported feedback to the project
|
181
|
+
through [GitHub issues](https://github.com/numba-mpi/numba-mpi/issues).
|
182
|
+
|
183
|
+
Development of numba-mpi has been supported by the [Polish National Science Centre](https://ncn.gov.pl/en) (grant no. 2020/39/D/ST10/01220),
|
184
|
+
the [Max Planck Society](https://www.mpg.de/en) and the [European Union](https://erc.europa.eu/) (ERC, EmulSim, 101044662).
|
185
|
+
We further acknowledge Poland’s high-performance computing infrastructure [PLGrid](https://plgrid.pl) (HPC Centers: [ACK Cyfronet AGH](https://www.cyfronet.pl/en))
|
186
|
+
for providing computer facilities and support within computational grant no. PLG/2023/016369.
|
179
187
|
|
@@ -1,23 +1,23 @@
|
|
1
|
-
numba_mpi/__init__.py,sha256=
|
1
|
+
numba_mpi/__init__.py,sha256=_DsPxgrR80KiJTLqzZRNMVsK_TUJt7EfNFy_MWvBOWk,754
|
2
2
|
numba_mpi/common.py,sha256=2JJoUrd3Qa6GIFk6Zlt2NudS7ZurPxpVwBLRGSkCg5E,2266
|
3
3
|
numba_mpi/utils.py,sha256=gfGFuzmGgs4FnBqzPI91ftAq4UHgXb_HFkvxrVWkcIo,1866
|
4
4
|
numba_mpi/api/__init__.py,sha256=Zj5df4lWeGpxAXV8jKGFnmtLBQ50HwNU8dPf-os06X8,51
|
5
5
|
numba_mpi/api/allreduce.py,sha256=szS7YzrQ5a90LlKDiefyxVEiAXnsHbni5g2M1of0TmE,3261
|
6
6
|
numba_mpi/api/barrier.py,sha256=9VSJPBC4V0H-xo47uzlT8Hp4xmQhTNLxg5bAcX3Y03g,461
|
7
7
|
numba_mpi/api/bcast.py,sha256=8SsYFj9qRjx4l3Q9367JMZd469izlf4if1qusuYILqU,1843
|
8
|
-
numba_mpi/api/initialized.py,sha256=
|
8
|
+
numba_mpi/api/initialized.py,sha256=oKXpZzHeips0VU1U9wEF_578kOrfKb_IEXxD_aQ2c2E,497
|
9
9
|
numba_mpi/api/irecv.py,sha256=r4JvE7JJPN_hFpS79-idYL3dtp8tR0y0VoIRuHJ29lM,1120
|
10
10
|
numba_mpi/api/isend.py,sha256=2mpP4FhMk0GrikjDluKwRnpVywdLj9RD4HVVEMSj9A8,1080
|
11
11
|
numba_mpi/api/operator.py,sha256=3VTPZAdOP05bxdqt3lA0hRDICM-iaBMa4m-krEdO91s,342
|
12
|
-
numba_mpi/api/rank.py,sha256=
|
12
|
+
numba_mpi/api/rank.py,sha256=1xZvHUclsK20aMtK07JzXYxW5F4Er8HZgOmcf495sjo,597
|
13
13
|
numba_mpi/api/recv.py,sha256=YsYK-q7PNfi3zt0ftVddM363VsnJ4XFfmgMq8aeCr-o,1260
|
14
14
|
numba_mpi/api/requests.py,sha256=5EhgFyeQCGP8YclSPwxP95c2AhBo19CLlShK0TxCR2U,9114
|
15
15
|
numba_mpi/api/scatter_gather.py,sha256=goZn4BxMKakWQHjfXIOdjzK3DJ-lTeaiQQwgnyQeZ_s,2410
|
16
16
|
numba_mpi/api/send.py,sha256=jn1hPw0YHBHOaeJop_ZbjaBChaqgfw3nM1xGhW9sabI,909
|
17
|
-
numba_mpi/api/size.py,sha256
|
17
|
+
numba_mpi/api/size.py,sha256=-RX-FtcIH4qDxCoGOhZjjgEWXpytt79vsH0YX9dtZuY,597
|
18
18
|
numba_mpi/api/wtime.py,sha256=qrTqlefW7K7hqnAQKkGYm8kgdiRGuSAGiHmPcTrhLzE,279
|
19
|
-
numba_mpi-0.
|
20
|
-
numba_mpi-0.
|
21
|
-
numba_mpi-0.
|
22
|
-
numba_mpi-0.
|
23
|
-
numba_mpi-0.
|
19
|
+
numba_mpi-1.0.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
20
|
+
numba_mpi-1.0.0.dist-info/METADATA,sha256=X9KbPWSmXB953BPIUua1e9ZVeXP2XeDM9Ppp0ailOKI,9687
|
21
|
+
numba_mpi-1.0.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
22
|
+
numba_mpi-1.0.0.dist-info/top_level.txt,sha256=yb_ktLmrfuhOZS0rjS81FFNC-gK_4c19WbLG2ViP73g,10
|
23
|
+
numba_mpi-1.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|