e2l is the e mbedded e quation l anguage.
It's purpose is to provide a simple language for automatic differentiation and JIT code generation in variable-structure DAE simulation environments.
- oasis build manager (opam package)
- libtnp (https://github.com/AMSUN-Berlin/libtnp)
- kaputt (opam package)
- core (opam package)
- core_bench (opam package)
- smart_print (opam package)
- llvm (library, see: http://llvm.org/releases/)
- llvm (opam package, requires llvm library already installed on system)
You can install the OCaml dependencies running:
opam install core core_bench smart_print kaputt oasis llvm
Build and install libtnp first (see https://github.com/AMSUN-Berlin/libtnp/blob/master/README.md )
Run the following commands:
oasis setup
./configure --enable-tests
make
When libtnp is installed in a non-standard location, you have to set the environment variable LIBRARY_PATH accordingly:
oasis setup
./configure --enable-tests
LIBRARY_PATH=$HOME/local/lib make
After building the tests are run via (assuming native compilation is supported on your platform)
./e2test.native
Or
make test