SeisComP is a seismological software for data acquisition, processing, distribution and interactive analysis that has been developed by the GEOFON Program at Helmholtz Centre Potsdam, GFZ German Research Centre for Geosciences and gempa GmbH.
SeisComP is primarily released under the AGPL 3.0. Please check the license agreement.
Please ask questions in the forums and use appropriate topics to get help on usage or to discuss new features.
If you found a concrete issue in the codes or if you have code related questions please use the Github issue tracker of the corresponding repository, e.g. GitHub issue tracker of this repository.
The SeisComP software collection is distributed among several repositories. This repository only contains the build environment, the runtime framework (seiscomp control script) and the documentation.
To checkout all repositories to build a complete SeisComP distribution the following script can be used:
#!/bin/bash
if [ $# -eq 0 ]
then
echo "$0 <target-directory>"
exit 1
fi
target_dir=$1
repo_path=https://github.com/SeisComP
echo "Cloning base repository into $1"
git clone $repo_path/seiscomp.git $1
echo "Cloning base components"
cd $1/src/base
git clone $repo_path/seedlink.git
git clone $repo_path/common.git
git clone $repo_path/main.git
git clone $repo_path/extras.git
echo "Cloning external base components"
git clone $repo_path/contrib-gns.git
git clone $repo_path/contrib-ipgp.git
git clone $repo_path/contrib-sed.git
echo "Done"
cd ../../
echo "If you want to use 'mu', call 'mu register --recursive'"
echo "To initialize the build, run 'make'."
To keep track of the state of each subrepository, mu-repo is a recommended way.
The following packages should be installed to compile SeisComP:
- g++
- git
- cmake + cmake-gui
- libboost
- libxml2-dev
- flex
- libssl-dev
- crypto-dev
- python-dev (optional)
- python-numpy (optional)
- libqt4-dev (optional)
- qtbase5-dev (optional)
- libmysqlclient-dev (optional)
- libpq-dev (optional)
- libsqlite3-dev (optional)
- ncurses-dev (optional)
The Python development libraries are required if Python wrappers should be compiled which is the default configuration. The development files must match the used Python interpreter of the system. If the system uses Python3 then Python3 development files must be present in exactly the same version as the used Python3 interpreter. The same holds for Python2.
Python-numpy is required if Numpy support is enable which is also the default configuration.
The SeisComP build system provides several build options which can be
controlled with a cmake gui or from the commandline
passing -D[OPTION]=ON|OFF
to cmake.
In addition to standard cmake options such as CMAKE_INSTALL_PREFIX
the following global options are available:
Option | Default | Description |
---|---|---|
SC_GLOBAL_UNITTESTS | ON | Whether to build unittests or not. If enabled then use ctest in the build directory to run the unittests. |
SC_GLOBAL_PYTHON_WRAPPER | ON | Build Python wrappers for the C++ libraries. You should not turn off this option unless you know exactly what you are doing. |
SC_GLOBAL_PYTHON_WRAPPER_NUMPY | ON | Add Numpy support to Python wrappers. If enabled then all SeisComP arrays will provide a method numpy() which returns a Numpy array representation. |
SC_ENABLE_CONTRIB | ON | Enable inclusion of external contributions into the build. This includes all directories in src/extras . |
SC_GLOBAL_GUI | ON | Enables compilation of GUI components. This requires the Qt libraries to be installed. Either Qt4 or Qt5 are supported. The build will prefer Qt5 if found and will fallback to Qt4 if the Qt5 development libraries are not installed on the host system. |
SC_GLOBAL_GUI_QT5 | ON | If SC_GLOBAL_GUI is enabled then Qt5 support will be enabled if this option is active. Otherwise only Qt4 will be supported. |
- Clone all required repositories (see above)
- Run
make
- Configure the build
- Press 'c' as long as 'g' appears
- Press 'g' to generate the Makefiles
- Enter the build directory and run
make
- Enter the build directory and run
make install
to install SeisComP