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

Asali has been tested on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Debian Wheezy. If your Operating System (OS) is not one of them, please send us an email.

Requirements installation

The Linux based external libraries can be installed by typing these commands:

Ubuntu 16.04/18.04/20.04
Debian Wheezy

sudo apt-get update  
sudo apt-get install build-essential scons git python3-ruamel.yaml python3-yaml g++ gfortran python libboost-dev cython python-dev python-numpy python-numpy-dev python-setuptools python3 python3-dev python3-setuptools python3-numpy cython3 libyaml-cpp-dev  
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1  

Ubuntu 22.04

sudo apt-get update  
sudo apt-get install build-essential scons git python3-ruamel.yaml python3-yaml g++ gfortran libboost-dev python3 python3-dev python3-setuptools python3-numpy cython3 libyaml-cpp-dev

How to install Gtkmm libraries

Gtkmm can be downloaded with the following command:

sudo apt-get install libgtkmm-3.0-dev  

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

How to install PLplot

PLplot can be installed with the following command:

sudo apt-get install libplplot-dev plplot-driver-cairo  

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.6 --depth=1  

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

scons build system_sundials=n python_package=minimal  
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 ubuntu  

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

To run Asali:

./Asali