musica 0.11.1.1__cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl → 0.11.1.3__cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.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.

Potentially problematic release.


This version of musica might be problematic. Click here for more details.

musica/CMakeLists.txt CHANGED
@@ -19,15 +19,8 @@ if (APPLE)
19
19
  BUILD_WITH_INSTALL_RPATH TRUE
20
20
  )
21
21
  elseif(UNIX)
22
- set(CUDA_RPATH
23
- "$ORIGIN/../../nvidia/cublas/lib"
24
- "$ORIGIN/../../nvidia/cuda_runtime/lib"
25
- )
26
-
27
- message(STATUS "Adding RPATH for python site packages libs at ${CUDA_RPATH}")
28
-
29
22
  set_target_properties(_musica PROPERTIES
30
- INSTALL_RPATH "$ORIGIN;${CUDA_RPATH}"
23
+ INSTALL_RPATH "$ORIGIN"
31
24
  BUILD_WITH_INSTALL_RPATH TRUE
32
25
  )
33
26
  endif()
@@ -44,4 +37,11 @@ else()
44
37
  set(PYTHON_MODULE_PATH "${CMAKE_CURRENT_BINARY_DIR}")
45
38
  endif()
46
39
 
47
- install(TARGETS _musica yaml-cpp musica LIBRARY DESTINATION .)
40
+ install(TARGETS _musica LIBRARY DESTINATION musica)
41
+
42
+ install(
43
+ TARGETS
44
+ yaml-cpp musica
45
+ LIBRARY DESTINATION musica/lib
46
+ ARCHIVE DESTINATION musica/lib
47
+ )
musica/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
- from _musica import *
1
+ from musica._musica import *
2
2
  from .types import *
3
3
  from .mechanism_configuration import *
musica/_version.py CHANGED
@@ -1 +1 @@
1
- version = "0.11.1.1"
1
+ version = "0.11.1.3"
Binary file
Binary file
@@ -4,7 +4,7 @@
4
4
  # This file is part of the musica Python package.
5
5
  # For more information, see the LICENSE file in the top-level directory of this distribution.
6
6
  from typing import Optional, Any, Dict, List, Union, Tuple
7
- from _musica._mechanism_configuration import (
7
+ from musica._musica._mechanism_configuration import (
8
8
  _ReactionType,
9
9
  _Species,
10
10
  _Phase,
@@ -3,7 +3,7 @@ import numpy as np
3
3
  import musica
4
4
  import random
5
5
  import musica.mechanism_configuration as mc
6
- from _musica._core import _is_cuda_available
6
+ from musica._musica._core import _is_cuda_available
7
7
 
8
8
 
9
9
  def TestSingleGridCell(solver, state, time_step, places=5):
@@ -1,6 +1,6 @@
1
1
  import pytest
2
2
  from musica.mechanism_configuration import *
3
- from _musica._mechanism_configuration import _ReactionType
3
+ from musica._musica._mechanism_configuration import _ReactionType
4
4
 
5
5
 
6
6
  def validate_species(species):
@@ -7,16 +7,22 @@ for whl in "$2"/*.whl; do
7
7
  tmpdir=$(mktemp -d)
8
8
  unzip -q "$whl" -d "$tmpdir"
9
9
  tree "$tmpdir"
10
+ so_path="$tmpdir"/musica/_musica*.so
10
11
  echo "Before patchelf:"
11
- readelf -d "$tmpdir"/_musica*.so
12
- patchelf --remove-rpath "$tmpdir"/_musica*.so
13
- patchelf --set-rpath "\$ORIGIN:\$ORIGIN/../../nvidia/cublas/lib:\$ORIGIN/../../nvidia/cuda_runtime/lib" --force-rpath "$tmpdir"/_musica*.so
12
+ readelf -d $so_path
13
+ # Use patchelf to fix the rpath and library dependencies
14
+ patchelf --remove-rpath $so_path
15
+ patchelf --set-rpath "\$ORIGIN:\$ORIGIN/../nvidia/cublas/lib:\$ORIGIN/../nvidia/cuda_runtime/lib" --force-rpath $so_path
16
+ # these may need to be periodically updated
17
+ patchelf --replace-needed libcudart-b5a066d7.so.12.2.140 libcudart.so.12 $so_path
18
+ patchelf --replace-needed libcublas-e779a79d.so.12.2.5.6 libcublas.so.12 $so_path
19
+ patchelf --replace-needed libcublasLt-fbfbc8a1.so.12.2.5.6 libcublasLt.so.12 $so_path
14
20
  # Remove bundled CUDA libraries
15
21
  rm -f "$tmpdir"/musica.libs/libcudart-*.so*
16
22
  rm -f "$tmpdir"/musica.libs/libcublas-*.so*
17
23
  rm -f "$tmpdir"/musica.libs/libcublasLt-*.so*
18
24
  echo "After patchelf:"
19
- readelf -d "$tmpdir"/_musica*.so
25
+ readelf -d $so_path
20
26
  # Repack the wheel with correct structure
21
27
  (cd "$tmpdir" && zip -qr "${whl%.whl}.patched.whl" .)
22
28
  rm -rf "$tmpdir"
musica/types.py CHANGED
@@ -3,10 +3,10 @@
3
3
  #
4
4
  # This file is part of the musica Python package.
5
5
  # For more information, see the LICENSE file in the top-level directory of this distribution.
6
- from typing import Optional, Any, Dict, List, Union, Tuple
6
+ from typing import Optional, Dict, List, Union, Tuple
7
7
  from os import PathLike
8
8
  import math
9
- from _musica._core import (
9
+ from musica._musica._core import (
10
10
  _Conditions,
11
11
  _SolverType,
12
12
  _Solver,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: musica
3
- Version: 0.11.1.1
3
+ Version: 0.11.1.3
4
4
  Summary: MUSICA is a Python library for performing computational simulations in atmospheric chemistry.
5
5
  Author-Email: Matthew Dawsom <mattdawson@ucar.edu>, Jiwon Gim <jiwongim@ucar.edu>, David Fillmore <fillmore@ucar.edu>, Kyle Shores <kshores@ucar.edu>, Montek Thind <mthind@ucar.edu>
6
6
  Maintainer-Email: ACOM MUSICA Developers <musica-support@ucar.edu>
@@ -1,22 +1,18 @@
1
- _musica.cpython-39-i386-linux-gnu.so,sha256=HNCuVxqxJzoAe8U74GmnUfTy-XCY9bDiUr-zHidZjso,3393976
2
- lib/libmusica.a,sha256=tPT-hqgy_3YsxYvv1DiLVMxRNSLn4faumBHUKlpmKHM,1870926
3
- lib/libyaml-cpp.a,sha256=Akan7L4Z6Th1vXG1kTzy-hseMU7rmoTyeuF9lXNE26Y,960542
4
- musica-0.11.1.1.dist-info/WHEEL,sha256=ErHUB7C7ibwP9mW2O3N1pI6BcJR-lMwFCn14CCnaQg8,148
5
- musica-0.11.1.1.dist-info/METADATA,sha256=URpXjU5lo-wyROln6GI9YbAqGFDPH0gq8O30EzTW5uc,20814
6
- musica-0.11.1.1.dist-info/RECORD,,
7
- musica-0.11.1.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
8
- musica/CMakeLists.txt,sha256=FJkD0MaB1qUNDpyCsjELAW4wpuSslfzyo-YCJwLkIp4,1128
1
+ musica/CMakeLists.txt,sha256=3U0eWvyisYs7N3hjIbF4jvZmyu1ANASWu3TFbUWbdY8,1032
9
2
  musica/binding.cpp,sha256=zDD_TQ7icS_lNG7iUAp23VG7_odbptGJbtRdYjalsdc,656
10
3
  musica/musica.cpp,sha256=BBRtL9_Q62ia_vhmpTqpnHHGimPBpCR5YVth8x0i0h4,8399
11
- musica/__init__.py,sha256=CW7SVuK4kO8bYg8wB56YGun-NBRmBqWQO379qP21Yvo,82
12
- musica/types.py,sha256=WQYTDT3aZQVvCyXmaEGuBYqtdx3IZk1Ao5bcmPUGzXM,14895
13
- musica/_version.py,sha256=TDOJiVZ58e1fM3phG3qufrhY43ZQTXYyp_PCrrYj2Ek,21
4
+ musica/__init__.py,sha256=v81Z3iQfONy1NdSlRB7Skdwl2mGYF-w9K_zbXzA9HqM,89
5
+ musica/types.py,sha256=kK7pyXLMobfHz5y7mJy858-4YE2RJC5PsOsbBB5ktX0,14897
6
+ musica/_version.py,sha256=rWofPK7FSYAXzMkIby1qsuT93bZ5vP19yAl8ow1RFtg,21
14
7
  musica/mechanism_configuration.cpp,sha256=E7GGeftgQGL303nsk2C7pwYpPiMAQcuxdbadohHb1QM,27100
15
- musica/mechanism_configuration.py,sha256=pma248L_jjQecsxL9zIn-S4KxXNlSL1NL4LB4fN5jV0,58011
8
+ musica/_musica.cpython-39-i386-linux-gnu.so,sha256=BVt43oSJexfuIYqc9Np63I_hOxPQEoxHoJpkm_LbUM0,3393976
9
+ musica/mechanism_configuration.py,sha256=NXQRxKR_vqWSdhXLBQoZmfjNHuYhIQIcFdRMU9V0MjM,58018
10
+ musica/lib/libmusica.a,sha256=XS1pAYMYlsWihloHbmj7XVG168Yw4DHxpAKKH9d9t4Q,1870926
11
+ musica/lib/libyaml-cpp.a,sha256=Uw1lplbEFgZXYd1GN4wmyV6qBk92Lje7ytFPrn-Qgtw,960542
16
12
  musica/test/test_chapman.py,sha256=Wm0wLy6E1Zm8p6cLaICQO9tSy_szMkYn9E7MPCtobno,3070
17
- musica/test/test_parser.py,sha256=VhOPNrcDnFGgk2v_iMoLNq5JBP22VbkHTHLk3N09d3s,24292
13
+ musica/test/test_parser.py,sha256=vvuy2YJzkh0kc28zCS8vB7x4FYsS06kx0YN_cBFTQQ0,24299
18
14
  musica/test/tuvx.py,sha256=rWvBcG6cgLJylqkf8M0MFMKT2AkyoaZlGdaKjVSbCR8,116
19
- musica/test/test_analytical.py,sha256=5rIlpy5bzpTfZNv8wAND8O5KA8Wvh3Bm64pTRRlSHgc,13775
15
+ musica/test/test_analytical.py,sha256=3yS61j3uD3d0jhA7kBN5yzA6qoGuGGlnb-UeNH-N-PE,13782
20
16
  musica/test/examples/v1/full_configuration.yaml,sha256=s9Go7AQv9OFQ7zVb1k4wmDj2vpHYzVCTRqi8JZTHlUM,5235
21
17
  musica/test/examples/v1/full_configuration.json,sha256=7AqPhTHodSjtV8LOPoUsA9MtCu_Xc28RVOlhNGPI9GQ,8807
22
18
  musica/test/examples/v0/species.json,sha256=xKTcwh9QV9sRjLPK9GvGEnatBrRPbP857NmPG0bCXqU,565
@@ -25,6 +21,10 @@ musica/test/examples/v0/config.yaml,sha256=GgA18mP8ZCzOdY-AlAePK48M05PJFPeWCk-If
25
21
  musica/test/examples/v0/reactions.json,sha256=7WJhItBPtGu89vLcPMK6izW8BvwUAIjfzqwjtDmfPPg,4188
26
22
  musica/test/examples/v0/reactions.yaml,sha256=uEuQOz5i7vGyn0G7KsmdWv23V2Gn0QUmexrK030CFlo,2266
27
23
  musica/test/examples/v0/config.json,sha256=7s6g5jxH2GiEiRcZmO13IJ5k4walg1C9t-dQr9o45U4,79
28
- musica/tools/repair_wheel_gpu.sh,sha256=PHWls1cS9QOElQDIgSMOh7TkHB8UNylZbls9zSjSus0,917
24
+ musica/tools/repair_wheel_gpu.sh,sha256=L3jdsUfqiBeulXrkmxiVD0ZjvfdKO7PYjOq1RSyWXFw,1259
29
25
  musica/tools/prepare_build_environment_linux.sh,sha256=9rkT0bTVmu9QQqhS6eGRX1HXMQZLfkUGakkC3i5VKec,1466
30
26
  musica/tools/prepare_build_environment_windows.sh,sha256=zMY_RIerqfMC1VlfpZ2KjjDWfBUOvvx8oRNk_jJhmII,826
27
+ musica-0.11.1.3.dist-info/WHEEL,sha256=ErHUB7C7ibwP9mW2O3N1pI6BcJR-lMwFCn14CCnaQg8,148
28
+ musica-0.11.1.3.dist-info/METADATA,sha256=oB8w46MzI7reKyE2mtWvpuBY0dtjSIYXk7zrBjbXrog,20814
29
+ musica-0.11.1.3.dist-info/RECORD,,
30
+ musica-0.11.1.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357