John Freeman, Feb-1-2018: You can skip the instructions below which begin after the big red message and simply do the following after logging into np04-srv-* (preferably under your own account rather than the np04daq account), creating a new directory somewhere on /nfs/sw/work_dirs (e.g., /nfs/sw/work_dirs/your_new_directory), and then cd'ing into it:
source ~np04daq/bin/web_proxy.sh
wget https://cdcvs.fnal.gov/redmine/projects/dune-artdaq/repository/revisions/develop/raw/tools/quick-mrb-start.sh
chmod +x quick-mrb-start.sh
./quick-mrb-start.sh --wib-installation-dir /nfs/sw/work_dirs/dune-artdaq-wib-dev/WIBSoft/ --uhal-products-dir /nfs/sw/artdaq/products --not-dune-artdaq-developer
This will install and build dune-artdaq from the head of its develop branch, as well as the released version of dune-raw-data which dune-artdaq depends on. If you'd prefer to have dune-raw-data from the head of its develop branch as well, add the argument --dune-raw-data-develop-branch to the quick-mrb-start.sh command above.

NOTE THIS SECTION IS STILL UNDER DEVELOPMENT. INSTRUCTIONS INCOMPLETE.


Building code into the development area

Access to files

Remember on the pddaq machines that there is no direct access to the outside world, so one must stage data/files/repositories/etc. to a visible area (afs or eos are options). It can be useful to clone the FNAL-based repositories in a directory you own on afs:

git clone http://cdcvs.fnal.gov/projects/dune-raw-data
git clone http://cdcvs.fnal.gov/projects/dune-artdaq

Then, from pddaq-gen05, one can setup this directory as a new "remote" location, and do the normal git pull from there:

git remote my_afs /afs/cern.ch/user/<path_to_your_area>/dune-artdaq
git pull my_afs <my_branch>

You can always just simply copy files using AFS as a temporary staging area as well.

Setup your own build area

The area we currently run the DAQ software our of is
/daq/artdaq/dune-artdaq-base
Rather than just build your own changes in their, it's probably best to make a separate test area. Use
/daq/artdaq/dune-artdaq-base-test
as a guide, and make a copy of that in some other area with some other name (probably as pduser...). You will need to change the setup file located in the top level of that directory
/daq/artdaq/dune-artdaq-base-test/setupDUNEARTDAQ
Check that setup file over: it should be enough to change the DEV_BASE_DIR environment variable at the top to the name of your directory/location.

-- WesleyRobertKetchum - 2017-05-09

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2018-02-09 - JohnChristianFreeman
 
    • 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-2021 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