Formura = Formula Translator - Translator + RA (Reserach Assistant)
In Formura, you can describe stencil computations just as if you would write the discretized formulae in the papers, without even translating them into Fortran.
The syntax of Formura is kept simple, so that you can easily learn and write simple Formura programs, and you can generate more complex Formura programs from your favorite programming languages.
Note: The originary repo is https://github.com/nushio3/formura.
OS: Ubuntu 18.04
docker pull formura/formura
git clone git@github.com:formura/formura.git
cd formura/examples/diffusion1
docker run -it --rm -u $UID:$GID -v $PWD:/work formura/formura make run
apt install build-essential git mpi-default-dev libtinfo-dev
wget -qO- https://get.haskellstack.org/ | sh # installation of the Haskell tool Stack
git clone git@github.com:formura/formura.git
cd formura
stack install
Add the path of the binary execution file of Formura to the $PATH
variable of your shell.
The path of the binary execution file is, for example, ${HOME}/.local/bin
.
cd formura/examples/diffusion1
make
make run
Old info
- Download Formura Language Specification (pdf)
- Also c.f. The paper and The slides on Formura @ FHPC2016.