This is a development version of SeisSol.
SeisSol is still under heavy development and comes without any guaranteed funcitonality. At the moment we can only provide very limited support for general users. Please contact Alice Gabriel if you are interested in a close collaboration.
It contains the following folders:
- build/ Files for compiling the optimized generated kernel version
- Documentation/
User Manual and tutorial can be found here - Maple/ Includes precomputed basis functions and other Maple tools; folder is essential to run SeisSol
- postprocessing/
- science Tool box of Matlab, Python scripts for postprocessing
- visualization/
- DGVisu/ Contains source files for postprocessing the high-resolution output, readme included
- tools Tool box for all kind of visualization support
- prepocessing/
- seissol_kernels submodule which is used to generate, test and tune SeisSol computational backend
- partitioning All kind of partitioning support files, including re-order approaches
- science Tool box of Matlab, Python scripts for preprocessing
- src/ SeisSol source files are here
- submodules/ Libraries
In order to run SeisSol, you need to first install:
- Python
- SCons (for instructions see below)
- hdf5 (for instructions see below)
- netcdf (for instructions see below)
- Intel Compiler (icc/icpc/ifort) Suite (GCC support can be added manual)
- Some MPI implementation
- Metis for partitioning
-
add following lines to your .bashrc (vi ~/.bashrc), which should be on the NAS
# These are the versions we validated against source /opt/intel/compiler/VERSION/bin/compilervars.sh intel64 # User specific aliases and functions export PATH=$HOME/bin:$PATH export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib64:$LD_LIBRARY_PATH export EDITOR=vi export SCONS_LIB_DIR=$HOME/lib64/scons-2.2.0/
- (wget http://prdownloads.sourceforge.net/scons/scons-2.2.0.tar.gz)
- tar -xaf scons-2.2.0.tar.gz
- cd scons-2.2.0
- python setup.py install --prefix=$HOME
- cd ..
- (wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.11/src/hdf5-1.8.11.tar.bz2)
- tar -xaf hdf5-1.8.11.tar.bz2
- cd hdf5-1.8.11
- CC=mpiicc FC=mpiifort ./configure --enable-parallel --prefix=$HOME --with-zlib --disable-shared --enable-fortran NOTE: This is with Intel MPI, if you have to use a different MPI, please adjust mpiicc and mpiifort accordingly to the scripts that call icc and ifort! MPICH note: CC=mpicc FC=mpif90 ./configure --enable-parallel --prefix=$HOME --with-zlib --disable-shared --enable-fortran
- make
- make install
- cd ..
- (wget https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.3.0.tar.gz)
- tar -xaf netcdf-4.3.0.tar.gz
- cd netcdf-4.3.0
- CPPFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib CC=mpiicc ./configure --enable-shared=no --prefix=$HOME MPICH note: CPPFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib CC=mpicc ./configure --enable-shared=no --prefix=$HOME 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
- make install
- cd ..
- scons buildVariablesFile=build/options/supermuc_mac_cluster.py compileMode=release arch=$ARCH numberOfTemporalIntegrationPoints=1 order=$ORDER generatedKernels=yes netcdf=yes netcdfDir=$HOME hdf5Dir=$HOME -j 32
with: ORDER convergence order you want to use ARCH target architecture
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
Please note, this builds the generated kernel version of SeisSols. For SeisSol classic, please add the generatedKernels=no switch, however this result in roughly 6X less performance, but probably greater physics support.
- Follow the instructions on: https://github.com/SeisSol/SeisSol/wiki/Configuration
- run SeisSol version of interest 2a. To run the example: ./SeisSol_release_.... PARAMETER.PAR
!!!! Further information regarding meshing and parameter files etc. can be found in the documentation folder. !!!!
High-level description to be added please navitage to preprocessing/seissol_kernels for details