Difference between revisions of "SCEC-ERI Workshop 2014"

From SCECpedia
Jump to navigationJump to search
Line 71: Line 71:
 
*Select "Development System" to get compilers/devel libraries installed
 
*Select "Development System" to get compilers/devel libraries installed
 
*Install missing Python dependencies for BBP
 
*Install missing Python dependencies for BBP
**sudo yum install numpy scipy python-matplotlib
+
**sudo yum install numpy scipy python-matplotlib python-matplotlib-tk python-basemap
 
**install pyproj from https://pyproj.googlecode.com/files/pyproj-1.8.9.tar.gz
 
**install pyproj from https://pyproj.googlecode.com/files/pyproj-1.8.9.tar.gz
  
 
* Setting up a shared folder on the virtual machine
 
* Setting up a shared folder on the virtual machine
 
** https://forums.virtualbox.org/viewtopic.php?t=15868
 
** https://forums.virtualbox.org/viewtopic.php?t=15868
 
  
 
* Install UCVM
 
* Install UCVM
Line 91: Line 90:
  
 
* Install BBP
 
* Install BBP
** [[Broadband Platform]]
+
** $ mkdir cme-downloads
 +
** $ cd cme-downloads
 +
** Download the Broadband Platform from: [[Broadband Platform]]
 +
*** 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 sdsu and uwo
 +
*** $ make
 +
*** 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
 +
*** $ cd ../../uwo/bin
 +
*** $ wget http://bbpvault.usc.edu/bbp/temp/exsim14
 +
** 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 ==
 
== USR Exercises ==

Revision as of 21:30, 28 August 2014

Software

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 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 a Fedora CME Configuration:
  • Linux - Fedora (64Bit) v14
  • Use the Default System except:
    • Set Base Memory to 2048MB
    • Set FileSystem: 50GB dynamic
  • Select "Development System" to get compilers/devel libraries installed
  • Install missing Python dependencies for BBP
  • Install UCVM
    • UCVM
    • wget ucvm-14.3.0.tar.gz package
    • tar -xzvf ucvm-14.3.0.tar.gz
    • cd UCVM
    • ./ucvm_setup.py -d <------- Dynamic linking is needed!
      • Select CVM-S4 and CVM-H only
    • Edit .bashrc
      • Add /home/cme/ucvm-14.3.0/bin to PATH
      • Add LD_LIBRARY_PATH and export
    • $make check

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