musica 0.11.1.1__cp310-cp310-macosx_11_0_arm64.whl → 0.11.1.3__cp310-cp310-macosx_11_0_arm64.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 +9 -9
- musica/__init__.py +1 -1
- musica/_version.py +1 -1
- {lib → musica/lib}/libmusica.a +0 -0
- {lib → musica/lib}/libyaml-cpp.a +0 -0
- musica/mechanism_configuration.py +1 -1
- musica/test/test_analytical.py +1 -1
- musica/test/test_parser.py +1 -1
- musica/tools/repair_wheel_gpu.sh +10 -4
- musica/types.py +2 -2
- {musica-0.11.1.1.dist-info → musica-0.11.1.3.dist-info}/METADATA +1 -1
- {musica-0.11.1.1.dist-info → musica-0.11.1.3.dist-info}/RECORD +15 -15
- /_musica.cpython-310-darwin.so → /musica/_musica.cpython-310-darwin.so +0 -0
- {musica-0.11.1.1.dist-info → musica-0.11.1.3.dist-info}/WHEEL +0 -0
- {musica-0.11.1.1.dist-info → musica-0.11.1.3.dist-info}/licenses/LICENSE +0 -0
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
|
|
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
|
|
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
musica/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = "0.11.1.
|
|
1
|
+
version = "0.11.1.3"
|
{lib → musica/lib}/libmusica.a
RENAMED
|
Binary file
|
{lib → musica/lib}/libyaml-cpp.a
RENAMED
|
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,
|
musica/test/test_analytical.py
CHANGED
musica/test/test_parser.py
CHANGED
musica/tools/repair_wheel_gpu.sh
CHANGED
|
@@ -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
|
|
12
|
-
patchelf
|
|
13
|
-
patchelf --
|
|
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
|
|
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,
|
|
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.
|
|
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,25 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
musica-0.11.1.
|
|
3
|
-
musica-0.11.1.
|
|
4
|
-
musica-0.11.1.
|
|
5
|
-
musica
|
|
6
|
-
|
|
7
|
-
lib/libmusica.a,sha256=WyTXy2qjdAKGf_ydiucc_-KfASdDBNkchCR6OuPutt4,1355336
|
|
8
|
-
musica/CMakeLists.txt,sha256=FJkD0MaB1qUNDpyCsjELAW4wpuSslfzyo-YCJwLkIp4,1128
|
|
9
|
-
musica/mechanism_configuration.py,sha256=pma248L_jjQecsxL9zIn-S4KxXNlSL1NL4LB4fN5jV0,58011
|
|
1
|
+
musica-0.11.1.3.dist-info/RECORD,,
|
|
2
|
+
musica-0.11.1.3.dist-info/WHEEL,sha256=87YilxMELXSqqZymMWWtrBQ8MObQp3jOwOGXoMbDavg,114
|
|
3
|
+
musica-0.11.1.3.dist-info/METADATA,sha256=oB8w46MzI7reKyE2mtWvpuBY0dtjSIYXk7zrBjbXrog,20814
|
|
4
|
+
musica-0.11.1.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
+
musica/CMakeLists.txt,sha256=3U0eWvyisYs7N3hjIbF4jvZmyu1ANASWu3TFbUWbdY8,1032
|
|
6
|
+
musica/mechanism_configuration.py,sha256=NXQRxKR_vqWSdhXLBQoZmfjNHuYhIQIcFdRMU9V0MjM,58018
|
|
10
7
|
musica/binding.cpp,sha256=zDD_TQ7icS_lNG7iUAp23VG7_odbptGJbtRdYjalsdc,656
|
|
11
|
-
musica/_version.py,sha256=
|
|
12
|
-
musica/__init__.py,sha256=
|
|
13
|
-
musica/types.py,sha256=
|
|
8
|
+
musica/_version.py,sha256=rWofPK7FSYAXzMkIby1qsuT93bZ5vP19yAl8ow1RFtg,21
|
|
9
|
+
musica/__init__.py,sha256=v81Z3iQfONy1NdSlRB7Skdwl2mGYF-w9K_zbXzA9HqM,89
|
|
10
|
+
musica/types.py,sha256=kK7pyXLMobfHz5y7mJy858-4YE2RJC5PsOsbBB5ktX0,14897
|
|
11
|
+
musica/_musica.cpython-310-darwin.so,sha256=WQjNHdVOPq6urLdD4mPoDskVOUjEQIfWgjvBZzzZVcc,1693360
|
|
14
12
|
musica/mechanism_configuration.cpp,sha256=E7GGeftgQGL303nsk2C7pwYpPiMAQcuxdbadohHb1QM,27100
|
|
15
13
|
musica/musica.cpp,sha256=BBRtL9_Q62ia_vhmpTqpnHHGimPBpCR5YVth8x0i0h4,8399
|
|
16
14
|
musica/tools/prepare_build_environment_windows.sh,sha256=zMY_RIerqfMC1VlfpZ2KjjDWfBUOvvx8oRNk_jJhmII,826
|
|
17
15
|
musica/tools/prepare_build_environment_linux.sh,sha256=9rkT0bTVmu9QQqhS6eGRX1HXMQZLfkUGakkC3i5VKec,1466
|
|
18
|
-
musica/tools/repair_wheel_gpu.sh,sha256=
|
|
19
|
-
musica/test/test_parser.py,sha256=
|
|
16
|
+
musica/tools/repair_wheel_gpu.sh,sha256=L3jdsUfqiBeulXrkmxiVD0ZjvfdKO7PYjOq1RSyWXFw,1259
|
|
17
|
+
musica/test/test_parser.py,sha256=vvuy2YJzkh0kc28zCS8vB7x4FYsS06kx0YN_cBFTQQ0,24299
|
|
20
18
|
musica/test/test_chapman.py,sha256=Wm0wLy6E1Zm8p6cLaICQO9tSy_szMkYn9E7MPCtobno,3070
|
|
21
19
|
musica/test/tuvx.py,sha256=rWvBcG6cgLJylqkf8M0MFMKT2AkyoaZlGdaKjVSbCR8,116
|
|
22
|
-
musica/test/test_analytical.py,sha256=
|
|
20
|
+
musica/test/test_analytical.py,sha256=3yS61j3uD3d0jhA7kBN5yzA6qoGuGGlnb-UeNH-N-PE,13782
|
|
23
21
|
musica/test/examples/v1/full_configuration.yaml,sha256=s9Go7AQv9OFQ7zVb1k4wmDj2vpHYzVCTRqi8JZTHlUM,5235
|
|
24
22
|
musica/test/examples/v1/full_configuration.json,sha256=7AqPhTHodSjtV8LOPoUsA9MtCu_Xc28RVOlhNGPI9GQ,8807
|
|
25
23
|
musica/test/examples/v0/species.json,sha256=xKTcwh9QV9sRjLPK9GvGEnatBrRPbP857NmPG0bCXqU,565
|
|
@@ -28,3 +26,5 @@ musica/test/examples/v0/config.json,sha256=7s6g5jxH2GiEiRcZmO13IJ5k4walg1C9t-dQr
|
|
|
28
26
|
musica/test/examples/v0/config.yaml,sha256=GgA18mP8ZCzOdY-AlAePK48M05PJFPeWCk-IfrPN_VE,44
|
|
29
27
|
musica/test/examples/v0/reactions.json,sha256=7WJhItBPtGu89vLcPMK6izW8BvwUAIjfzqwjtDmfPPg,4188
|
|
30
28
|
musica/test/examples/v0/reactions.yaml,sha256=uEuQOz5i7vGyn0G7KsmdWv23V2Gn0QUmexrK030CFlo,2266
|
|
29
|
+
musica/lib/libyaml-cpp.a,sha256=L4BQwvAlMO-Rq4ifr6Hf9BlX8yr6bpdi-5H0K_PSZVE,795856
|
|
30
|
+
musica/lib/libmusica.a,sha256=-n6J0pUfbVfuxcbn31czZNhEB-SMQXeq2ksMKFjAWts,1355336
|
|
File without changes
|
|
File without changes
|
|
File without changes
|