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
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 libopenblas-dev gcc gfortran make g++ build-essential
pip install cmake casadi setuptools wheel
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.1.0.tar.gz (44.8 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.1.0-cp312-cp312-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.12Windows x86-64

pybammsolvers-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pybammsolvers-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pybammsolvers-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

pybammsolvers-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pybammsolvers-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pybammsolvers-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.11macOS 10.13+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pybammsolvers-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pybammsolvers-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pybammsolvers-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.10macOS 10.13+ x86-64

pybammsolvers-0.1.0-cp39-cp39-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9Windows x86-64

pybammsolvers-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pybammsolvers-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pybammsolvers-0.1.0-cp39-cp39-macosx_10_13_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.9macOS 10.13+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pybammsolvers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd7214d6a7d226feabedf82497f99caf3238e6ebce2aec16236bf7a5cea72d2c
MD5 c267a5ce55541c497d52f01b0eb74d08
BLAKE2b-256 3afd00967d8331ce7628ba39f4c0b8be9bed073c7dc9a29033a0315677bd8601

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 57af4d9583a6b1deb9ea7dcbb41081770b6286eaa500ed79e3b55d2ca77102d6
MD5 19ec1d990ec3764df84c205c66655643
BLAKE2b-256 57437f6b6f923bac36be735dc0bcc606f007d7eaa29d2ace84575fde0d7b8b62

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a61b1591ec73d1de5500ac7e31a0cc315ced378512ead467c224ef53d4617bf
MD5 dd221b549e36100485f0e80716731d7a
BLAKE2b-256 5a2d1ff1cb31b7e11d990b28a64610d181593b108f4361c59ef3fc2d27e3108b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_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.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5b45fdcf13dde3d69ef18450bb1dc4ec968ee57070576ad56ed91bfe915dd66f
MD5 9070bb45693dac4be46b1c591749ae13
BLAKE2b-256 0045035fe15fd92d351dc021ed2fb0068c87ebedf671bdfdeac7adf268810308

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ccd26bb4f6585143097019460feff4c63d3eaca5c036d72eee4eabd6ef6ef267
MD5 8486e0b985e07e13244a3708d4f2a892
BLAKE2b-256 82111f395c6409a180dcd79877da2562f62048835abdea6a7867ef8bf1401b63

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 614aaf4d2f9ccedaca44312171fc945c5fb5c15d86aa52e5a98de817732745df
MD5 1803d5d5a2d92053c235b1b7c1e71efb
BLAKE2b-256 6c3066a49907e4056b3905050a1ac143564659a0910f72f1b3f09e396e828e21

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2dfb1a58715ff0aeccc75282117a6a746649980dd22f5876f4db5364abbe318
MD5 1cbc330eaf4ed114d249b94e1e9fed77
BLAKE2b-256 0213fcd9be708f721be9b0bc1c7051bea85ddfe0f8938e141f6bbf82a43657bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_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.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5bf12b429ef2ad0afc8f44d0d9c89e71d20bf2d8e57dbcc141a6704dc42d4d4
MD5 7d7868f8545c3ec05edf968dc81a8438
BLAKE2b-256 b468c2a42be19e914a313d2ad4395856fb9dc4e6b07cf28ec6df7c0212c9ef26

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp311-cp311-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 1359708f6b9aa9e4d6f4c6e9e95eb3f8ddca6d0ef6198d391ccf3064c2473ce3
MD5 abee9de7523f5dc564815f8cc2ef80e3
BLAKE2b-256 b0b4c227b89e414eced3ae2c1b93ddba2167accc4279813845eabce3805ca57a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c128882661304a6e3c910d3060d397797b8c00cfb4d5d328be20ecfb72674678
MD5 54b93fc33870f7b0044240be72753d4a
BLAKE2b-256 574403d90d1347119f5d95615adbc6d3dff87d682b76c0ad044db0d9c1304267

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 446708e957d4ec5cc747a1038d8197f327f0a1622683dcef89f375d4d7b2d2ab
MD5 5ef0ec59d459afab78b72001ea4017d4
BLAKE2b-256 71490d101864b4e6f51181e79eff123f6b7272335c0feb2979464636c628e871

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_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.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce21cfc4b9df61929a36ae987e1c924a52530de126104708007133d2c0b887ea
MD5 0981bd4f429070737fe4c87d18b8f0ef
BLAKE2b-256 dc11e1ef5eed1b836c536f42f1b6c07da9de06acf357c6d3d59ec211fccc9ba7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.1.0-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 21b95e5bbbdef215a501b7c5c2e2beea85370299e3c29a5947fd0b08757a8142
MD5 7bc7a2c5991ddcb047a22ef21e82566d
BLAKE2b-256 3f2943f02ea19731d2eb549d7b2eda4302f0cfe59b517aa2dfb516dd971baeea

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.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.

File details

Details for the file pybammsolvers-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5c9760062c6e1fa504279bdf4a17bde1f65d72844fae4f7b6a92ef0246be7da8
MD5 6dee3beffe5131b8156ecc54508a8df2
BLAKE2b-256 1ab2b3802f948d25b450e01ddaa103d071279d1f56860a6e6daa4d523ddc1a4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp39-cp39-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.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a981dee8e5731d25e418ef123df0572503551f0e3803bdc3e56b9d6eed6f198
MD5 eaa4c51ee204764e81260a65fbf9fc3d
BLAKE2b-256 98bdd8943e1438e932e69a5f20a1a68ac282f43e0686358ef55c7d1bd687ab4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_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.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a170cba3b50161f1b4a0a7ce83415718820f3d38666a4d7e42ff2883a66ca9a1
MD5 3b0f3446ae971fb2e273bcb3647eba94
BLAKE2b-256 3c9ef17a853ad8fb1b866911dfd166516aab34969ab4691e0999b5c6531bcd7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp39-cp39-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.1.0-cp39-cp39-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.1.0-cp39-cp39-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 eeb816e24fa74d7102b765c9869cd8006a6156a4bdeb8e036746b93f0071a3b6
MD5 57f551f899e2cbf45212a12a4195a4dc
BLAKE2b-256 941b09f53ce067c717abf798bab778d861a7be459dab19d0572c1bc91edfbf42

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.1.0-cp39-cp39-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