Skip to main content

Python-integrated GPU-enabled reaction-diffusion solver

Project description

Pigreads

Pipeline Status Coverage Report Documentation Status

Latest Release PyPI platforms PyPI version

Pigreads stands for Python-integrated GPU-enabled reaction-diffusion solver.

Getting started

Requirements

Pigreads uses OpenCL for calculations on the graphics cards. OpenCL is usually included in the drivers for your graphics card.

The following pages may help installing and accessing OpenCL:

You can use clinfo to verify you have an OpenCL platform installed.

If instead of the GPU, you want to use CPUs, you can install PoCL as an OpenCL platform to compute on the main processors.

Installation

Install this Python package in the standard way using pip, for instance from PyPI or from a local copy of this repository, see the Python documentation for details. To also install the optional dependencies, for instance for the command line interface (CLI), install the optional dependencies all:

$ pip install pigreads[all] # from PyPI
$ pip install .[all] # from source

Note: If installing from source, you need to run python prepare.py first to render the code templates for the models that are defined as YAML in the models folder, and other preparation.

Usage

Simulations can be performed via calls to the Python module (API) or using the CLI. See the API and CLI sections in the documentation for annotated examples, or the examples directory in the Pigreads repository.

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

pigreads-0.5.0.tar.gz (230.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pigreads-0.5.0-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file pigreads-0.5.0.tar.gz.

File metadata

  • Download URL: pigreads-0.5.0.tar.gz
  • Upload date:
  • Size: 230.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pigreads-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2d88c0ac0cc509add5746709eb26ecd4593a7ef60f5a8308b9101899def01023
MD5 a37d8fc237394085eac8353a4c51a2a4
BLAKE2b-256 caba05d98c75ee8173f3ecc8d4167adb4a1570771f76e15d30d879ae5f3a46f2

See more details on using hashes here.

File details

Details for the file pigreads-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pigreads-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 80.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for pigreads-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4902862743c265465f3a6213854450ce9a31b8efabcbe2633f22e4a9c3086621
MD5 f8d680025dc19dca2ca71fd54021e2b1
BLAKE2b-256 afbc9d02cf1f98e33cee9b76cc292a2faafe2eeb17213ccac7cfe55406ff52d4

See more details on using hashes here.

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