numba-mpi 1.1.3__py3-none-any.whl → 1.1.4__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/common.py CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  import ctypes
4
4
  import os
5
+ import sys
5
6
  from ctypes.util import find_library
6
7
  from pathlib import Path
7
8
 
@@ -72,6 +73,12 @@ else:
72
73
  break
73
74
 
74
75
  if LIB is None:
76
+ if sys.platform == "darwin":
77
+ raise RuntimeError(
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
80
+ """
81
+ )
75
82
  raise RuntimeError("no MPI library found")
76
83
 
77
84
  libmpi = ctypes.CDLL(LIB)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: numba-mpi
3
- Version: 1.1.3
3
+ Version: 1.1.4
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
@@ -23,6 +23,7 @@ Dynamic: description
23
23
  Dynamic: description-content-type
24
24
  Dynamic: home-page
25
25
  Dynamic: license
26
+ Dynamic: license-file
26
27
  Dynamic: project-url
27
28
  Dynamic: provides-extra
28
29
  Dynamic: requires-dist
@@ -1,5 +1,5 @@
1
1
  numba_mpi/__init__.py,sha256=EsiszqT6I7-Vrbgdk36_mGp5kHpAS5AYCkhjRya-5rg,785
2
- numba_mpi/common.py,sha256=2JJoUrd3Qa6GIFk6Zlt2NudS7ZurPxpVwBLRGSkCg5E,2266
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
5
5
  numba_mpi/api/allreduce.py,sha256=szS7YzrQ5a90LlKDiefyxVEiAXnsHbni5g2M1of0TmE,3261
@@ -17,8 +17,8 @@ numba_mpi/api/scatter_gather.py,sha256=goZn4BxMKakWQHjfXIOdjzK3DJ-lTeaiQQwgnyQeZ
17
17
  numba_mpi/api/send.py,sha256=jn1hPw0YHBHOaeJop_ZbjaBChaqgfw3nM1xGhW9sabI,909
18
18
  numba_mpi/api/size.py,sha256=-RX-FtcIH4qDxCoGOhZjjgEWXpytt79vsH0YX9dtZuY,597
19
19
  numba_mpi/api/wtime.py,sha256=qrTqlefW7K7hqnAQKkGYm8kgdiRGuSAGiHmPcTrhLzE,279
20
- numba_mpi-1.1.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
21
- numba_mpi-1.1.3.dist-info/METADATA,sha256=cBFNRsbMKWsQVU0TA3q9VNGBQlxzCmTzHjP4W5Mo_TU,11215
22
- numba_mpi-1.1.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
23
- numba_mpi-1.1.3.dist-info/top_level.txt,sha256=yb_ktLmrfuhOZS0rjS81FFNC-gK_4c19WbLG2ViP73g,10
24
- numba_mpi-1.1.3.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5