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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigreads-0.5.1.tar.gz
  • Upload date:
  • Size: 216.6 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.tar.gz
Algorithm Hash digest
SHA256 56d053c2215b6d1c3bd2144f3a8ce06abe42b1075d14ad90f33ac20a63bb6076
MD5 45e29c818c509975a1e1e74f5973b6c8
BLAKE2b-256 61cc9e4683072e2b4851d348ff1a7afcfd3365a1a5f6860bf1114ae8c8443bee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigreads-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 83.1 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-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f9b607e8abbac81a70cf0c64286709978081a35c42195546219dcd698280c7
MD5 84456fc59408a23f66850492f5075c60
BLAKE2b-256 d490fd84444cc2dd6cacf7685e303c777c224fbf90ce978c172c9f8aeec24858

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