/opensbli

A framework for the automated derivation and parallel execution of finite difference solvers on a range of computer architectures.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

OpenSBLI

OpenSBLI-V2.0 is an automatic code generator which expands a set of equations written in Einstein notation, and writes out the finite difference code in the OPSC language.

Getting started

Detailed installation guide is provided in the docs.

Dependencies

First ensure that the following dependencies are satisfied:

Core code-generation:

The following dependencies are required for generating a code and running a simulation:

  • Python 2.7
  • Sympy >= 1.0
  • Numpy
  • Scipy 0.19.1
  • OPS (to target the generated OPSC code towards different backends) OPS project's repository.

Testing and documentation:

  • pytest (for running the test suite)
  • python-flake8 (for linting the code base)
  • Sphinx (to build the documentation)

Note on previous version

Postprocessing:

  • Matplotlib for plot scripts
  • python-h5py

Installation

Development branch

Add OpenSBLI to your PYTHONPATH environment variable using

export PYTHONPATH=$PYTHONPATH:/path/to/OpenSBLI/base/directory

Contact

If you wish to report a bug with the software, please contact Satya P. Jammy or David J. Lusher