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.1.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.1-cp313-cp313-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.13Windows x86-64

pybammsolvers-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (17.0 MB view details)

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

pybammsolvers-0.3.1-cp313-cp313-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pybammsolvers-0.3.1-cp313-cp313-macosx_10_13_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

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

Uploaded CPython 3.12Windows x86-64

pybammsolvers-0.3.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

pybammsolvers-0.3.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.13+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pybammsolvers-0.3.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pybammsolvers-0.3.1-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.1.tar.gz.

File metadata

  • Download URL: pybammsolvers-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d5de5c15429217d736dbdf91362e9d204862fcd29b22ce66c99aa3ac6f6640a9
MD5 5a090e31b680cb9f911c9b8f274e4862
BLAKE2b-256 58d7667add67675e133f155dea778e90921b4ff39027cbcfeee8c9c543181563

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1.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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2a54126c97e4dd04061be45921bdbbf97f37418bc943a44c96a865a19baeddb4
MD5 ba0f56b953cae33f532b9bcbeea8a605
BLAKE2b-256 99c275a79589256fa8cbc04ff40cfa59595bf8e1480325069dd553eff5983770

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-cp313-cp313-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.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 71ffdf2d27f52411fce5b6e8a4e80a0075be8308696ccaa9d8900546d0cfc1e2
MD5 89c0198d4b1033ed3098a8dfd28c65b8
BLAKE2b-256 8d0b0e774e32a6cf2e9e9d9267cdfad4cec6780c888e520b810ee2c1e3303248

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-cp313-cp313-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.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa76a90fd910de6372b5a54b86c4e7cb48c053668055107b9ec823be6ea14614
MD5 a16025c9b8e06a9b681e2add3e9d94ee
BLAKE2b-256 712870159eb0e3b560c27d5e6929c616fcc5ff9da096d608ff5078df545737cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-cp313-cp313-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.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f480c38c9149d46bf2f70dc93bd0472c8e22913753e73e11a2e161b72c27ff38
MD5 f92ab2cad925867d9e728afa70621622
BLAKE2b-256 2cd204b0c5400536542bb9027cc483a56b0afcf7510c5c96807bec23db745dd3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f671bee197815b3d613e58758e7929f5f94bbf38f6f921651f8e3089cd448b75
MD5 1b103cfad0ad2b33fd9b9c5ee6591953
BLAKE2b-256 f1e90069e60ac0e1ed194c813e40f85d72cd216f6a64735581bb3910801bc2bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 11db51c0a2e1cec0afd3fa130e5632b37508d472d971b235e58db9fbd2f291f7
MD5 3959c7dc7659df3f64e70d1949a78e5e
BLAKE2b-256 ab120a2ac0d00bdbb5b7db2d3d46b9c29e491db23f07e108cc61dbd3d2bd8183

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04f8560c0d43b83e0957401a2aa753acad3ed31edfdfe6e9b9940bacf0a12c5c
MD5 94a7fb11d57d1c41a7cc4c091f5893aa
BLAKE2b-256 ee120a3d3c1ed9c79502cc6004844c858148c5456b2179c33473039f8ebbf0c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f838dc55d5dd1a6cc424e443412e3c30ef982d28d2a629f4fe8463c49bf63386
MD5 8a203149afc879cd3453bc43607a24db
BLAKE2b-256 1171b6aeb3eb4fd3bdea8b112c0d6c8ab66dea3395f698c0b02fc354984db678

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6f1da28b7bd132de05a411558fb07b232cecfda2837fc3294326909e827243b7
MD5 4f5b9445251f6c9e3edb6fb2c3afee4b
BLAKE2b-256 af7303dcb92da31cd3466531cfb00521e830b0f6b14841948c88e34b5b427535

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55817b3a041a66bc22032945a35ace6a3f8ecbbd17af123af1f9720935b6fc6f
MD5 7d478938a438e4be43493fe8023e2a94
BLAKE2b-256 bd628b9dbf269c58028abdb6b44fcfcff7c3b0208076a6636522d4f09c662489

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 da04b62544793e30f247affdb2281524f2eb330a3a1a4384ed77fbdbd6d05c9d
MD5 9528812345b2ed179004b4eab4188432
BLAKE2b-256 8de68acbf228c111c00ae2ceff5abe535b66c924fd5c9d7b668062261ded676b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a3ea2b6815a92389fcc155e8b9b64f53e5fc8ea23f5bc331a741427451d2ccb7
MD5 42239b2134e0e950be80478b9436f002
BLAKE2b-256 3896bfae89a30c554e69fcc716cb83218a03aee8ef6c0eb7d5e0647f691ae0f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1e18a75855d679a8335fd4489fff3f9d44aa0c9ba32ed3e8b35514845bd1c669
MD5 78373a9db8ea21252d0692edb506ccb3
BLAKE2b-256 b7d62c718e293016ce602fc272e6a80c3fc5ab0fde36b4adb13f6a912f519c04

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 71c2458d34f54065c9e569e3e5f73083dd7b2b52c56b34290281ade85858d7f1
MD5 a9224ab229b19c24f5611ebbd14a0a23
BLAKE2b-256 47ea238f68c49f918af7fab83ee79e4a241c6267c059bf509ee63249bcdfc628

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybammsolvers-0.3.1-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.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 339f85dcefc6e49e4da720c36d4ca68f6d54543506408af7abad45abc78a2d72
MD5 221ced5a19ad7ff579d8f1270c3529c2
BLAKE2b-256 7109364fe15ead243c98b3fb5f64b45beb25bbd1deebcc78e1c64075ae045675

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.3.1-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a945bf50d8d48ea7393db48d0aa4150c2ba1a60009a9a06c8ddd615d9c09024c
MD5 ea330ac26d66052e49bf4525a9b70b52
BLAKE2b-256 dcf546471d9e642597d7a604d7987d14e87625b5c46d2854ea650d4513342fc6

See more details on using hashes here.

Provenance

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