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 (e.g., /nfs/sw/work_dirs/your_new_directory), and then cd'ing into it:
source ~np04daq/bin/
chmod +x
./ --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 command above.


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
git clone

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/<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
Rather than just build your own changes in their, it's probably best to make a separate test area. Use
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
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 | r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r8 - 2018-02-02 - 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