WriteToCVMFS: Difference between revisions

Jump to navigation Jump to search
No edit summary
<nowiki>
 
*** THESE INSTRUCTIONS ARE OBSOLETE. ***
 
For the latest LZ simulation software, please see http://teacher.pas.rochester.edu:8080/wiki/bin/view/Lz/IntroToBACCARAT
 
# Only login0[1-6].hep.wisc.edu are accessible from outside networks
ssh login06login.hep.wisc.edu
 
# From login06there, login to lzsoft.hep.wisc.edu (this is the cvmfs writer)
ssh lzsoft.hep.wisc.edu
 
# Make sure your path is set to these
export PATH=$PATH:/usr/bin:/bin:/usr/local/bin:/sbin:/usr/sbin
 
# The /scratch is where you would build the package before installing on cvmfs
mkdirp -p /scratch/$USER
cd /scratch/$USER
 
wget http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/clhep-2.2.0.4.tgz .
# Download the desired version from http://proj-clhep.web.cern.ch/proj-clhep/clhep23.html
tar xvzf clhep-2.2.0.4.tgz
 
tar -xvzf clhep-2.2.03.4.3.tgz
mkdir -p clhep_build
cd clhep_build
 
# Create CVMFS install area where libraries and binaries will be installed
mkdir -p /cvmfs/lz.opensciencegrid.org/CLHEP/2.2.03.4.3
 
# Follow instructions in 2.3.4.3/CLHEP/README.md file
cmake -DCMAKE_INSTALL_PREFIX=/cvmfs/lz.opensciencegrid.org/CLHEP/2.23.04.43 ../2.23.04.43/CLHEP
cmake --build . --config RelWithDebInfo
ctest
cmake --build . --target install
 
# Options with cmake
cmake -DCMAKE_INSTALL_PREFIX=/cvmfs/lz.opensciencegrid.org/CLHEP/2.2.0.4 ../2.2.0.4/CLHEP
make -j8
make test
make install
# At this point you should see all the libraries in /cvmfs
</nowiki>

Navigation menu