musica 0.11.1.2__cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl → 0.11.1.3__cp310-cp310-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.2"
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,21 +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
+ readelf -d $so_path
12
13
  # Use patchelf to fix the rpath and library dependencies
13
- patchelf --remove-rpath "$tmpdir"/_musica*.so
14
- patchelf --set-rpath "\$ORIGIN:\$ORIGIN/../../nvidia/cublas/lib:\$ORIGIN/../../nvidia/cuda_runtime/lib" --force-rpath "$tmpdir"/_musica*.so
14
+ patchelf --remove-rpath $so_path
15
+ patchelf --set-rpath "\$ORIGIN:\$ORIGIN/../nvidia/cublas/lib:\$ORIGIN/../nvidia/cuda_runtime/lib" --force-rpath $so_path
15
16
  # these may need to be periodically updated
16
- patchelf --replace-needed libcudart-b5a066d7.so.12.2.140 libcudart.so.12 "$tmpdir"/_musica*.so
17
- patchelf --replace-needed libcublas-e779a79d.so.12.2.5.6 libcublas.so.12 "$tmpdir"/_musica*.so
18
- patchelf --replace-needed libcublasLt-fbfbc8a1.so.12.2.5.6 libcublasLt.so.12 "$tmpdir"/_musica*.so
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
19
20
  # Remove bundled CUDA libraries
20
21
  rm -f "$tmpdir"/musica.libs/libcudart-*.so*
21
22
  rm -f "$tmpdir"/musica.libs/libcublas-*.so*
22
23
  rm -f "$tmpdir"/musica.libs/libcublasLt-*.so*
23
24
  echo "After patchelf:"
24
- readelf -d "$tmpdir"/_musica*.so
25
+ readelf -d $so_path
25
26
  # Repack the wheel with correct structure
26
27
  (cd "$tmpdir" && zip -qr "${whl%.whl}.patched.whl" .)
27
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.2
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,18 +1,18 @@
1
- _musica.cpython-310-i386-linux-gnu.so,sha256=K0zvGPnr6vZYvjAQL5rZRnoejbJbFCLTVzLV4whQn_c,3389912
2
- lib/libmusica.a,sha256=2tSoSUbmwuPllxxNiaPQqaaIyWkEnlE1JFQSGjlR76Y,1870926
3
- lib/libyaml-cpp.a,sha256=Piw-iT0uNF-ZxU-DYXpvCaiTKYhHxFxzT_q6vUOvKJ8,960542
4
- musica/CMakeLists.txt,sha256=FJkD0MaB1qUNDpyCsjELAW4wpuSslfzyo-YCJwLkIp4,1128
1
+ musica/CMakeLists.txt,sha256=3U0eWvyisYs7N3hjIbF4jvZmyu1ANASWu3TFbUWbdY8,1032
5
2
  musica/binding.cpp,sha256=zDD_TQ7icS_lNG7iUAp23VG7_odbptGJbtRdYjalsdc,656
6
3
  musica/musica.cpp,sha256=BBRtL9_Q62ia_vhmpTqpnHHGimPBpCR5YVth8x0i0h4,8399
7
- musica/__init__.py,sha256=CW7SVuK4kO8bYg8wB56YGun-NBRmBqWQO379qP21Yvo,82
8
- musica/types.py,sha256=WQYTDT3aZQVvCyXmaEGuBYqtdx3IZk1Ao5bcmPUGzXM,14895
9
- musica/_version.py,sha256=1jBkD_yRHAJvY5k1vGhWG2wbI0EGpqPngkvh7RDvAhs,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
10
7
  musica/mechanism_configuration.cpp,sha256=E7GGeftgQGL303nsk2C7pwYpPiMAQcuxdbadohHb1QM,27100
11
- musica/mechanism_configuration.py,sha256=pma248L_jjQecsxL9zIn-S4KxXNlSL1NL4LB4fN5jV0,58011
8
+ musica/mechanism_configuration.py,sha256=NXQRxKR_vqWSdhXLBQoZmfjNHuYhIQIcFdRMU9V0MjM,58018
9
+ musica/_musica.cpython-310-i386-linux-gnu.so,sha256=HFjWekkphKttkIFUTUj9fUfUoHG-Hq2zMYaQqhXdPS0,3389912
10
+ musica/lib/libmusica.a,sha256=wIAAlOg7VMKKdTDKcb-THvAbJIdyqeU1sEoY36bhLxM,1870926
11
+ musica/lib/libyaml-cpp.a,sha256=ZrSWfQ-EEfDe_NDB3aajG4CirFxFgJJDmHqsbZilghE,960542
12
12
  musica/test/test_chapman.py,sha256=Wm0wLy6E1Zm8p6cLaICQO9tSy_szMkYn9E7MPCtobno,3070
13
- musica/test/test_parser.py,sha256=VhOPNrcDnFGgk2v_iMoLNq5JBP22VbkHTHLk3N09d3s,24292
13
+ musica/test/test_parser.py,sha256=vvuy2YJzkh0kc28zCS8vB7x4FYsS06kx0YN_cBFTQQ0,24299
14
14
  musica/test/tuvx.py,sha256=rWvBcG6cgLJylqkf8M0MFMKT2AkyoaZlGdaKjVSbCR8,116
15
- musica/test/test_analytical.py,sha256=5rIlpy5bzpTfZNv8wAND8O5KA8Wvh3Bm64pTRRlSHgc,13775
15
+ musica/test/test_analytical.py,sha256=3yS61j3uD3d0jhA7kBN5yzA6qoGuGGlnb-UeNH-N-PE,13782
16
16
  musica/test/examples/v1/full_configuration.yaml,sha256=s9Go7AQv9OFQ7zVb1k4wmDj2vpHYzVCTRqi8JZTHlUM,5235
17
17
  musica/test/examples/v1/full_configuration.json,sha256=7AqPhTHodSjtV8LOPoUsA9MtCu_Xc28RVOlhNGPI9GQ,8807
18
18
  musica/test/examples/v0/species.json,sha256=xKTcwh9QV9sRjLPK9GvGEnatBrRPbP857NmPG0bCXqU,565
@@ -21,10 +21,10 @@ musica/test/examples/v0/config.yaml,sha256=GgA18mP8ZCzOdY-AlAePK48M05PJFPeWCk-If
21
21
  musica/test/examples/v0/reactions.json,sha256=7WJhItBPtGu89vLcPMK6izW8BvwUAIjfzqwjtDmfPPg,4188
22
22
  musica/test/examples/v0/reactions.yaml,sha256=uEuQOz5i7vGyn0G7KsmdWv23V2Gn0QUmexrK030CFlo,2266
23
23
  musica/test/examples/v0/config.json,sha256=7s6g5jxH2GiEiRcZmO13IJ5k4walg1C9t-dQr9o45U4,79
24
- musica/tools/repair_wheel_gpu.sh,sha256=EjtYb9ORfXZn_9j50YVPXhgPP3HJc9xJogw30q46w08,1317
24
+ musica/tools/repair_wheel_gpu.sh,sha256=L3jdsUfqiBeulXrkmxiVD0ZjvfdKO7PYjOq1RSyWXFw,1259
25
25
  musica/tools/prepare_build_environment_linux.sh,sha256=9rkT0bTVmu9QQqhS6eGRX1HXMQZLfkUGakkC3i5VKec,1466
26
26
  musica/tools/prepare_build_environment_windows.sh,sha256=zMY_RIerqfMC1VlfpZ2KjjDWfBUOvvx8oRNk_jJhmII,826
27
- musica-0.11.1.2.dist-info/WHEEL,sha256=C9MHKU4XQOsPtqB8Fc9BpKOwJ2BaQTX-QpGVMm9jNwY,152
28
- musica-0.11.1.2.dist-info/METADATA,sha256=Aehj-KwjLoVTpAFwaocvKadc3T-meJRaq_OhiK8qRyM,20814
29
- musica-0.11.1.2.dist-info/RECORD,,
30
- musica-0.11.1.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
27
+ musica-0.11.1.3.dist-info/WHEEL,sha256=C9MHKU4XQOsPtqB8Fc9BpKOwJ2BaQTX-QpGVMm9jNwY,152
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