Difference between revisions of "SCEC-ERI Workshop 2014"

From SCECpedia
Jump to navigationJump to search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
SCEC is planning an Vises workshop starting on 28 Sept through 1 October. The workshop will train researchers to use SCEC-VDO, UCVM, and the Broadband Platform
+
'''SCEC-ERI Summer School on Earthquake Science'''
  
== Installation Image ==
+
Meeting Program. The program will include both lectures and exercises where participants will learn how complex velocity structure is represented and can be used to create seismograms from kinematic representations of earthquakes as point sources and propagating ruptures. One objective will be for participants to construct ground motions for earthquake scenarios, which if used in a collective sense can be a method for complementing or creating hazard maps. Participants will be given exercises so that they can run the various numerical methods with the supervision of the lecturers. Each participant will be expected to present a poster to share his/her research during evening sessions.
*[http://hypocenter.usc.edu/research/tars/SCECCME.ova VirtualBoxImage w/ SCEC-VDO,UCVM,BBP] (12GB)
 
  
== Software Links ==
+
Participants will be expected to arrive September 28 and depart around noon on October 2 after the morning lectures
*[[UCVM]]
 
*[http://opensha.usc.edu/apps/scec_vdo/SCEC_VDO_cfmlight_test.jnlp SCEC-VDO]
 
*[[Broadband Platform]]
 
 
 
== Related Entries ==
 
*[[ERI Workshop ToDo]]
 
*[[VirtualBox Configuration]]
 
 
 
== Fedora 20 Virtual Box Installation on Mac OS X 10.9 ==
 
 
 
* Set up for a VISES50GB Configuration:
 
*Linux - Fedora (64Bit) v20
 
*Use the Default System except:
 
**Set Base Memory to 2048MB
 
**Set Bidirectional shared files and cut and past
 
** Set Video Memory to 32MB
 
** Set FileSystem: 51.05GB dynamic
 
** Modify default disk partition to /boot = 10G and /home = 40GB
 
** Set Sharedfile system: automount
 
** Set /users/maechlin/SharedVisesData
 
 
 
*Create root pwd and user with SU privileges (maechlin)
 
 
 
*Install compilers and libraries
 
**Sudo yum -y install gcc
 
**Sudo yum -y install gcc-gfortran
 
**Sudo yum groupinstall “Development Tools”
 
**Sudo yum -y install glibc-static
 
**Sudo yum -y automake
 
**sudo yum install icedtea-web java-1.7.0-openjdk
 
**sudo yum install numpy scipy python-matplotlib pyproj
 
 
 
*Install SCECVDO
 
**[http://opensha.usc.edu/apps/scec_vdo/SCEC_VDO_cfmlight_test.jnlp SCEC-VDO]
 
 
 
*Install UCVM applications
 
**[[UCVM]]
 
**Download ucvm 14.3.0.tar.gz
 
**Tar zxvf *.gz
 
**Cd UCVM
 
**./ucvm_setup.py -d #dynamic linking
 
*** Select CVM-S4 and CVM-H only
 
**Edit .bash_profile
 
**Add /home/maechlin/ucvm-14.3.0/bin to path
 
**Add LD_LIB and export
 
**Make check
 
 
 
*Install BBP Platform
 
**[[Broadband Platform]]
 
**Include LOMAP, LA, and Mojave GF
 
**In top level make remove references to icc and fort
 
**remove references to sdsu,irakura,exsim, csm
 
**In UCSB remove references to Greenbank
 
** in install_cfg.py remove references to sds, irakur, exsim,csm
 
**./tests ./test_gp.py runs
 
**./tests ./test_ucsb.py errors on test 7
 
**modified the bhp_status.py to remove references to icc compilers
 
 
 
== Current Disk Usage ==
 
**/ using 5G
 
** /home using 21 GB
 
*** UCVM 4GB
 
***BBP 16GB
 
***SCECVOD 330MB
 
** Clone Image 28.5GB
 
 
 
== Fedora 14 Virtual Box Installation on Mac OS X 10.9 ==
 
  
* Set up for the SCEC CME Configuration:
+
== Workshop Information ==
* Machine name: SCEC CME
+
*[[SCEC-ERI Workshop Agenda]]
* Machine type: Linux - Fedora (64Bit)
+
*[http://www.scec.org/vises/ SCEC-ERI Vises Workshop Information]
*Use the Default System except:
 
** Set Base Memory to 2048MB
 
** Set FileSystem: 70GB dynamic
 
* After machine is created, select "Settings", "Display"
 
** Increase video memory to 32MB
 
* Download "Fedora-14-x86_64-DVD.iso"
 
* Select "Settings", "Storage", select "Controller IDE", and then the small "Add new attachment" (CD/DVD)
 
** Select the "Fedora 14 iso image downloaded above", and then click "OK"
 
* Boot (Start) the new machine and the Fedora 14 installation will begin
 
** If you test the media, Fedora 14 will eject the virtual CD, so click on "Devices", "CD/DVD", "IDE Primary" and select the Fedora 14 iso again
 
* Select the default options for the first few screens
 
* When warning dialog asking about re-initializing device pops-up, select "Re-Initialize"
 
* Machine name: "scec-cme"
 
* Select "Los Angeles" time zone
 
* Root password set to: "sceccme"
 
* Installation type: "Use all space"
 
** Select the View and Customize box at the bottom
 
** Delete the /home partition and make the / partition larger to use the space used by /home
 
* Select "Software Development" and add "Fedora 14 - x86_64" and "Fedora 14 - x86_64 Updates"
 
* Select "Customize Now"
 
* Add
 
** Applications
 
*** Editors
 
**** Emacs, vim-x11
 
*** Engineering and Scientific
 
**** R, Octave
 
*** Office/Productivity
 
* Actual installation begins...
 
* After machine reboots...
 
* User setup
 
** Username: cme
 
** Fullname: SCEC CME
 
** Password: sceccme
 
* Installation ends!
 
* Open terminal window
 
* Set up sudo access for user cme
 
** su - (to become root)
 
** visudo
 
*** Add line at the end: "cme    ALL(ALL)    ALL"
 
* Install missing Python dependencies for BBP and UCVM
 
**sudo yum install numpy scipy python-matplotlib python-basemap
 
* Disable the sendmail daemon
 
** sudo chkconfig sendmail off
 
** Install Pyproj
 
** Download Pyproj from https://pyproj.googlecode.com/files/pyproj-1.8.9.tar.gz
 
** untar, then run "sudo python ./setup.py install"
 
* Install the Virtual Box guest additions (from http://www.sysprobs.com/install-fedora-15-virtualbox-steps-install-virtualbox-guest-additions-fedora-15)
 
** sudo yum install dkms
 
** Select "Devices" -> "Insert Guest Additions CD image..."
 
** sudo su -
 
** cd /media/VBOXADDITIONS_<VERSION_NUMBER>
 
** sh ./VBoxLinuxAdditions.run
 
** Reboot!
 
  
* Setting up a shared folder on the virtual machine
+
== Workshop Software and Installation Instructions ==
** https://forums.virtualbox.org/viewtopic.php?t=15868
+
SCEC-ERI Workshop Software Installation Instructions
 +
*[[SCEC-ERI Workshop Software]]
  
 +
Introduction to SCEC-ERI Software
 +
*[[Intro to SCEC-VDO]]
 +
*[[Intro to UCVM]]
 +
*[[Intro to BBP]]
  
 +
Intro to SCEC-ERI Software Utilities
 +
*[[Intro to SAC]]
 +
*[[Intro to BBP2SAC]]
  
===== Install UCVM =====
+
== Software Descriptions and Users Guides ==
 +
Workshop particpatoins should install the required software using the link above. The workshop will assume all participants use the version of the software that is posted on the [[SCEC-ERI Workshop Software]] page, listed above. The following links lead to user documentation for the three primary applications which are SCEC-VDO, UCVM, and the Broadband Platform. Participants do not need to download the software from these sites. All required software is provided in the collection posted above.
 
*[[UCVM]]
 
*[[UCVM]]
* wget  http://hypocenter.usc.edu/research/ucvm/14.3.0/ucvm-14.3.0.tar.gz
+
*[http://opensha.usc.edu/apps/scec_vdo/SCEC_VDO_cfmlight_test.jnlp SCEC-VDO]
* tar -xzvf ucvm-14.3.0.tar.gz
+
*[[Broadband Platform]]
* cd UCVM
 
* ./ucvm_setup.py -d  <------- Dynamic linking is needed!
 
** Select installation path to /home/cme/CME/ucvm-14.3.0
 
** Select CVM-S4 and CVM-H only
 
* Edit .bashrc
 
** Add /home/cme/CME/ucvm-14.3.0/bin to PATH
 
** Add LD_LIBRARY_PATH and export
 
* make check
 
  
===== Install BBP =====
+
== Related Software Notes ==
* $ mkdir cme-downloads
+
*[[ERI Workshop ToDo]]
* $ cd cme-downloads
+
*[[VirtualBox Configuration]]
* Download the Broadband Platform from: [[Broadband Platform]]
+
*[[BBP Images]]
** wget http://hypocenter.usc.edu/research/bbp/versions/14.3.0/bbp-dist-14.3.0.tar.gz
 
** wget http://hypocenter.usc.edu/research/bbp/versions/14.3.0/labasin-velocity-model-14.3.0.tar.gz
 
** wget hypocenter.usc.edu/research/bbp/versions/14.3.0/northridge-validation-14.3.0.tar.gz
 
** wget hypocenter.usc.edu/research/bbp/versions/14.3.0/whittier-validation-14.3.0.tar.gz
 
* Setup directory structure
 
** $ cd ~
 
** $ mkdir bbp
 
** $ cd bbp
 
** $ mkdir bbp_val
 
** $ mkdir bbp_gf
 
** $ mkdir sims
 
* Untar distribution
 
** $ tar -xzvf bbp-dist-14.3.0.tar.gz
 
** $ cd bbp_val
 
** $ tar -xzvf ../../cme-downloads/northridge-validation-14.3.0.tar.gz
 
** $ tar -xzvf ../../cme-downloads/whittier-validation-14.3.0.tar.gz
 
** $ cd ../bbp_gf
 
** $ tar -xzvf ../../cme-downloads/labasin-velocity-model-14.3.0.tar.gz
 
* Compile BBP
 
** $ cd ~/bbp/14.3.0/src
 
** Edit makefile and comment the ifort, icc, and the sdsu and uwo directories
 
** Edit the makefile in ucsb and comment the GreenBank directory
 
** $ make
 
* Add icc/ifort config files
 
** $ wget http://bbpvault.usc.edu/bbp/temp/icc.version
 
** $ wget http://bbpvault.usc.edu/bbp/temp/ifort.version
 
* Create missing dirs and download Exsim, SDSU codes
 
** $ mkdir sdsu/bin
 
** $ mkdir uwo/bin
 
** $ cd sdsu/bin
 
** $ wget http://bbpvault.usc.edu/bbp/temp/BBtoolbox.exe
 
** $ wget http://bbpvault.usc.edu/bbp/temp/bbp2bin
 
** $ wget http://bbpvault.usc.edu/bbp/temp/bin2bbp
 
** $ wget http://bbpvault.usc.edu/bbp/temp/amp.exe
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_CCFit
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_DCumEn
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_FSComp
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_InElFit
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_MO
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_MO_NGA
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_PGX
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_SAFit16
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_SpecDurFit
 
** $ wget http://bbpvault.usc.edu/bbp/temp/GOF_SpFit
 
** $ chmod 755 *
 
** $ cd ../../uwo/bin
 
** $ wget http://bbpvault.usc.edu/bbp/temp/exsim14
 
** $ chmod 755 *
 
* Add following lines to .bashrc file
 
** BBP_DIR=/home/cme/bbp/14.3.0; export BBP_DIR
 
** BBP_GF_DIR=/home/cme/bbp/bbp_gf; export BBP_GF_DIR
 
** BBP_VAL_DIR=/home/cme/bbp/bbp_val; export BBP_VAL_DIR
 
** PYTHONPATH=/home/cme/bbp/14.3.0/comps; export PYTHONPATH
 
** BBP_DATA_DIR=/home/cme/bbp/sims; export BBP_DATA_DIR
 
** PATH=$BBP_DIR/comps:$PATH; export PATH
 
 
 
== USR Exercises ==
 
* EQ catalog plugin
 
* CFM Plugin
 
* Surface Plugin with image draped over topography
 
*Horizontal slices with negative depths
 
*Move files in and out of VB environment
 
* Create VB installation guid
 

Latest revision as of 03:29, 21 October 2014

SCEC-ERI Summer School on Earthquake Science

Meeting Program. The program will include both lectures and exercises where participants will learn how complex velocity structure is represented and can be used to create seismograms from kinematic representations of earthquakes as point sources and propagating ruptures. One objective will be for participants to construct ground motions for earthquake scenarios, which if used in a collective sense can be a method for complementing or creating hazard maps. Participants will be given exercises so that they can run the various numerical methods with the supervision of the lecturers. Each participant will be expected to present a poster to share his/her research during evening sessions.

Participants will be expected to arrive September 28 and depart around noon on October 2 after the morning lectures

Workshop Information

Workshop Software and Installation Instructions

SCEC-ERI Workshop Software Installation Instructions

Introduction to SCEC-ERI Software

Intro to SCEC-ERI Software Utilities

Software Descriptions and Users Guides

Workshop particpatoins should install the required software using the link above. The workshop will assume all participants use the version of the software that is posted on the SCEC-ERI Workshop Software page, listed above. The following links lead to user documentation for the three primary applications which are SCEC-VDO, UCVM, and the Broadband Platform. Participants do not need to download the software from these sites. All required software is provided in the collection posted above.

Related Software Notes