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.9.0.tar.gz (480.8 kB view details)

Uploaded Source

Built Distributions

clode-0.9.0-cp312-cp312-win_amd64.whl (535.9 kB view details)

Uploaded CPython 3.12 Windows x86-64

clode-0.9.0-cp312-cp312-macosx_12_0_universal2.whl (593.3 kB view details)

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

clode-0.9.0-cp311-cp311-win_amd64.whl (535.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

clode-0.9.0-cp311-cp311-macosx_12_0_universal2.whl (589.4 kB view details)

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

clode-0.9.0-cp310-cp310-win_amd64.whl (535.6 kB view details)

Uploaded CPython 3.10 Windows x86-64

clode-0.9.0-cp310-cp310-macosx_12_0_x86_64.whl (589.5 kB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

clode-0.9.0-cp39-cp39-win_amd64.whl (535.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

clode-0.9.0-cp39-cp39-macosx_12_0_x86_64.whl (589.6 kB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: clode-0.9.0.tar.gz
  • Upload date:
  • Size: 480.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for clode-0.9.0.tar.gz
Algorithm Hash digest
SHA256 54c1d57b54a248da3643795e621eb7d59515d79e638ee1419902be025f0251c4
MD5 80d09c0334ccd25bb1ed934fbf4bdb9e
BLAKE2b-256 886005446f315d638e6ce6212dc6812de0787a76c942d657191f8cc0cdee639a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clode-0.9.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 535.9 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for clode-0.9.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9ef028c64276e872699c9d6dc6f6f432b9ef150b49f40e79eade39df6940c1f6
MD5 0b535fd26a37f08f359be16d2aa8d347
BLAKE2b-256 0d59dccca15af9e740d14c55fc23307239b53803c309c19c2fc26951ced3fdb1

See more details on using hashes here.

File details

Details for the file clode-0.9.0-cp312-cp312-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for clode-0.9.0-cp312-cp312-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 8b72bf48298f57e50c4e40b73606ae602532aea149f5f3daf5c8ff66935b53a6
MD5 d9e46e3e5b9c5e2cc779deec064cdeb4
BLAKE2b-256 b97d452c7820019ac72054c4d0685a40f67fc6276ffe956850e91bb991c3394c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clode-0.9.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d00e437dbba989acf10c95976641251a839293288c798d3d8d0f42a05bb30089
MD5 54cea4516fa9147e501e4684f2bddd89
BLAKE2b-256 aadd694edf2dd125cdd54aefd7feaf1892a46596cd7d868b8f821180beb83c1f

See more details on using hashes here.

File details

Details for the file clode-0.9.0-cp311-cp311-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for clode-0.9.0-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 4c925b4a285d8320ed1d884806ea3fe4062ed0ac60a453c337ba92ba9a1512df
MD5 0e24574448cab12398b8ca8edc938ef7
BLAKE2b-256 6f34c607ca8b9a7d5bac8831fb7192f3ad5225d2080a671cc16d069d6770a3b8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clode-0.9.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 78ce56207f40dea3c933120702fd492d3bbf3773511c833831812647efa8ddf1
MD5 e436f47b92e37834c57bdffad8a45d0f
BLAKE2b-256 97dd7a425a4a4f9960dfcd03f80d69f1d094ab93cb6c37d5c206632900d3e7f8

See more details on using hashes here.

File details

Details for the file clode-0.9.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for clode-0.9.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 b1c6766e7b1b2fcc57e6cfb208812b9b430aaf6b9549b9bc5613a18790944111
MD5 0802de3718d298984b55f820f67e919b
BLAKE2b-256 a4e68314a4d8b671808e2103136ee0768cdf47db6a07ed2cc7c4870466a1ea5f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clode-0.9.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f6f62e9c214165b41469a1075bdb3ae92b49040523d6e1bd46fcd00932620acf
MD5 d4e6d1a2825123327f53e355816d008c
BLAKE2b-256 f780f61e505f7a7a857c9667e6e635107f93194dfe3f9c15ce1e90225981259b

See more details on using hashes here.

File details

Details for the file clode-0.9.0-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for clode-0.9.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 8abbb4a8e1caa05cb5aa86c772891539e93d2a03ab849e9ca87479eaa03c1de0
MD5 6161b0223f1ed270679639d50c8c6425
BLAKE2b-256 0a450457e849c55310a72a57f141bfcef68135e55469d504abb5257f5473d45c

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