githubEdit

jet-fighter-upQuickstart

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 WSLarrow-up-right 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-dev

and make sure to upgrade pip before moving to the From Source subsection:

pip3 install --upgrade pip

External tools

Though NJOYarrow-up-right is an exception and has to be installed manually for processing covariance data. One should go to the official NJOY GitHub repositoryarrow-up-right 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 gfortran

After 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 AMPXarrow-up-right, 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 systemarrow-up-right, it is assumed that the AMPX is installed alongside SCALE. The other possible way is to get AMPX from the official ORNL GitLab repositoryarrow-up-right (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