Building SeisSol on Stampede KNL test system

Preparation

The Python modules are only necessary when using the new code generator (e.g. for attenuation). Modules and environment variables should be set in ~/.bashrc

Modules

module load git
module load python/2.7.12

Environment variables

export PATH=$HOME/local/bin:$PATH
export PYTHONPATH=$HOME/local/lib/python2.7/site-packages/:$PYTHONPATH

Scons

wget http://prdownloads.sourceforge.net/scons/scons-2.5.1.tar.gz
tar -xvf scons-2.5.1.tar.gz
cd scons-2.5.1
python setup.py install --prefix $HOME/local

Libxsmm

git clone https://github.com/hfp/libxsmm.git
cd libxsmm
make generator
cp bin/libxsmm_gemm_generator $HOME/local/bin

Lxml

wget http://lxml.de/files/lxml-3.7.2.tgz
tar -xvf lxml-3.7.2.tgz
cd lxml-3.7.2
python setup.py install --prefix $HOME/local

If an “internal error” appears, copy the last calls to icc, remove “-ipo” and call them manually. Afterwards, call setup.py again.

Building SeisSol

Follow the standard steps.