Skip to main content

Python interface for the IDAKLU solver

Project description

IDAKLU solver

Standalone repository for the C/C++ solvers used in PyBaMM

Installation

pip install pybammsolvers 

Solvers

The following solvers are available:

  • PyBaMM's IDAKLU solver

Local builds

For testing new solvers and unsupported architectures, local builds are possible.

Nox

Nox can be used to do a quick build:

pip install nox
nox

This will setup an environment and attempt to build the library.

MacOS

Mac dependencies can be installed using brew

brew install libomp
brew reinstall gcc
git submodule update --init --recursive
python install_KLU_Sundials.py
pip install .

Linux

Linux installs may vary based on the distribution, however, the basic build can be performed with the following commands:

sudo apt-get install libopenblas-dev gcc gfortran make g++ build-essential
git submodules update --init --recursive
pip install cmake casadi setuptools wheel "pybind11[global]"
python install_KLU_Sundials.py
pip install .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybammsolvers-0.3.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pybammsolvers-0.3.0-cp312-cp312-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.12Windows x86-64

pybammsolvers-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pybammsolvers-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pybammsolvers-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

pybammsolvers-0.3.0-cp311-cp311-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.11Windows x86-64

pybammsolvers-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pybammsolvers-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pybammsolvers-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.11macOS 10.13+ x86-64

pybammsolvers-0.3.0-cp310-cp310-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10Windows x86-64

pybammsolvers-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (17.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pybammsolvers-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pybammsolvers-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.10macOS 10.13+ x86-64

File details

Details for the file pybammsolvers-0.3.0.tar.gz.

File metadata

  • Download URL: pybammsolvers-0.3.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pybammsolvers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5c858ebd6a693133a71f1615cec719af83b2f4914170b5d256364ea2248b4d86
MD5 667433ea60b614ec6ea22ecf61485b31
BLAKE2b-256 4aec4458b825a0fbbc29b96cf79936fbddb11c13a51e39bfd222ca259a9a770e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0.tar.gz:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 770198ff046e7fdc1ddad30c273d06ccb4f0cb1d2c79d5541c477673a9e5579a
MD5 a0cf648fdd708f7da6cc1cad14ab79df
BLAKE2b-256 2b0b5fb10831dadc52c194b772b68155b7e7d6a2bd9b5d3e1e0086cc0ce702f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp312-cp312-win_amd64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8ddf448aceeca8de15743eb99ce4cfe6bdd7be1e361d68fa4db64f270da340b
MD5 a48c84bd218491ab2f1f598fc1a07e9d
BLAKE2b-256 2e9108da0f4926b88ee1c7591f8c482857f78f4d2be712849aa7826433d7e47d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7e20cf366c2422fab9c0ad9f023cc03f54d64a9328c6412537365a8bdd64a12
MD5 969a82f66151ce48f507717e067b7f30
BLAKE2b-256 01569af957450abdd51a8fcd1679d6d1b3b3484c9d8a5a3fcf829ace02170dbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f04235dd4c2ceb50ff13e0f68d0a580f5e17d78e011b7d558e4da3c1feef0779
MD5 c78d6baa380699d5948b55c5243f55c6
BLAKE2b-256 25974218bcbd071dc38c9ec8cc642af42913ad354146412adf53d307212c9093

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 173621c56c8e59fb047b34119508839b8ab5d764175c86a0043ba4f28abc3ff5
MD5 7a397bd6eb7b5aa85818edb842d5756a
BLAKE2b-256 8177a848e6e066c4a8fa094599a70e24d4ff0eae84c4742ef02e4a82271db2fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp311-cp311-win_amd64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0cabff7016e91e24420698673dce74f7fdb52fb82f1b27729dffd2104c54eee6
MD5 971d19b7c326c6f23d02f837ed39656f
BLAKE2b-256 e99d405bcf1b8e78bf6291241107f4f941d091ed47acb144698783a874d0d567

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 850191594d23f73a133d52947f02943b48b54bb77433d28081ca0d54bcd5953f
MD5 d46dc1909180dc39395a2c6552369028
BLAKE2b-256 2341356c4c15873628e6c3b0bc04b8ecb748b66f85926ea79e6b5c9168785d9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5bc314d2a5229a19b64d7298f87d6650f1bfaf9a90a053adfc436ec1a8ede438
MD5 ddbba0797d277a0294f3cfab0f795b1e
BLAKE2b-256 d2c16d64ae137760cb990e5990f4cc58b8ae060de2ceafdf86221b873963683f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp311-cp311-macosx_10_13_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 77fcdc453525207595f424f824c7ccbca411705b3499f8473bed44e6937f345e
MD5 d60fb07a75267fbbf865c11e95572cb4
BLAKE2b-256 14e71f90001b3bbaa6d0fd25489960ed03f679cdf1a6f7b03a2c32da56ca3fa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp310-cp310-win_amd64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53220d00149be299a00a7231ff39313adbfcb7c5248d9bdd901d2f16c904ae95
MD5 2d326b3e26160d0754d3f7d14da37649
BLAKE2b-256 5a9c33840efa22ffd21cce05a97e09df546cb2821d2630308fb8321d7e169a4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bfecc2cb9898c92ffefb8e43557419891d2bb06c9b98edf93a111e06dd67d96
MD5 24aef0335f867bcce00c7f45a2ef6584
BLAKE2b-256 402fe8b597755c0b78edfdcde93f66f8e36cd118965420fa050badf087d7d0c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybammsolvers-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 10a888e1366a2865c179c8e6af34f5909c76dbdbd45edd4ebdae4b8d5d928299
MD5 e99d9da09603df26167fbc29c42f8395
BLAKE2b-256 6f06b4a5452827395b33358950d243617bf993ba804ed1943f4755ec23e1a265

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.0-cp310-cp310-macosx_10_13_x86_64.whl:

Publisher: build_wheels.yml on pybamm-team/pybammsolvers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page