Howto install RecExTB:

Index:

On LXPLUS:

  1. make sure you have installed and tested CMT (see Howto install CMT)
  2. make sure you have at least 200 MB disk space in your AFS directory:
    fs listquota
  3. setup root:
    1. add with your favorite editor (e.g. vi, pico, emacs) to ~/.login, ~/.cshrc and ~/.tcshrc:
      if ( ! "$?LD_LIBRARY_PATH" ) then
      setenv LD_LIBRARY_PATH /usr/lib:/usr/local/lib:/usr/local/gcc-alt-3.2.3/lib
      endif
      # Switch to the old version of root, because monitoring is crashing with the latest one
      setenv ROOTSYS /afs/cern.ch/sw/root/`cat ~/.rootversion | grep -v \#`/rh73_gcc32/root
      setenv PATH ${PATH}:${ROOTSYS}/bin
      setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${ROOTSYS}/lib
    2. add to ~/.cshrc and ~/.tcshrc:
      source $HOME/atlas_software/scripts/.ctbenv_csh
    3. add to ~/.zshrc:
      if [ ! "$LD_LIBRARY_PATH" ]; then
      export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/gcc-alt-3.2.3/lib
      fi
      # Switch to the old version of root, because monitoring is crashing with the latest one
      export ROOTSYS=/afs/cern.ch/sw/root/`cat ~/.rootversion | grep -v \#`/rh73_gcc32/root
      export PATH=${PATH}:${ROOTSYS}/bin
      export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
      . $HOME/atlas_software/scripts/.ctbenv_zsh
    4. create a .rootversion file:
      cat >.rootversion
      and type:
      v3.10.02
      press CTRL+D at the end
  4. if you allready have a atlas_software directory enter it:
    cd atlas_software
    or create and enter it:
    mkdir ~/atlas_software
    cd ~/atlas_software
  5. copy the scripts directory of user ddobos to your home directory:
    cp -r ~ddobos/atlas_software/scripts ~/atlas_software
    enter the scripts directory:
    cd ~/atlas_software/scripts
  6. create the other necessary directories:
    mkdir ~/atlas_software/misc
    mkdir ~/atlas_software/LSF
    mkdir ~/atlas_software/scratch0
    mkdir ~/atlas_software/scratch0/log
    rfmkdir $CASTOR_HOME/ctb_output
    rfmkdir $CASTOR_HOME/ctb_output/ntuple
    rfmkdir $CASTOR_HOME/ctb_output/listing
    rfmkdir $CASTOR_HOME/ctb_output/transfered
  7. check if you have copied the both environmental scripts:
    ls ~/atlas_software/scripts/.ctben*
  8. update the castor path saved in ~/atlas_software/scripts/.ctben_csh and ~/atlas_software/scripts/.ctben_zsh:
    sed s/'user\/d\/ddobos'/'user\/<youruserinitial>\/<yourusername>'/ >.ctbenv_csh.new && mv .ctbenv_csh.new .ctbenv_csh
    sed s/'user\/d\/ddobos'/'user\/<youruserinitial>\/<yourusername>'/ >.ctbenv_zsh.new && mv .ctbenv_zsh.new .ctbenv_zsh
  9. copy file atlsub.job to your LSF directorty:
    cp ~ddobos/atlas_software/LSF/atlsub.job ~ddobos/atlas_software/LSF/atlsub.job
  10. exit and relogin to your LXPLUS account

Test RecExTB:

  1. enter your scripts directory:
    cd ~/atlas_software/scripts
  2. execute the getruns script:
    getruns
  3. execute the submit script:
    submit <numberofruns> <release> <runnumber> (e.g. <numberofruns>=1 <release>=9.0.0 <runnumber>=2102722)
  4. check from time to time (if everything is fine the LSF job should take at least an hour) with:
    bjobs
    if the LSF job finished
  5. if the job finished, copy the root file to your scratch0 directory:
    rfcp $CASTOR_HOME/ctb_output/ntuple/ntuple_run<runnumber>.root ~/atlas_software/scratch0
  6. enter the RecEcTB root directory:
    cd ~ddobos/atlas_software/RecExTB/9.0.0/Reconstruction/RecExample/RecExTB/RecExTB-00-00-55/root
    start root:
    root
    and execute the monitor macro:
    .x monitor.cc
    load the root ntuple (in scratch0 directory) and check for example the hitmaps

-- DanielDobos - 07 Nov 2004

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2004-11-22 - JensWeber
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback