Installation

  1. Install the mt and the Green’s functions delivered with mt, e.g. gemini-prem.

    • Our recommended way to install and update gempa software packages is gsm and you should use gsm for convenient installation and updates:

      1. Get and install gsm in $HOME/install/gsm (first time only):

        mkdir $HOME/install
        cd $HOME/install
        wget https://data.gempa.de/gsm/gempa-gsm.tar.gz
        tar xvfz gempa-gsm.tar.gz
        cd gsm
        
      2. Read the gsm command-line help and set up gsm following the command-line instructions (first time only):

        cd $HOME/install/gsm
        ./gsm -h
        ./gsm setup
        
      3. Install mt and the purchased Green’s functions package, e.g., gemini-prem:

        gsm update
        gsm install mt gemini-prem
        
    • Alternatively, unpack the mt package of the desired version corresponding to your SeisComP installation and your Linux flavor [OS], version [version] and architecture [arch]:

      cd $SEISCOMP_ROOT/..
      tar -xvf mt-[mt-version]-[seiscomp]-[OS]-[version]-[arch].tar.gz
      
      cd [your data directory]
      tar -xvf gemini-prem.tar
      

    Note

    The Green’s functions packages are typically very large and should be installed in a separate directory outside $SEISCOMP_ROOT, by default in /home/data.

    • Set the directory by the parameter data_dir in gsm.conf when using gsm or choose the data directory path accordingly when unpacking the package manually.

    • When using any other directory than /home/data, the parameters gfaUrls and gfaUrls must be configured accordingly for scmtv and scautomt, respectively.

  2. Install the software dependencies.

    • For running scmtv and scautomt without LaTeX-based report generation the usual SeisComP dependencies suffice:

      seiscomp install-deps base gui
      
    • For LaTeX-based report generation based on the provided LaTeX-template file additionally install the some LaTeX modules. Use the install script install-mt.sh which is provided for various Linux flavors in $SEISCOMP_ROOT/share/deps/[system]/[version] or run:

      seiscomp install-deps mt
      

      The script installs the LaTeX and Python packages required by the default report generator.

  3. Configure the Green’s functions for scautomt and scmtv as set out in section Configuration.

  4. Configure scautomt and scmtv as set out in the section of the modules themselves.