Difference between revisions of "Planned UCVM Test Cases"

From SCECpedia
Jump to navigationJump to search
(Created page with "This entry defines test cases used to document performance of the UCVMC v17.1 release. == Test Case ucvm2mesh and ucvm2mesh-mpi tests == * The goal of this test is to constru...")
 
 
Line 43: Line 43:
 
filePos = 4 * (nx * yIndex + xIndex)
 
filePos = 4 * (nx * yIndex + xIndex)
 
</pre>
 
</pre>
 +
 +
== Related Entries ==
 +
*[[UCVM Review]]

Latest revision as of 22:05, 6 December 2017

This entry defines test cases used to document performance of the UCVMC v17.1 release.

Test Case ucvm2mesh and ucvm2mesh-mpi tests

  • The goal of this test is to construct AWP test meshes using both ucvm2mesh and ucvm2mesh-mpi.
  1. Test that shows equivalent input files for ucvm2mesh and ucvm2mesh-mpi. Also includes the job submit script for mpi job, and defines the restrictions on number of nodes.
  2. Test that shows the mesh values returned by these methods are identical.
  3. Test that shows plots of output meshes, using mesh plotting utilities from scott described below.
  4. Test that shows cross section plots from model and from mesh for same region.
  5. Update ucvmc Installation instructions need to be updated to describe how to create mpi version if running on usc hpc.

Test Case for basin_query serial and mpi tests

  • The goal of this test is to evaluate the results from basin_query and basin_query_mpi to demonstrate the produce the same results.
  1. Test case that queries basin_query and basin_query_mpi showing that they return the same depth values.

Test Case for Basin Query depth Algorithm

  • Goal of this test is to document the algorithms available in ucvmc, and show example return values for each.
  1. Test that confirms basin_query and basin_query_mpi return the same value for the same point. Document which of the basin_query values is returned by basin_query_mpi
  2. Test that shows what basin_query and basin_query_mpi return for points outside the defined volume of the model
  3. Test that shows how basin_query and basin_query_mpi support model tiling.

Test Case for Blue Waters and Titan

  1. Install UCVMC 17.1 on Blue Water and Titans.
  2. Regenerate ucvm2mesh_mpi meshes and confirm them match ones from USC

Test Case for Tomography Utility Projection

  1. Test cases showing that projection issue in CCA06 is fixed. Confirm this is in latest UCVMC

Test Case for Basin Region Specs

  • The goal of this test is to reproduce the z1.0 and z2.5 basin models for three California velocity models. These binary files will be given to OpenSHA for use in GMPE calculations. Results we return will describe the algorithm they use to determined the returned depth value.
  • CCA: [minLat = 33.35, minLon = -123.0, nx = 1551, ny = 1201, gridSpacing = 0.005 degrees]
  • CVM-S4.26 and CVM-S4.26-M01: [minLat = 31.0, minLon = -121.0, nx = 1701, ny = 1101, gridSpacing = 0.005 degrees]
  • Output format for the basin data sets is a binary regular mesh format with separate files for Z1.0 and Z2.5 in meters
  • Output binary files are checked by plotting and comparing with previous versions
  • The binary files are 4 byte float, little endian, fast XY, no rotation.
  • The first data point is bottom left (at minX, minY).
  • The formulas for lat/lon at a given x/y index:
lon = xIndex * gridSpacing + minLon
lat = yIndex * gridSpacing + minLat
  • The formula for calculating the file position for a given xIndex/yIndex:
filePos = 4 * (nx * yIndex + xIndex)

Related Entries