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 all optional dependencies, such as for the command line interface (CLI), run:

$ 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.3.tar.gz (220.1 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.3-py3-none-any.whl (84.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pigreads-0.5.3.tar.gz
Algorithm Hash digest
SHA256 509104c331d0a6e3ddb3d69fc3e31ac99ae174b896ea3706ee9384303c7d3260
MD5 e01a521757d686009bef01a52e115e23
BLAKE2b-256 8a3c36a6df56983a35278c25904f94cf47e526e61cfe081ec07e85ff2c7d0e62

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pigreads-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 598fa36cedb810c44fc9d84fb3f503a96047aeca9925b76205d6c5e2fe5e5efa
MD5 d2afb9f15f0b6ea025a64227a1ed0c31
BLAKE2b-256 2b981c73707a8043fec916e1fbfc785ef2f7dfd4c88fb2539972c9d498fb2af6

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