numba-mpi 1.1.4__tar.gz → 1.1.5__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.4 → numba_mpi-1.1.5}/.zenodo.json +6 -2
- {numba_mpi-1.1.4/numba_mpi.egg-info → numba_mpi-1.1.5}/PKG-INFO +1 -1
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/__init__.py +1 -0
- numba_mpi-1.1.5/numba_mpi/api/query_thread.py +20 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5/numba_mpi.egg-info}/PKG-INFO +1 -1
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi.egg-info/SOURCES.txt +2 -0
- numba_mpi-1.1.5/tests/api/test_query_thread.py +8 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.github/numba_mpi_logo.png +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.github/numba_mpi_logo.svg +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.github/workflows/readme_snippets.yml +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.github/workflows/stale.yml +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.github/workflows/tests+pypi.yml +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.gitignore +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.pre-commit-config.yaml +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/.vscode/settings.json +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/CITATION.cff +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/CODE_OF_CONDUCT.md +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/LICENSE +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/README.md +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/__init__.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/allreduce.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/barrier.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/bcast.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/initialized.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/irecv.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/isend.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/operator.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/rank.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/recv.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/reduce.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/requests.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/scatter_gather.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/send.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/size.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/api/wtime.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/common.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi/utils.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi.egg-info/dependency_links.txt +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi.egg-info/requires.txt +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/numba_mpi.egg-info/top_level.txt +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/setup.cfg +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/setup.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/__init__.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_allreduce.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_barrier.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_bcast.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_init.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_isend_irecv.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_rank.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_reduce.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_scatter_gather.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_send_recv.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_size.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/api/test_wtime.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/common.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/exchange.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/hello.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/mpi4py_with_error.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/numba_mpi.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/py-pde.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/test.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/paper_listings/timing.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/test_paper_listings.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/test_version.py +0 -0
- {numba_mpi-1.1.4 → numba_mpi-1.1.5}/tests/utils.py +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
"description": "Numba @jittable wrappers for MPI C API tested on Linux, macOS and Windows",
|
4
4
|
"creators": [
|
5
5
|
{
|
6
|
-
"affiliation": "Jagiellonian University, Kraków, Poland",
|
6
|
+
"affiliation": "Jagiellonian University, Kraków, Poland (-2023); AGH University of Krakow, Poland (2023-)",
|
7
7
|
"name": "Arabas, Sylwester",
|
8
8
|
"orcid": "0000-0003-2361-0082"
|
9
9
|
},
|
@@ -21,6 +21,10 @@
|
|
21
21
|
"name": "Manna, Maciej",
|
22
22
|
"orcid": "0000-0002-7482-4913"
|
23
23
|
},
|
24
|
+
{
|
25
|
+
"affiliation": "AGH University of Krakow, Poland",
|
26
|
+
"name": "Michał Wroński"
|
27
|
+
},
|
24
28
|
{
|
25
29
|
"affiliation": "Max Planck Institute for Dynamics and Self-Organization, Göttingen, Germany",
|
26
30
|
"name": "Zwicker, David",
|
@@ -33,4 +37,4 @@
|
|
33
37
|
],
|
34
38
|
"license": "GPL-3.0-only",
|
35
39
|
"upload_type": "software"
|
36
|
-
}
|
40
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: numba-mpi
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
4
4
|
Summary: Numba @jittable 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
|
@@ -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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: numba-mpi
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.5
|
4
4
|
Summary: Numba @jittable 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
|
@@ -28,6 +28,7 @@ numba_mpi/api/initialized.py
|
|
28
28
|
numba_mpi/api/irecv.py
|
29
29
|
numba_mpi/api/isend.py
|
30
30
|
numba_mpi/api/operator.py
|
31
|
+
numba_mpi/api/query_thread.py
|
31
32
|
numba_mpi/api/rank.py
|
32
33
|
numba_mpi/api/recv.py
|
33
34
|
numba_mpi/api/reduce.py
|
@@ -46,6 +47,7 @@ tests/api/test_barrier.py
|
|
46
47
|
tests/api/test_bcast.py
|
47
48
|
tests/api/test_init.py
|
48
49
|
tests/api/test_isend_irecv.py
|
50
|
+
tests/api/test_query_thread.py
|
49
51
|
tests/api/test_rank.py
|
50
52
|
tests/api/test_reduce.py
|
51
53
|
tests/api/test_scatter_gather.py
|
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
|
File without changes
|
File without changes
|