Skip to content

Describe stencil formurae without even translating them

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

masterhands/formura

 
 

Repository files navigation

formura Build Status Download

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.

really wanted

Note: The originary repo is https://github.com/nushio3/formura.

Quick Start

OS: Ubuntu 18.04

Using docker

Pull the image of formura

docker pull formura/formura

Execute examples

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

Build from source

Preparation for compiling Formura

apt install build-essential git mpi-default-dev libtinfo-dev
wget -qO- https://get.haskellstack.org/ | sh # installation of the Haskell tool Stack

Compile Formura

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.

Execute examples

cd formura/examples/diffusion1
make
make run

Documents

Old info

About

Describe stencil formurae without even translating them

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 43.4%
  • Fortran 28.4%
  • C++ 8.5%
  • Haskell 8.2%
  • Assembly 5.5%
  • Python 2.6%
  • Other 3.4%