Difference between revisions of "UCVMC"

From SCECpedia
Jump to navigationJump to search
Line 68: Line 68:
 
  $ git pull
 
  $ git pull
 
  Already up-to-date.
 
  Already up-to-date.
 +
 +
you must take care only to push the branch that you want to push - git push can be configured to push all your branches.
 +
To avoid this, set the config var: push.default:
 +
git config push.default current
  
 
== Related Entries ==
 
== Related Entries ==

Revision as of 05:15, 8 December 2016

The Unified Community Velocity Model (UCVM) software framework is a collection of software tools designed to provide standard interface to multiple, alternative, California 3D velocity models. One important use of UCVM is in high resolution 3D wave propagation simulations for California. UCVM development is an interdisciplinary research collaboration involving geoscientists and computer scientists. UCVM geoscience research includes identification and assembly of existing California velocity models into a state-wide model and improvements to existing velocity models. UCVM computer science research includes definition of a easy-to-use CVM query interface, integration of regional 3D and geotechnical models, and automated CVM evaluation processing capabilities.

Coverage region for UCVM 2D maps (cyan) overlayed upon regions of various California 3D velocity models (CVM-S4: red, CVM-H: blue, USGS Bay Area: white)

Software Installation and Usage

UCVM_Introduction

UCVM_System_Requirements

Reference computing environment is the USC HPC system.

  • Centos 5.6
  • gnu C, gfortran 4.5
  • Python 2.7
  • Anaconda Python packages
  • Git client
  • vi or emacs

Parallel UCVM Build Adds:

  • MPI
  • MPICH

UCVM_Installation

UCVM installation does not require root access. It does require approximately 5G disk space for all the models to be installed.

The UCVM installation establishes two directory tree, the source tree, and the bin tree. The source tree is used during the installation process, but the bin directory is where the software is installed for use. Then the source tree can be removed. The UCVM install script will prompt you to enter a bin directory, and it will offer a default installation in the login directory/ucvm-v15.10.0

  • Log into Linux system.
  • Create a source tree directory (/user/maechlin/ucvm_src)
  • clone the sceccode/UCVM directory. On hpc system, add usc github remote and retrieve the paper branch of ucvm.
$ git remote
origin
$ git remote add pb https://github.com/paulboone/ticgit
$ git remote -v
commit changes with
$ git push origin master
shor remotes
$ git remote show origin
* remote origin
$ git clone https://github.com/lukeredpath/LRResty.git
$ cd LRResty
Check what branch you are using at this point (it should be the master branch):

$ git branch    
* master
Check out the branch you want, in my case it is called 'arcified':
 $ git checkout -b arcified origin/arcified
 Branch arcified set up to track remote branch arcified from origin.
 Switched to a new branch 'arcified'
Confirm you are now using the branch you wanted:
$ git branch    
* arcified
  master
If you want to update the code again later, run git pull:
$ git pull
Already up-to-date.
you must take care only to push the branch that you want to push - git push can be configured to push all your branches. 
To avoid this, set the config var: push.default:
git config push.default current

Related Entries