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.2.tar.gz (218.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.2-py3-none-any.whl (83.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pigreads-0.5.2.tar.gz
  • Upload date:
  • Size: 218.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.2.tar.gz
Algorithm Hash digest
SHA256 2dce14fadf381e8704e595d832258b05cd7a25499efbef28720d9d288a740cb4
MD5 9c60ebc9fd7b00da81320c1d0dd0f2ae
BLAKE2b-256 d65a1dd26f32b657619f7fdedf5a27c6dd708220fd78cc6aa1b2287fbb23813e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pigreads-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 83.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e29e3b05b4c86539e99166ca5f5b1b884b0090c42df2c64a22e9868c3e7bcb87
MD5 3d889d0174adfddb9e583315e65639c7
BLAKE2b-256 23576a0562e7bdf27a3c43f61ae02f9177d477ad951ba3799e5443d35595b4eb

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