Python-integrated GPU-enabled reaction-diffusion solver
Project description
Pigreads
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:
- ArchWiki: OpenCL on Arch Linux
- OpenCL-Guide: OpenCL on Ubuntu Linux
- OpenCL-Guide: OpenCL on Windows
- Documentation of PyOpenCL.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dce14fadf381e8704e595d832258b05cd7a25499efbef28720d9d288a740cb4
|
|
| MD5 |
9c60ebc9fd7b00da81320c1d0dd0f2ae
|
|
| BLAKE2b-256 |
d65a1dd26f32b657619f7fdedf5a27c6dd708220fd78cc6aa1b2287fbb23813e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e29e3b05b4c86539e99166ca5f5b1b884b0090c42df2c64a22e9868c3e7bcb87
|
|
| MD5 |
3d889d0174adfddb9e583315e65639c7
|
|
| BLAKE2b-256 |
23576a0562e7bdf27a3c43f61ae02f9177d477ad951ba3799e5443d35595b4eb
|