This is a guide on how to install LArSoft on the Neutrino Cluster at CERN. A guide for a local installation on your laptop will follow later.

1. Prerequisites:

2. Installing LArSoft on the Neutrino Cluster at CERN:

  • Login:
    • if you are at CERN:
      ssh -XY yourusername@neut.cern.ch (CERN password) 
    • otherwise:
      ssh -XY yourusername@lxplus.cern.ch (CERN password)
      ssh -XY yourusername@neut.cern.ch
      

  • Run setupc script:
    source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
    

  • List the available versions of LArSoft. Note that the latest release of LArSoft doesn't necessarily show up at the bottom of the output (you may have to scroll up):
    ups list -aK+ larsoft

  • Set up the latest LArSoft release, e.g.:
    setup larsoft v06_80_00 -q e15:prof

  • Create a directory for code development:
    cd /mnt/nas01/users/yourusername/
    mkdir larsoft_mydev
    cd larsoft_mydev
    

  • Setup your development area:
    mrb newDev
    source localProducts_larsoft_vxx_yy_zz_e14_prof/setup
    

  • Go to the srcs directory:
    cd srcs

  • Get a Kerberos ticket (This is only possible when you have a Fermilab Computer Account and it is needed to publish your git branches and to push your changes to the repository from this installation. You can also continue without a Kerberos ticket.):
    kinit yourfermilabusername@FNAL.GOV (Fermilab Kerberos password)
    

  • Pull the dunetpc repository:
    mrb g dunetpc

  • If you want to pull (and work in) other repositories in addition to dunetpc (e.g. larreco), also do:
    mrb g larreco
    

  • Build your code:
    cd $MRB_BUILDDIR
    mrbsetenv
    mrb i -j8
    mrbslp
    

-- ChristophAlt - 2017-05-30

Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r15 - 2018-06-13 - ChristophAlt
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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