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)
clODE is a tool for solving ordinary differential equations (ODEs) using OpenCL. It is tailored to numerically solving many instances of a given ODE system in parallel, each with different parameter sets and/or initial conditions.
The ODE solver runs entirely on the OpenCL device, supporting independent solver state per simulation (e.g., adaptive timesteps). clODE can return the full trajectories, though this is somewhat memory intensive. Alternatively, clODE supports computing features of the ODE trajectory (e.g., oscillation period) on the fly without storing the trajectory itself, enabling much larger parameter sweeps to be run with significant speedup over serial computation.
clODE is written in C++ and OpenCL, and can be used directly in C++ programs or via the provided Python interface. The library is compiled using bazel and bazelisk, and it runs on Linux, Windows and MacOS.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for clode-0.4.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 015e20ac9d1931d4a267ba9430e2a30209e7d4d956f96643b20b8c2222bdab76 |
|
MD5 | 17fddb501b91b4af535ba2263ef27345 |
|
BLAKE2b-256 | a555d9e6b35f6021c84cd72700fd0615f310a77079e179cff08f4d3ae2944477 |
Hashes for clode-0.4.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc770ffb380fcc4b4c34853a17706b8cebd9b7fe468e01dbad9404fdfc6ef0ec |
|
MD5 | d47fefa51d6349c3301a5d2a30787cd7 |
|
BLAKE2b-256 | b7dd382eb0b2a5d184870e6bfc1886d12af9f2ab6cedfea79dc8fa05f3671920 |