Skip to main content

A Python package for solving ordinary differential equations on the GPU using OpenCL

Project description

clODE - an OpenCL based tool for solving ordinary differential equations (ODEs)

Python PyPI version OpenSSF Scorecard Windows Mac Linux

Documentation
Documentation

clODE is an efficient computational tool designed for parallel solving of ordinary differential equation (ODE) ensembles using OpenCL. It lets users define their ODE system and the ensemble of parameter sets and initial conditions in Python. By leveraging OpenCL, significant speedups can be obtained for this inherently parallel problem on any CPU, GPU, or other device with OpenCL support. Two primary modes of simulation are supported:

  • FeatureSimulator computes features of ODE trajectories, such as oscillation period, on-the-fly, without storing the trajectory data, facilitating extensive parameter analyses with considerable computational speed improvements.
  • TrajectorySimulator stores the full trajectory data.

clODE offers flexibility in simulator deployment across different hardware, allowing, for example, the FeatureSimulator to operate on a GPU while the TrajectorySimulator runs on a CPU.

Developed in C++ and OpenCL, clODE is accessible for direct use in C++ applications or through a Python interface. The library compiles with bazel and bazelisk, and works on Linux, Windows, and MacOS platforms.

Installation

See installation for instructions on how to install CLODE.

Getting Started

See Getting Started for an example of clODE usage.

Source

The source code is available on GitHub.

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

clode-0.8.1.tar.gz (479.7 kB view details)

Uploaded Source

Built Distributions

clode-0.8.1-cp312-cp312-win_amd64.whl (535.2 kB view details)

Uploaded CPython 3.12 Windows x86-64

clode-0.8.1-cp312-cp312-macosx_10_9_universal2.whl (616.2 kB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

clode-0.8.1-cp311-cp311-win_amd64.whl (534.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

clode-0.8.1-cp311-cp311-macosx_10_9_universal2.whl (613.3 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

clode-0.8.1-cp310-cp310-win_amd64.whl (534.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

clode-0.8.1-cp310-cp310-macosx_11_0_x86_64.whl (602.6 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

clode-0.8.1-cp39-cp39-win_amd64.whl (534.8 kB view details)

Uploaded CPython 3.9 Windows x86-64

clode-0.8.1-cp39-cp39-macosx_11_0_x86_64.whl (602.8 kB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

clode-0.8.1-cp38-cp38-win_amd64.whl (534.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

clode-0.8.1-cp38-cp38-macosx_11_0_x86_64.whl (602.4 kB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

File details

Details for the file clode-0.8.1.tar.gz.

File metadata

  • Download URL: clode-0.8.1.tar.gz
  • Upload date:
  • Size: 479.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for clode-0.8.1.tar.gz
Algorithm Hash digest
SHA256 5387bd1ef4e72c9f10b2c2a182736242106b5c1eb5b3a052e048e8d6f420c134
MD5 734c123dfa6fa13c64b4ccce9a5babba
BLAKE2b-256 ac5a150abe49d3db616e8305a6af8763e3315ab2b881c9a0ee62e784c39b52d2

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: clode-0.8.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 535.2 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for clode-0.8.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bd1cb1454172cd4d80001a42129d7960b4fadb19235dd82920923d899a350c0a
MD5 e42fcdfe2b267052c06182da65a55da0
BLAKE2b-256 bbb72265eda94e047b1e929ee1ab4d55693195ce3cc25f3acc693bbe6151f2f4

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for clode-0.8.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8df5b8c63c29510dc7a91ce7132911b91794f06d22ef16f3edb2065320810e61
MD5 61462ec9cbe2667581c14b189e38bb32
BLAKE2b-256 f4f8e5d2afd9a09e57a098ae43bc5462be7afc4ded68ec5968c85af1fa4c675f

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: clode-0.8.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 534.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for clode-0.8.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 89ed9f7b325ab09b35cef3faad69d10f16f1539b917fbda555b5962f4069e05d
MD5 64be994228c86144dd4c5a1ede9a99aa
BLAKE2b-256 d0606565cad3c6018a9c166c054c0a012f052624e0ac501affe2fdd8b34fd488

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for clode-0.8.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e9ec0f71f472399fe27231115f52028474fedf401617696da1e43d05924bb8d5
MD5 9878c361b808d9c00017ba394548ef3f
BLAKE2b-256 403939f88bb7e86e4ea0ebc07fe3f867f33ea5f4a66b56dcd5753e94f002b313

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: clode-0.8.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 534.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.11

File hashes

Hashes for clode-0.8.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5f1025d0c8258a42f1547ef9a84bfe0063bf3b2c4e52080e107710b11df49f24
MD5 cff3e441f244f1a2535d1d186c5e860d
BLAKE2b-256 299723c6e949762510895012d8c249143c3147ffdf4b1dce0ba35c21bc147963

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for clode-0.8.1-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 53b2e6d8cd25c5225d6553dab1b8ac62bdd83606e954b86138cba776b00670f4
MD5 35b64d68bc5e81070285397778b0939e
BLAKE2b-256 d6101a7bade181821b1ad9a9588ff165301cf598a82f45708c21d535a52825ad

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: clode-0.8.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 534.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for clode-0.8.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 089b9b4f728295a5b9969b811f66e7ca4572419578e718dba3ec616c1f610dc4
MD5 38c272fc24466b05de3bd85998a1ccc7
BLAKE2b-256 45b3fc4779280463655a0af796b5f88d5468bacd85fd8f98d71e468b4e0cedc1

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for clode-0.8.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 40d96df9195be27d532a38d865411aaa6c907dbfd0ce3027d04b5e9da67b75c3
MD5 76a43297201455e8627844e52cf8d0a0
BLAKE2b-256 7e23376770e770a04c2beaaf7e7a7b30c1c18c04e51fcd0c5afd25a9195afcdb

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: clode-0.8.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 534.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.10

File hashes

Hashes for clode-0.8.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 99ea625648f521b57616f556d46004206231d9e44d176329831be5b90b6adcb1
MD5 7b8329b0e8b563d6811a31af1061cf01
BLAKE2b-256 fccc24d10b12f928f71fd6c75be66eece1952660d7fab06b8a55d0adf7bf8646

See more details on using hashes here.

File details

Details for the file clode-0.8.1-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for clode-0.8.1-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 47729b157a718a0daf7663ef0911cee8cd04269ba9b793154e5f1c176bbe03c5
MD5 3c679327f3087a53e8a85238e4840c4d
BLAKE2b-256 b4e66053e291e9607494824afd78dc80cc6ae2aa8df6133190309d7b35fba92d

See more details on using hashes here.

Supported by

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