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.2.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.2.0-cp312-cp312-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 10.13+ x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.13+ x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

pybammsolvers-0.2.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.2.0.tar.gz.

File metadata

  • Download URL: pybammsolvers-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 a508e35ce2b493de9b86782f9ed9265d112b82f032822e9aac8380d0bad0baba
MD5 ae16b58c5f2b7c7aef2d37fbc39d54fd
BLAKE2b-256 d614676589802b91aefcb332a455b11100644f3e0416a11eeb746b28463c8b9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 62e10fcfee2e060aaa2a9d2ef7994c1b004f75f50a78a6eef8587927c696e897
MD5 28b65f3e2f7c92beb3040f73a5b59139
BLAKE2b-256 a6cd94fc8c6821fe58e939570312298bb08f5a193df3b1e37b4b939f8ea36ccb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdc68fd17e7b29b15d1e67911f2f8bf50d0f3674e4536ad7d2aeec8fdd158503
MD5 f55affa3c166c1bb203161044c976893
BLAKE2b-256 91d6612f622002f0c8228691ce6e64e9b3858bd05c4219b7fa5a888318871af3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e3fb8d7e10c2ebb3456978d16f9c85cb4de0dcbdc6769fad24ce3de744fb2af
MD5 dde5d07b62479072492013a56a0a680b
BLAKE2b-256 5d07d31a3234e1078120ac7b4cf0f9fb8ccfff560328fcf3d7b491372c11853f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 40974feeff6b0276760c08359f8643cd91f85e95750cd6ce83a48f70c4345071
MD5 3a13a5a478c9025df09eb37ab08e2387
BLAKE2b-256 e49852e2cb5b5b2d4d6435f9473e15a9e7910c70621328575c5eba98168884db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d9f604ebef3bb75812a5affdbf4ab2236cc7cf9f45c275a53072fd8998bbaee1
MD5 3133b69812b02129fe3d379de16b5eb0
BLAKE2b-256 dfe8aae0d17f335ca467aea442fe6aa60c8b7fa1ce65766d2b67c3a1d568c5ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3c67bdf3de768488eefa6c4b6a056f2d15e3dd4a6f66422ac9ba79529a8d598
MD5 fe2791bd7fd1ad2dff8cdfd23c2f4cc3
BLAKE2b-256 b2a0957e9b7d3799b75fcf9e760c29604c886de4e15997d070680c29bf05d7c1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30776816c767a0a6348916b646a545810d1355fe0ce38801c5c38d123a0ac3e1
MD5 17e6cb451ee39fadc25f82575e70d6b3
BLAKE2b-256 d18c554e7fbcf4abfdaec5af1cd7a2aba349b53122c8ab70045763d0061a4623

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6e6aec7646061830c2358750fc71fa9fd0972e3a84f91fd2879e9f5037045e2d
MD5 971efa21de0f5a37b6bbcb5e7d56b48c
BLAKE2b-256 1292a6958ca9fe9fd2e934f205cf363ead994b9ea9286ac797b3dfe0ecfc73d9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8b825934461bcd4b38e67ce686d74dd4b49b10d98399600cf72dda8c57f6c636
MD5 4d63d0108be89a9286a934d6c05f7b16
BLAKE2b-256 1b31aa883ceeed4406886145e4d6ffc8c7d7302d07cfdeb3182a6ac28645ec4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68dcf1175aa83be8321f0e5b717e18346a1ba8316eab2337b9b76f5c043a46f0
MD5 c82c27a3fb851d5a224f960ec88db126
BLAKE2b-256 96905a894324345e2c69f6214c7c24be0f96d08dab254f3e686228dff2f48d6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7b1679a67c9eb22db8cb9d2752303460fe7b9095f5e9ceafe73a0152310ec3e
MD5 e9b878370d50b4c53833a1ee1f404f41
BLAKE2b-256 eeaca59dcf7c430b21ddf05f79a426dc70ed5bcb6142352a255c5c7a9517fbfb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pybammsolvers-0.2.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 6a361ed5de025f25cfb30b6b84fd72a67126a770f2a76ee9b24688fc89e447d3
MD5 4f47165964973c154a13130bfe62c7ef
BLAKE2b-256 fabbd02120f77753d476609274446cb696a6a47b7602fb1d262b12e13366522b

See more details on using hashes here.

Provenance

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