WriteToCVMFS: Difference between revisions
Jump to navigation
Jump to search
TapasSarangi (talk | contribs) |
TapasSarangi (talk | contribs) |
||
Line 43: | Line 43: | ||
cd ${RevNum} |
cd ${RevNum} |
||
make |
make |
||
# If this is the latest ( HEAD ) version in the repo, then create a symlink to HEAD |
|||
cd /cvmfs/lz.opensciencegrid.org/LUXSim |
|||
ln -s ${RevNum} HEAD |
|||
</nowiki> |
</nowiki> |
Revision as of 20:51, 15 September 2015
How to write to /cvmfs/lz.opensciencegrid.org
# osggrid01.hep.wisc.edu is the cvmfs writer and only accessible through the hep.wisc.edu network # login to osggrid01.hep.wisc.edu via lzlogin01.hep.wisc.edu ssh username@lzlogin01.hep.wisc.edu ssh osggrid01.hep.wisc.edu cd /cvmfs/lz.opensciencegrid.org/ # Write an empty file to the parent directory (don't follow it literally) touch myFile.txt
Building a version of LUXSim
# login to osggrid01.hep.wisc.edu ssh osggrid01.hep.wisc.edu # Setup PATH, ROOTSYS, GEANT4 export ROOTSYS=/cvmfs/lz.opensciencegrid.org/ROOT/v5.34.32/slc6_gcc44_x86_64/root export PATH=${ROOTSYS}/bin:/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/bin export LD_LIBRARY_PATH=${ROOTSYS}/lib:/lib64:/usr/lib64:/lib:/usr/lib source /cvmfs/lz.opensciencegrid.org/geant4/etc/geant4env.sh # go to LUXSim directory cd /cvmfs/lz.opensciencegrid.org/LUXSim # e.g. I will install the latest version of LUXSim # Note that <username> and <passwd> for LUXSim svn repo should be obtained by following instructions given in the page below: # http://teacher.pas.rochester.edu:8080/wiki/bin/view/Lux/UsageSVN svn checkout --username <username> --password <passwd> svn://xenophile.case.edu/LUXSim latest # Find the revision number of latest cd latest/ RevNum=svn info | awk '/Revision/ {print "r"$2}' # Organize the directory by renaming latest to revision number cd /cvmfs/lz.opensciencegrid.org/LUXSim mv latest ${RevNum} cd ${RevNum} make # If this is the latest ( HEAD ) version in the repo, then create a symlink to HEAD cd /cvmfs/lz.opensciencegrid.org/LUXSim ln -s ${RevNum} HEAD