Paraiso: a code generator for partial differential equations solvers.

[ bsd3, language, library ] [ Propose Tags ]
Dependencies array (>=0.2), base (==4.*), containers (>=0.4.0), directory (>=1.0), failure (>=0.1.0), fgl (>=5.4.2), filepath (>=1.2.0), mtl (>=2.0.1), numeric‑prelude (>=0.2), random (>=1.0.0), text (>=0.11.1), typelevel‑tensor (>=0.1 && <1), vector (>=0.7.1) [details]
License BSD-3-Clause
Author Takayuki Muranushi
Category Language
Home page
Source repo head: git clone
Uploaded by TakayukiMuranushi at Thu Dec 3 03:11:24 UTC 2015
Distributions NixOS:
Downloads 5091 total (51 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-12-03 [all 1 reports]
Hackage Matrix CI

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





Build the executable to run unit tests


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees