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

Uploaded Source

Built Distributions

clode-0.8.3-cp312-cp312-win_amd64.whl (535.6 kB view details)

Uploaded CPython 3.12 Windows x86-64

clode-0.8.3-cp312-cp312-macosx_10_9_universal2.whl (618.4 kB view details)

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

clode-0.8.3-cp311-cp311-win_amd64.whl (535.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

clode-0.8.3-cp311-cp311-macosx_10_9_universal2.whl (614.8 kB view details)

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

clode-0.8.3-cp310-cp310-win_amd64.whl (535.4 kB view details)

Uploaded CPython 3.10 Windows x86-64

clode-0.8.3-cp310-cp310-macosx_11_0_x86_64.whl (604.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ x86-64

clode-0.8.3-cp39-cp39-win_amd64.whl (535.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

clode-0.8.3-cp39-cp39-macosx_11_0_x86_64.whl (605.0 kB view details)

Uploaded CPython 3.9 macOS 11.0+ x86-64

clode-0.8.3-cp38-cp38-win_amd64.whl (535.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

clode-0.8.3-cp38-cp38-macosx_11_0_x86_64.whl (604.6 kB view details)

Uploaded CPython 3.8 macOS 11.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for clode-0.8.3.tar.gz
Algorithm Hash digest
SHA256 0c80b1f7ca9fa29fcc12a74381742c9e50a681efda27106161be6c43ad338f7b
MD5 2d2fd338f81a8eea9398c7268f0b6224
BLAKE2b-256 37eda4f0e821ced7154a66fe42a3b9d5cb532cee2508c0bfafa7e6678ab3fb61

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clode-0.8.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dfd223c53ef4780287781befa076990b727c8a91d01754cca53f34669f019bce
MD5 5747f34d702f87aae64d5f01a4908e91
BLAKE2b-256 cdaffc8d4b962c5b86ab276456442d0ce75353d9de718aacdc0febafab9e729c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clode-0.8.3-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3d9d54dce2e673ee98f61c2b79f974fb28b60eabeca87dfae26b22e6fafc1219
MD5 b0538c84b09c1760177c6a0bebfbb219
BLAKE2b-256 9f1a3a92f4c9bc51a06bda81cc9ec018f40be487f9a4aa7539416762e4407f81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clode-0.8.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 535.1 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.8.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d603f58112df03f28a35e6d7d1112a2c61068d66e36c9585d54f95ce652d121a
MD5 f71442fa6f70dec82a7cfd0490a0d8d2
BLAKE2b-256 73e47822e200077080b9e197bc4d988e1bad8d75992a55519d4a7c93be8aceb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clode-0.8.3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 58a25150441a3cc3fc54ccf603b9f2d4af23f6a085d7ccdbd6a901192b221e15
MD5 45f4158107ff93bfd83c1bc6e92ec00e
BLAKE2b-256 d2484efc62e684c3371f3202f9a93763605daab0ec643c488124cfb716035ae2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clode-0.8.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 535.4 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.8.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e41cc5936880df820a01f991ece645eec66cab6dc80ff9b6e28baf2b42e7bb60
MD5 ceb460c066e028b9bcf189e14d541249
BLAKE2b-256 2a5f39e2a605446355e05279f7c31b8239239bbb082c5e1226ef1866e42dd83d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clode-0.8.3-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 49f36e28f682d050eb7f39ce1493380bc1fe8fe8e8ef78e7d10a0feafe633679
MD5 5cf3d01761fe9716811470f1f8c5020b
BLAKE2b-256 76f714d5011c31958095d674e464b06496af0efdf9f4c38906df3a9ff0676ca2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clode-0.8.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 535.1 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.8.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4c0724ecdb411c26079766ecb1cf54e049c05caa928e3891ef52aaf8f4e40e7c
MD5 3117cd3a7ea5fe76168db6b803aa45e8
BLAKE2b-256 9ac27c3426a9390b51b3552aee806a2361c864af74ed1508cd4e723069d808d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clode-0.8.3-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5b35273093c02901ef395193158399344a71781562bb1be312070475f35d569d
MD5 488ae7fed0584894a6304fffb58fdcb8
BLAKE2b-256 b8bfe1e5316d79c4ec31931db5a85e9c7c1089e5d5a79d83c6c7db0805cf7bdb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for clode-0.8.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f9398e3052053b08a7c752c251a50339c46c05c5b07f19db0ea3c1094ef8d952
MD5 1fcc42463b718737c74fba3fe2020b8a
BLAKE2b-256 9a6c92628e7e8c57a0b983e6d48109e008bbe305285b7bf16f82ec02f6459989

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clode-0.8.3-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 aade8534de838136e6f408498ea7179a1922fd5ce8dd1ce8299e5639b5aa8b6f
MD5 b9f7cf2cb17baaf4477db199273b66c1
BLAKE2b-256 400a0cc952f989093a278105558c8ef385235dcd99952ebd9e0a5d7ec4098c82

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