Skip to content
Snippets Groups Projects
Forked from pycodegen / pystencils
1077 commits behind, 2 commits ahead of the upstream repository.
et31efoj's avatar
Markus Holzer authored
The communication of the ghost layers used to communicate just all
values in between one time step to make sure that everything is correct.
Furthermore the communication was only valid for pull stream steps.
The improved communication distinguishes automatically between pull and
push and communicates only values which are needed. With this improvement
it was possible to implement the EsoTwist streaming scheme.
495e92b9
History

pystencils

Run blazingly fast stencil codes on numpy arrays.

alt text

Installation

export PIP_EXTRA_INDEX_URL=https://www.walberla.net/pip
pip install pystencils[interactive]

Without [interactive] you get a minimal version with very little dependencies.

All options:

  • gpu: use this if nVidia GPU is available and CUDA is installed
  • alltrafos: pulls in additional dependencies for loop simplification e.g. libisl
  • bench_db: functionality to store benchmark result in object databases
  • interactive: installs dependencies to work in Jupyter including image I/O, plotting etc.
  • doc: packages to build documentation

Options can be combined e.g.

pip install pystencils[interactive,gpu,doc]

Documentation

Read the docs here