a code generator for partial differential equations solvers.

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD-3-Clause licensed by Takayuki Muranushi
Maintained by

The purpose of this project is to design a high-level language for implementing explicit partial-differential equations solvers on supercomputers as well as today’s advanced personal computers. A language to describe the knowledge on algebraic concepts, physical equations, integration algorithms, optimization techniques, and hardware designs --- all the necessaries of the simulations in abstract, modular, re-usable and combinable forms.

How to use

The module Language.Paraiso.OM.Builder contains the Builder monad, its typeclass instance declarations and functions that can be used to build Paraiso programs. Reserved words are load, store, imm, loadIndex, loadSize, shift, reduce and broadcast.

Paraiso frontend uses Data.Tensor.Typelevel, the library for tensor calculus of arbitrary rank and dimension. Vector and Axis are two main concepts. The type Vector represents rank-1 tensor, and tensors of higher ranks are recursively defined as Vector of Vectors. With Axis you can refer to the components of Vectors, compose them, or contract them. See the wiki and the paper for more detail. Examples are in

  • : Catch up to stack lts-3.16/ghc 7.10.2, thanks to Justus Sagemüller's patch!

  • Doughnut : refined interface and support for cyclic boundary conditions.

  • Companion : genetic algorithm support for automated tuning.

  • Binary : enhanced backend, code generator for OpenMP and CUDA

  • Atmosphere : code generator for single CPU

comments powered byDisqus