CyberShake SGT reference test

From SCECpedia
Revision as of 20:36, 30 March 2022 by Scottcal (talk | contribs) (Created page with "This page details a small-scale (single GPU) test of the AWP-ODC-SGT code, with inputs and reference solutions. == Code == The code used for this test is available at https:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page details a small-scale (single GPU) test of the AWP-ODC-SGT code, with inputs and reference solutions.

Code

The code used for this test is available at https://github.com/SCECcode/cybershake-core/tree/main/AWP-GPU-SGT .

In AWP, the value BLOCK_SIZE_Z, set in a #define at the top of src/pmcl3d_cons.h, must be set to a factor of the number of grid points in the Z dimension. Since this test is 200 grid points deep, set BLOCK_SIZE_Z to 200:

#define BLOCK_SIZE_Z 200

Then compile the code by running 'make' in the src directory. If this code is being compiled on a new system, some changes to the Makefile may be needed.

Input Files

AWP requires three different input files:

  • [CyberShake_Code_Base#AWP_cordfile AWP cordfile], which contains a list of the grid points for which SGTs are saved.
  • [CyberShake_Code_Base#AWP_format AWP velocity mesh], which contains the material properties for the region. For this test, the material properties are homogeneous (vp=1500 m/s, vs=750 m/s, rho=2200 kg/m3).
  • [CyberShake_Code_Base#AWP_source source], which contains the impulse placed at the site of interest. This is a point source.

These input files are available at

Execution

Reference Results

Comparisons