Wiki

Clone wiki

Simflowny / Installation

Installation

Once the source code is compiled, please refer to Compilation if not already compiled, Simflowny is almost ready to be used. The following steps aids to proper configuration of the system.

  1. Extract the zip created in simflowny/target (mathMS-X-bin.tar.gz).
  2. Server configuration
    • Some server configurations can be found in etc_karaf. The most relevant one is the port configuration for the http service in etc_karaf/org.ops4j.pax.web.cfg, org.osgi.service.http.port=8181.
    • External library settings, such as HDF5 or SAMRAI, are set in etc_karaf/eu.iac3.mathMS.codeGeneratorPlugin.cfg. They are set to coincide with the compilation locations from the documentation. However, in case any library had to be installed in a different path, the properties for code generator service must be set accordingly.

In order to execute the application:

  1. Open a terminal and run ./bin/karaf.
    • The server is now starting. It could last a few seconds to be ready. list could be typed in the same terminal to check when it is already running. All the elements must be listed as Active.
  2. Open a web browser (Firefox and Chrome are recommended) and navigate to http://localhost:8181/mathMSGui/index.html or the port configured previously.

To securely stop the server: 1) Close the browser tabs executing the Simflowny user interface. 2) Type stop 0 in the server terminal and wait for it to stop.

Example databases

There are some providen databases with documents that can be used as a reference to start working with Simflowny. Previously to a database replacement is strongly recommended to stop the application. To use one of those databases:

  1. Check doc/examples folder and extract one of the databases. A new folder db is created.
  2. Backup your current database if desired. Create a zip of db folder in simflowny

Next step

So far, Simflowny is already configured and ready to be used. Follow the ABM Tutorial or PDE Tutorial as a first introduction to this software.

Updated