In order to run SeisSol, you need to first install:

  • Python (>= 3.5)
  • Numpy (>= 1.12.0)
  • SCons (>= 3.0, for instructions see below)
  • hdf5 (>= 1.8, for instructions see below)
  • netcdf (C-Release) (>= 4.4, for instructions see below)
  • Intel compiler (>= 17.0, icc, icpc, ifort) or GCC (>= 5.0, gcc, g++, gfortran)
  • Some MPI implementation (e.g. OpenMPI)
  • ParMETIS for partitioning
  • libxsmm (libxsmm_gemm_generator) for small matrix multiplications
  • PSpaMM ( for small sparse matrix multiplications (required only on Knights Landing or Skylake)
  • CMake (for compiling submodules ImpalaJIT and yaml-cpp)

Initial Adjustments to .bashrc

Add the following lines to your .bashrc (vi ~/.bashrc).

# For intel compiler
# source /opt/intel/compiler/VERSION/bin/ intel64

export PATH=$HOME/bin:$PATH
export EDITOR=vi
export CPATH=$HOME/include:$CPATH

# run "exec bash" or "source ~/.bashrc" to apply environment to the current shell

Installing SCons

tar -xaf scons-3.0.5.tar.gz
cd scons-3.0.5
python install --prefix=$HOME
cd ..

Installing HDF5

tar -xaf hdf5-1.8.21.tar.bz2
cd hdf5-1.8.21
CPPFLAGS="-fPIC ${CPPFLAGS}" CC=mpicc FC=mpif90 ./configure --enable-parallel --prefix=$HOME --with-zlib --disable-shared --enable-fortran
make -j8
make install
cd ..

Installing netCDF

tar -xaf netcdf-4.6.1.tar.gz
cd netcdf-4.6.1
CFLAGS="-fPIC ${CFLAGS}" CC=h5pcc ./configure --enable-shared=no --prefix=$HOME --disable-dap
#NOTE: Check for this line to make sure netCDF is build with parallel I/O:
#"checking whether parallel I/O features are to be included... yes" This line comes at the very end (last 50 lines of configure run)!
make -j8
make install
cd ..

Installing Libxsmm

git clone
cd libxsmm
make generator
cp bin/libxsmm_gemm_generator $HOME/bin
cd ..

Installing PSpaMM

git clone
ln -s $(pwd)/PSpaMM/ $HOME/bin

Installing ParMetis (Optional: PUML mesh format)

tar -xvf parmetis-4.0.3
cd parmetis-4.0.3
#edit ./metis/include/metis.h IDXTYPEWIDTH to be 64 (default is 32).
make config cc=mpicc cxx=mpiCC prefix=$HOME
make install
cp build/Linux-x86_64/libmetis/libmetis.a $HOME/lib
cp metis/include/metis.h $HOME/include
cd ..

(Make sure $HOME/include contains metis.h and $HOME/lib contains libmetis.a. Otherwise, compile error: cannot find parmetis.)

Installing ASAGI (Optional)

See section Installing ASAGI.

Compiling SeisSol

Get the latest version of SeisSol on git by cloning the whole repository including all submodules:

git clone
git submodule update --init

Compile SeisSol with (e.g.)

scons compiler=gcc netcdf=yes hdf5=yes order=4 parallelization=hybrid

You may also save your favorite settings in a configuration file: Add the following build variables to the file build/options/

generatedKernels = 'yes'
compiler = 'gcc' # alternative: 'intel'
logLevel = 'info'


##  additionally for puml mesh format
metis = 'yes'

##  optional for ASAGI
asagi = 'yes'
zlibDir = 'path_to_asagi' #e.g. <path_to_ASAGI>/build/lib/
compileMode - release / relWithDebInfo/ debug
parallelization - omp/ mpi / hybrid (mpi/openmp)
logLevel - info/ debug, warning or error
ARCH - target architecture
ORDER - convergence order (=max polynomial order +1)
generatedKernels - yes/no

Get your executable with

scons -j 32 buildVariablesFile=build/options/

NOTE: SCons will try to detect the correct MPI wrappers. If this fails, you can overwrite the detected wrappers with the variables “mpicc”, “mpicxx” and “mpif90”.

you can run scons -h to get some help on options

Running SeisSol

  1. Follow the instructions on Configuration.
  2. run SeisSol version of interest. To run the example: ./SeisSol_release_.... PARAMETER.PAR

Further information regarding meshing and parameter files etc. can be found in the documentation folder. See also A first example.