This is a guide on how to update LArSoft on the Neutrino Cluster at CERN.

  • Do a fresh login

  • Set up UPS (Unix Product Support):
    source /cvmfs/

  • List the available versions of LArSoft:
    ups list -aK+ larsoft

  • Set up the latest larsoft release, e.g.:
    setup larsoft vxx_yy_zz -q e14:prof

  • Go to your directory for code development:
    cd /mnt/nas01/users/yourusername/larsoft_mydev

  • Setup your development area:
    mrb newDev -p

  • This will create a new "localProducts" folder. Make sure you source the setup in the new folder (you can remove the old "localProducts" folder):
    source localProducts_larsoft_vxx_yy_zz_e14_prof/setup

  • Update the dunetpc repository:
    cd srcs
    cd dunetpc
    git checkout develop
    git pull

  • If you want to continue working in your feature branch after updating (for example in the tutorial branch with "") , also do:
    git checkout feature/user_Branchname
    git merge develop

  • Do only one of the following:
    If you already pulled the larreco repository, update it as well:
    cd ..
    cd larreco
    git checkout develop
    git pull
    cd ..
    Otherwise, pull the larreco repository:
    cd ..
    mrb g larreco

  • If you have other repositories in your /srcs folder (e.g. larsim, larventdisplay, lardata, ...), update them in the same way.

  • Rebuild your code:
    mrb z
    mrb i -j8

-- ChristophAlt - 2017-05-30

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2018-05-25 - 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