musica 0.11.1.2__cp39-cp39-win_amd64.whl → 0.11.1.3__cp39-cp39-win_amd64.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,12 +1,12 @@
1
- _musica.cp39-win_amd64.pyd,sha256=Rq-evLr9QtznJbb8T0ZE2-tVhf4IvCXTe7oeQHaqlxg,1388544
2
- lib/musica.lib,sha256=dVBEIayZ1QuUgRHtHwXcMuvhgGcZT9KO9y4dFQEcF7U,5507286
3
- lib/yaml-cpp.lib,sha256=ArZqmD9HqvStcmCYhsUdW3tLlT2QbNWb3HfhtnS85Ws,2764186
4
- musica/__init__.py,sha256=ZtW55jXUkE_2GFco1Q1GyGrpyNoVej6gfbpEWHzfpM0,85
5
- musica/_version.py,sha256=Q-neckHF6Bee2eqnfo7VN5R_4zuG4-FYCTHp3IILvdM,22
1
+ musica/__init__.py,sha256=vlnNyE1xHUnuUku_1lLg8bg_pYFHxFH3DpnOcQMKP1c,92
2
+ musica/_musica.cp39-win_amd64.pyd,sha256=i4RJSqWfmxwWPF4HHL98GOUN0I0GB-WEShLBov4Z9IY,1388544
3
+ musica/_version.py,sha256=a-wMJUGHDPJ_p6jbklLRlOFCvtij_kv2yf1N-xME9Gs,22
6
4
  musica/binding.cpp,sha256=rpc7Fn_GmR2Femli_gEvtgtiprRnForekUlMDoBo7PQ,674
7
- musica/CMakeLists.txt,sha256=j5m-7lf8E1YwpiEeUml5GL27hS4sfpgn2h2LzoQDiO8,1174
5
+ musica/CMakeLists.txt,sha256=4B3tGFYd_ywwZ5XHnbnHQXCzR9rA8mDgfsgrsPia8hY,1078
6
+ musica/lib/musica.lib,sha256=cqgjF35qY1GGMuzY9IT9Uh0xIQZfiUTpmMx9K4ApXEo,5507286
7
+ musica/lib/yaml-cpp.lib,sha256=-g76dPgy6qYCGCb-QmEAbivXD1ouEsc7-fNWFK348D4,2764186
8
8
  musica/mechanism_configuration.cpp,sha256=JXGAO3j1EEKYdswjrtX8J3KcI_YlfS9WGRmlMxctaDw,27619
9
- musica/mechanism_configuration.py,sha256=_0kS0fvGS-CbQ_YfJOeSM416u7WLPwq7GzDcPgGGBWA,59302
9
+ musica/mechanism_configuration.py,sha256=Zh2qrVq9m756IE57vR_lNHrAKFeY3deIh5nZdi8SBTk,59309
10
10
  musica/musica.cpp,sha256=z4nucF98Nd-V6U_OLp_5RsW4WGE8qMn3GWLvCuY_nJE,8612
11
11
  musica/test/examples/v0/config.json,sha256=JDQdrDNRmRXGYlytX1uiSDV1lkYIAneLwlodHKFw-os,85
12
12
  musica/test/examples/v0/config.yaml,sha256=r31QbiFE2YDudGxLGpTKnpyveTnlfXeLgJ2qSrQddDY,47
@@ -16,15 +16,15 @@ musica/test/examples/v0/species.json,sha256=klFuYb2vAtWdHfHJVYuIuPe_6LHRTuB0Aw29
16
16
  musica/test/examples/v0/species.yaml,sha256=ECT9DDa2GMwhSRaRLxjOiCATTKkTRTPwugRsUjHSytY,302
17
17
  musica/test/examples/v1/full_configuration.json,sha256=1-kr2bZJvfuENfy6FMfc5ZEOtgs_NhzHYeGrEGLqLMw,9240
18
18
  musica/test/examples/v1/full_configuration.yaml,sha256=9NSd8BUJnJ6CPjX9ZngqbFDEqUf1qG5ixbnQDO2m79k,5505
19
- musica/test/test_analytical.py,sha256=lY5XuEMEg7IEfTvEIeSRhShMNdX39q00H8RjqGnZB30,14098
19
+ musica/test/test_analytical.py,sha256=xWsMiysE_Ol49DJMGZU9jfGOUFHRjumeon7c9Q-658U,14105
20
20
  musica/test/test_chapman.py,sha256=_OHLNBWT5qcU8s3mQAisV16qOdyRq7gdaU4nFZtxTnY,3193
21
- musica/test/test_parser.py,sha256=s8b55MntiDmUeW3GP_-JHucEhxi5RMSzPWQULM73rpg,24985
21
+ musica/test/test_parser.py,sha256=R3GpWj2VQv8RNvjTZOjpoUzpa98yI1zfFbtKGrkIP_w,24992
22
22
  musica/test/tuvx.py,sha256=L8X7rJ09HiRlrhLK6fjircI8tGHnFCZJzVow8He5YOE,126
23
23
  musica/tools/prepare_build_environment_linux.sh,sha256=Xrd95nPnznqTAc24TVeehXP-7uMkJE1FysKKZsPYgPs,1507
24
24
  musica/tools/prepare_build_environment_windows.sh,sha256=sBBWhJQaS2zWDVFLIDMNBMOMPw8auXwnwz7nhuB5Q_k,847
25
- musica/tools/repair_wheel_gpu.sh,sha256=-_Bh2fWv_RE5N02CVEbMh8PMZ0ecygk-DafsCIaALdg,1347
26
- musica/types.py,sha256=GA04nbo-m7Jg_TQMvFMdMC35kzSDynUHvt7alBnM8FI,15257
27
- musica-0.11.1.2.dist-info/METADATA,sha256=Aehj-KwjLoVTpAFwaocvKadc3T-meJRaq_OhiK8qRyM,20814
28
- musica-0.11.1.2.dist-info/WHEEL,sha256=xQ-xCmlF4qxouQAzuoL89aPcFWjT6GFALxrEZjPUtFk,104
29
- musica-0.11.1.2.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
30
- musica-0.11.1.2.dist-info/RECORD,,
25
+ musica/tools/repair_wheel_gpu.sh,sha256=HNAePZE3gp0ODnQeDfBOfUmuGnADegHlC-oQLJRTWj4,1290
26
+ musica/types.py,sha256=yn20q6E8Xdoomcm3zdoebRgNKrnd6SgP0yz2WuwjMJ0,15259
27
+ musica-0.11.1.3.dist-info/METADATA,sha256=oB8w46MzI7reKyE2mtWvpuBY0dtjSIYXk7zrBjbXrog,20814
28
+ musica-0.11.1.3.dist-info/WHEEL,sha256=xQ-xCmlF4qxouQAzuoL89aPcFWjT6GFALxrEZjPUtFk,104
29
+ musica-0.11.1.3.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
30
+ musica-0.11.1.3.dist-info/RECORD,,