CyberShake compilation guide

From SCECpedia
Revision as of 18:00, 21 August 2024 by Scottcal (talk | contribs) (→‎BB codes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This document provides some high-level tips for compiling the software packages in cybershake-core. It assumes you've already cloned the repository.

Dependencies

External

Before compiling any codes in the repository, you should first make sure the following dependencies are available:

Internal

Next you should compile CyberShake or SCEC codes which are dependencies for other codes:

If you are planning to generate high-frequency stochastic seismograms, you also need to install the SCEC Broadband Platform.

SGT codes

Once the external and internal dependencies are installed, the SGT codes can be compiled in any order. I usually compile them in the order they're executed in:

  • PreCVM
  • UCVM wrappers (plus optional smoothing)
  • PreSGT
  • The flavor of AWP you plan to use.
  • SgtHead
  • SgtTest

PP codes

  • CheckSgt
  • DirectSynth

BB codes

  • HFSim_mem
  • LF_Site_Response
  • MergeIM