Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.1 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.1 KB

e2lang

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.

Dependencies

You can install the OCaml dependencies running:

  opam install core core_bench smart_print kaputt oasis

Building

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

Testing

After building the tests are run via (assuming native compilation is supported on your platform)

  ./e2test.native