Installation Instructions for Serval
WIP: Currently sparsley documented and lacking features.
General Instructions
Release
Clone the repo into the local directory and then install with:
For development it is recommended to do:
Testing
The currently limited tests can be run with
Note that this requires installation withtesting or all dependency tag.
Troubleshooting
For MacOS: Serval cannot be compiled with the clang compiler that is the default for MacOS because it does not support OpenMP. You need to install a GNU compiler. Find where your installation is and the gcc version and assign the CC and CXX compilers to the equivalent binaries. For example, if you are using Homebrew to install gcc-15 then export the following variables.
Euler
Release (Python 3.11.6)
Load the following modules:
Clone the repo into the local directory and then create a virtual environment:
Install serval (including the optional dependencies):
Release (Python 3.12.8 - preferred)
Load the following modules:
Clone the repo into the local directory and then create a virtual environment:
Install serval (including the optional dependencies):
Release (Python 3.13.0)
Load the following modules:
Clone the repo into the local directory and then create a virtual environment:
Install locally fftw3:
wget http://www.fftw.org/fftw-3.3.10.tar.gz
tar xf fftw-3.3.10.tar.gz
cd fftw-3.3.10
./configure --prefix="$VIRTUAL_ENV" --enable-shared --enable-openmp --disable-mpi CC=gcc
make -j
make install
Add the local fftw3 installation to the environment variables:
Install serval (including the optional dependencies):
Testing
Open a terminal in a computing node in Euler:
After loading the modules and activating the virtual environment, the tests can be run with
Note that this requires installation withtesting or all dependency tag.