Testing DUNE at CERN Neutrino Cluster



Where DUNETPC is installed

DUNE versions are located at /mnt/nas00/software/dune-vXX_YY_ZZ (current release is : vXX_YY_ZZ = v05_14_01)

DUNETPC repository

Setting up your enviroment (manually)

  • Setup your working space by making a directory
    • mkdir DuneSwTutorialTest
    • cd DuneSwTutorialTest/

  • Now set up the basic tools and variables that are needed:
    • setup mrb
    • setup git
    • setup gitflow
    • export MRB_PROJECT=larsoft

  • At this point, we need to make a directory for this dunetpc release (release version called XX_YY_ZZ here, replace with the version you want - see table below):
    • mkdir larsoft_vXX_YY_ZZ
    • cd larsfot_vXX_YY_ZZ/

  • Create a new installation of dunetpc (building development area) specifying version and qualifiers
    • mrb newDev -v vXX_YY_ZZ -q e9:prof

  • IMPORTANT the step above generates a setup that you must type (now and whenever you log in):
    • souce localProducts_larsoft_vXX_YY_ZZ_e9_prof/setup

  • You will now see a directory called srcs (sources - where the code is kept). Move to this directory and check out the code packages you want
    • cd srcs/
    • mrb g dunetpc
    • mrb g larsim

  • Build your release and tell larsoft to use your locally built libraries:
    • mrbsetenv
    • mrb i
    • mrbslp

Every time you login (manually)

Every user that has made a successful working space of DuneSwTutorialTest (according to the previous step) needs to do the following:

  • source /mnt/nas00/software/dune-vXX_YY_ZZ/setup
  • source localProducts_larsoft_vXX_YY_ZZ_e9_prof/setup (that was created from DuneSwTutorialTest)
  • setup git
  • setup gitflow
  • setup mrb
  • mrbslp

Setting up older versions

  • Set up the UPS for DUNE:
    • source /path/to/DUNE/setup

  • Setup your working space by making a directory
    • mkdir DuneSwTutorialTest
    • cd DuneSwTutorialTest/

  • Now set up the basic tools and variables that are needed:
    • setup git
    • setup gitflow
    • setup mrb
    • export MRB_PROJECT=larsoft

  • At this point, we need to make a directory for this larsoft release (release version called XX_YY_ZZ here, replace with the version you want - see table below):
    • mkdir larsoft_vXX_YY_ZZ
    • cd larsoft_vXX_YY_ZZ/
  • Create a new installation of LArSoft (building development area) specifying version and qualifiers
    • mrb newDev -v vXX_YY_ZZ -q e9:prof
  • IMPORTANT the step above generates a setup that you must type (now and whenever you log in):
souce localProducts_larsoft_vXX_YY_ZZ_e9_prof/setup
  • You will now see a directory called srcs (sources - where the code is kept). Move to this directory and check out the code packages you want
    • cd srcs/
    • mrb g -t vXX_YY_ZZ dunetpc
  • Build your release and tell larsoft to use your locally built libraries:
    • cd dunetpc/
    • mrbsetenv
    • mrb i
    • cd ..
    • mrbslp

Setting up your enviroment (using script)

Every time you login (using script)

* Download the freshlogin_dune_sw_neutplatform.sh script
  • and execute it : source freshlogin_dune_sw_neutplatform.sh

DUNE-centric Guide to Using LArSoft in git/mrb world

The suggested link is a quick guide to the things you, a member of DUNE, will need to do in order to run and develop applications in LArSoft.

more general instructions/guidance

Follow this link for more general instructions/guidance.

Getting Started Examples with dunetpc.


Arrow blue up Back to the Neutrino Platform-Computing Main Page

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r12 - 2017-02-10 - NectarB
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF 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