Installation instructions

Asali is based on different open-source codes:

  • Cantera: estimation of thermodynamic and transport properties based on the kinetic gas theory and NASA database
  • Eigen libraries: linear system solver and handling of numerical issues
  • Sundials libraries: IDA and CVODE solvers for Ordinay Differentional Equation (ODE) and Differential and Algebraic Equation (DAE) systems
  • Gtkmm: gnome based graphical interface
  • PLplot: a cross-platform software package for creating scientific plots

Mingw-w64 is a collection of tools and libraries providing you with an easy-to-use environment for building, installing and running native Windows software. This tools are those used to compile the Windows version of Asali.

Requirements installation

The required libraries can be installed by typing these commands:

pacman -Syu
pacman -S scons python-setuptools make
pacman -S mingw64/mingw-w64-x86_64-python mingw64/mingw-w64-x86_64-boost mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-python-setuptools mingw64/mingw-w64-x86_64-libopenmpt mingw64/mingw-w64-x86_64-openmp mingw64/mingw-w64-x86_64-python-ruamel-yaml mingw64/mingw-w64-x86_64-yaml-cpp mingw64/mingw-w64-x86_64-libyaml mingw64/mingw-w64-x86_64-cython mingw-w64-x86_64-gcc-fortran mingw64/mingw-w64-x86_64-libgd git 

How to install Gtkmm libraries

Gtkmm can be downloaded with the following command:

pacman -S mingw64/mingw-w64-x86_64-gtkmm3

More details can be found at: https://www.gtkmm.org/en/

How to install PLplot

PLplot can be installed with the following command:

pacman -S mingw64/mingw-w64-x86_64-plplot

Details can be found at: http://plplot.org/

How to install Cantera

Cantera can be downloaded with the following command:

git clone https://github.com/Cantera/cantera.git -b 2.5 --depth=1  

To install Cantera type the following commands from the cantera folder:

scons build system_sundials=n python_package=minimal cc_flags='-Os' matlab_toolbox=n doxygen_docs=n sphinx_docs=n debug=n python_cmd=/mingw64/bin/python
sudo scons install  

More details can be found at: https://cantera.org/install/compiling-install.html

How to install ASALI

To install Asali run the following command.

./build --os windows  

The installation can be customized with the following options:

Option Comment
--help Show help message
--clean Clean installation folder
--cantera-path Select Cantera path
--os Select operating system
--output-folder Select target folder
--symbolic-link Create symbolic link in /usr/local/bin/
--no-interaction Disable human interaction