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.1.dev0.tar.gz (230.4 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.1.dev0-py3-none-any.whl (80.4 kB view details)

Uploaded Python 3

File details

Details for the file pigreads-0.5.1.dev0.tar.gz.

File metadata

  • Download URL: pigreads-0.5.1.dev0.tar.gz
  • Upload date:
  • Size: 230.4 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.1.dev0.tar.gz
Algorithm Hash digest
SHA256 bce3173b07452864fccab467a4edb3f135ad524565eeca598056c42e20cd7aaa
MD5 0e38770f7bcaee01427e0de1e2fc92cf
BLAKE2b-256 db45f25ada4e40cbb902ba34703cf29e7066047edd4a6303d292f89402efb763

See more details on using hashes here.

File details

Details for the file pigreads-0.5.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: pigreads-0.5.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 80.4 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.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 30318a3ae362e0b63602317a52a3f6b9caad7990d6ba781fa76a59c430bb83ac
MD5 2b9c4440c9d240dc4bb2c31b6d00f7b2
BLAKE2b-256 f505f6d32ae1a845599cdafe2c87fd9f28434efccd4c688aa6258d2102f0acfb

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