Quickstart
This page is dedicated to the first steps to start working with SAUNA.
Installation
Currently, the installation can be done only from source on Linux. If you work with Windows, you can use WSL to continue the installation from source.
Prerequisites
SAUNA relies on the rich Python ecosystem and requires having Python on the system. If the system is fresh, one may install it via:
sudo apt install python3-devand make sure to upgrade pip before moving to the From Source subsection:
pip3 install --upgrade pipExternal tools
Though NJOY is an exception and has to be installed manually for processing covariance data. One should go to the official NJOY GitHub repository for further instructions. Still, one shall have git, cmake, and Fortran to properly compile NJOY. They may be installed via the following line:
sudo apt install git cmake gfortranAfter NJOY is installed, make sure a path to the NJOY executable is provided in the following manner:
export NJOY='/home/your-username/NJOY2016/build/njoy'The other external tool is AMPX, developed by Oak Ridge National Laboratory (ORNL), and used here only for reading the COVERX format. Since the usual way to get the data in the format is to get the SCALE code system, it is assumed that the AMPX is installed alongside SCALE. The other possible way is to get AMPX from the official ORNL GitLab repository (though it has not been tested here).
From Source
Firstly, clone the repository via the following command:
via pip
Then, run from the SAUNA root pip install (there is a point at the end of the second line):
This concludes the installation process.
via path
An alternative to the pip install way is to ensure the package is included in your system's $PYTHONPATH$ environment variable by adding the appropriate directory. The package can also be added directly in your Python code:
In addition, one has to install the following packages manually if pip install is not used:
This can be done in a batch via the following line:
One also may install texlive to make it possible to use TeX for rendering:
Last updated