Difference between revisions of "UCVM 14.3.0 User Guide"

From SCECpedia
Jump to navigationJump to search
Line 91: Line 91:
  
 
After answering a few of these questions, UCVM will then begin the process of downloading and building the models you have requested. When the process is completed, you will be advised on how to test to verify that your installation is working and also any modifications that may be needed to your ~/.bash_profile or ~/.bashrc file.
 
After answering a few of these questions, UCVM will then begin the process of downloading and building the models you have requested. When the process is completed, you will be advised on how to test to verify that your installation is working and also any modifications that may be needed to your ~/.bash_profile or ~/.bashrc file.
 +
 +
=== Custom Method ===
 +
 +
Please see [http://scec.usc.edu/scecpedia/UCVM_User_Guide this page] on how to install UCVM with models other than CVM-S4, CVM-H, CVM-S4.23, and CenCal.
 +
 +
== Common Use Cases ==
 +
 +
=== Finding material properties at a given point ===

Revision as of 06:48, 26 March 2014

Overview

Released on March 31, 2014, UCVM 14.3.0 represents the third major release of the Unified Community Velocity Model (UCVM) framework. UCVM is a collection of software utilities that are designed to make querying velocity models, building meshes, and visualizing velocity models easier to do through a uniform software interface. UCVM has been used extensively to generate meshes and e-trees that are then used for 3D wave propagation simulations within California.

The full feature list is as follows:

  • Seamlessly combine two or more models into a composite model for querying
  • Optionally include a California statewide geotechnical layer and interpolate it with the crustal velocity models
  • Extract a 3D mesh or CVM Etree (octree) of material properties from any combination of models
  • Standard California statewide elevation and Vs30 data map is provided
  • Miscellaneous tools are provided for creating 2D etree maps, and optimizing etrees
  • Numerically smooth discontinuities at the interfaces between different regional models
  • Add support for future velocity models with the extendable interface
  • Add small-scale heterogeneities to meshes
  • Visualize cross-sections, horizontal slices, Z1.0, Z2.5, and Vs30 maps
  • Query for Z1.0 and Z2.5 values

Currently, we support CVM-S4, CVM-H 11.9.1, CVM-S4.26, CenCal 0.8.0, Broadband Whittier Narrows 1D model, and the Hadley-Kanamori 1D model as part of our automated installation package. Other models, such as SCEC CVM-NCI, Magistrale WFCVM, Graves Cape Mendocino, Lin-Thurber Statewide, and Tape SoCal are supported, however they will require a manual installation. We have also tested and include support for three major high-performance computing resources: NICS Kraken, TACC Stampede, and NCSA Blue Waters. It should work with other HPC machines as well.

The API itself is written entirely in C. We will show how to query UCVM through both C and Fortran in this user guide. The visualization scripts are written in Python, and can be easily called from the command line as part of an automated workflow.

Finally, UCVM requires either Linux or OS X, GCC 4.3+, Python 2.5+, and an active internet connection to download and retrieve the models. For parallel mesh or e-tree extraction, the MPI libraries are also required.

Four Linux systems are officially supported:

  • Ubuntu 13.10
  • Debian 7
  • CentOS 6.5
  • Red Hat Enterprise Linux 6.5

Other systems, while not officially supported, should still work.

If you are installing UCVM on OS X, you must have the OS X Developer Tools (Xcode and Command Line Tools) and you must also have gfortran installed.

Download

Platform File Download Mirror
Linux SCEC UCVM 14.3.0 Official Release (391 Mb) ucvm-14.3.0.tar.gz N/A
Linux SCEC UCVM 14.3.0 md5 checksum (< 1Kb) ucvm-14.3.0.tar.gz.md5 N/A

Installation Instructions

Easy Method

If you are installing UCVM on Linux or OS X and only need CVM-S4, CVM-H 11.9.1, CVM-S4.26, and/or CenCal, we strongly recommend following the easy installation method. Simply download UCVM 14.3.0 and run the following commands:

tar zxvf ucvm-14.3.0.tar.gz
cd ./UCVM
./ucvm_setup.py

You will then be asked a series of questions:

It looks like you are installing UCVM for the first time.
Where would you like UCVM to be installed?
(Default: /your/home/dir)>
Enter path or blank to use default:

Hit enter to use the default path or type your own. On high-performance computing resources you must change this path to be in the scratch or work directory so that UCVM can be seen by the compute nodes.

You will then be asked which models you'd like to download, such as:

Would you like to download and install CVM-S4?
Enter yes or no:

Enter "yes" (without quotation marks) or "no" if you would like to download this model or not.

After answering a few of these questions, UCVM will then begin the process of downloading and building the models you have requested. When the process is completed, you will be advised on how to test to verify that your installation is working and also any modifications that may be needed to your ~/.bash_profile or ~/.bashrc file.

Custom Method

Please see this page on how to install UCVM with models other than CVM-S4, CVM-H, CVM-S4.23, and CenCal.

Common Use Cases

Finding material properties at a given point