numba-mpi 1.1.4__py3-none-any.whl → 1.1.6__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 CHANGED
@@ -11,6 +11,7 @@ from .api.initialized import initialized
11
11
  from .api.irecv import irecv
12
12
  from .api.isend import isend
13
13
  from .api.operator import Operator
14
+ from .api.query_thread import query_thread
14
15
  from .api.rank import rank
15
16
  from .api.recv import recv
16
17
  from .api.reduce import reduce
@@ -0,0 +1,20 @@
1
+ """file contains MPI_Query_thread() implementation"""
2
+
3
+ import ctypes
4
+
5
+ import numba
6
+ import numpy as np
7
+
8
+ from numba_mpi.common import libmpi
9
+
10
+ _MPI_Query_thread = libmpi.MPI_Query_thread
11
+ _MPI_Query_thread.restype = ctypes.c_int
12
+ _MPI_Query_thread.argtypes = [ctypes.c_void_p]
13
+
14
+
15
+ @numba.njit()
16
+ def query_thread():
17
+ """wrapper for MPI_Query_thread()"""
18
+ provided = np.empty(1, dtype=np.intc)
19
+ _ = _MPI_Query_thread(provided.ctypes.data)
20
+ return provided[0]
@@ -1,13 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: numba-mpi
3
- Version: 1.1.4
3
+ Version: 1.1.6
4
4
  Summary: Numba @jittable MPI wrappers tested on Linux, macOS and Windows
5
- Home-page: https://github.com/numba-mpi/numba-mpi
6
- Author: https://github.com/numba-mpi/numba-mpi/graphs/contributors
7
- License: GPL v3
5
+ Author-email: "https://github.com/numba-mpi/numba-mpi/graphs/contributors" <sylwester.arabas@agh.edu.pl>
6
+ License-Expression: GPL-3.0-only
8
7
  Project-URL: Tracker, https://github.com/numba-mpi/numba-mpi/issues
9
8
  Project-URL: Documentation, https://numba-mpi.github.io/numba-mpi
10
9
  Project-URL: Source, https://github.com/numba-mpi/numba-mpi
10
+ Keywords: MPI,numba
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: Scientific/Engineering
16
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
17
+ Classifier: Topic :: Scientific/Engineering :: Physics
18
+ Classifier: Topic :: Software Development :: Libraries
11
19
  Requires-Python: >=3.8
12
20
  Description-Content-Type: text/markdown
13
21
  License-File: LICENSE
@@ -16,19 +24,11 @@ Requires-Dist: numpy
16
24
  Requires-Dist: mpi4py
17
25
  Requires-Dist: psutil
18
26
  Provides-Extra: tests
19
- Requires-Dist: pytest<8.0.0; extra == "tests"
27
+ Requires-Dist: pytest; extra == "tests"
20
28
  Requires-Dist: py-pde; extra == "tests"
21
- Dynamic: author
22
- Dynamic: description
23
- Dynamic: description-content-type
24
- Dynamic: home-page
25
- Dynamic: license
29
+ Provides-Extra: ci-version-pins
30
+ Requires-Dist: pytest<8.0.0; extra == "ci-version-pins"
26
31
  Dynamic: license-file
27
- Dynamic: project-url
28
- Dynamic: provides-extra
29
- Dynamic: requires-dist
30
- Dynamic: requires-python
31
- Dynamic: summary
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
34
34
 
@@ -174,8 +174,7 @@ if numba_mpi.rank() == 0:
174
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
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
- - tests on Intel MacOS (v13) 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
- - `numba-mpi` currently does not support ARM-based MacOS, due to required code improvement (see [related issue](https://github.com/numba-mpi/numba-mpi/issues/164) - TODO #164).
177
+ - 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).
179
178
 
180
179
  ### MPI resources on the web:
181
180
 
@@ -1,4 +1,4 @@
1
- numba_mpi/__init__.py,sha256=EsiszqT6I7-Vrbgdk36_mGp5kHpAS5AYCkhjRya-5rg,785
1
+ numba_mpi/__init__.py,sha256=UupJqiiT2YdyzF80ZOIR3Gc1HX6MY8EsDtFGYcSw_xA,828
2
2
  numba_mpi/common.py,sha256=XOnXiy2hDFIsNkhTUXuPY17Xz-a9xg6F-SxIayMrgqU,2555
3
3
  numba_mpi/utils.py,sha256=gfGFuzmGgs4FnBqzPI91ftAq4UHgXb_HFkvxrVWkcIo,1866
4
4
  numba_mpi/api/__init__.py,sha256=Zj5df4lWeGpxAXV8jKGFnmtLBQ50HwNU8dPf-os06X8,51
@@ -9,6 +9,7 @@ numba_mpi/api/initialized.py,sha256=oKXpZzHeips0VU1U9wEF_578kOrfKb_IEXxD_aQ2c2E,
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/query_thread.py,sha256=2oVA2cYIeG6fcDJZGOetYrLoFyND--b-4qARGM_D5_E,462
12
13
  numba_mpi/api/rank.py,sha256=1xZvHUclsK20aMtK07JzXYxW5F4Er8HZgOmcf495sjo,597
13
14
  numba_mpi/api/recv.py,sha256=YsYK-q7PNfi3zt0ftVddM363VsnJ4XFfmgMq8aeCr-o,1260
14
15
  numba_mpi/api/reduce.py,sha256=ug8WctzXRuxD3IrvrXN4sAfWdjJ1vvMhwykTgF8nn1s,3233
@@ -17,8 +18,8 @@ numba_mpi/api/scatter_gather.py,sha256=goZn4BxMKakWQHjfXIOdjzK3DJ-lTeaiQQwgnyQeZ
17
18
  numba_mpi/api/send.py,sha256=jn1hPw0YHBHOaeJop_ZbjaBChaqgfw3nM1xGhW9sabI,909
18
19
  numba_mpi/api/size.py,sha256=-RX-FtcIH4qDxCoGOhZjjgEWXpytt79vsH0YX9dtZuY,597
19
20
  numba_mpi/api/wtime.py,sha256=qrTqlefW7K7hqnAQKkGYm8kgdiRGuSAGiHmPcTrhLzE,279
20
- numba_mpi-1.1.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
21
- numba_mpi-1.1.4.dist-info/METADATA,sha256=eT5AKcMbkmDUvhGI0u42NXnHvCO-fiYmGzaxut0B8z0,11237
22
- numba_mpi-1.1.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
23
- numba_mpi-1.1.4.dist-info/top_level.txt,sha256=yb_ktLmrfuhOZS0rjS81FFNC-gK_4c19WbLG2ViP73g,10
24
- numba_mpi-1.1.4.dist-info/RECORD,,
21
+ numba_mpi-1.1.6.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
22
+ numba_mpi-1.1.6.dist-info/METADATA,sha256=Augv4alfk4ttT8RtkfZpSMfYIsK-PocFQdaKxVWVSe8,11367
23
+ numba_mpi-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ numba_mpi-1.1.6.dist-info/top_level.txt,sha256=yb_ktLmrfuhOZS0rjS81FFNC-gK_4c19WbLG2ViP73g,10
25
+ numba_mpi-1.1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5