A step-by-step guid to installing dune-artdaq at the Oxford teststand

The following instructions assume you want to install and build dune-artdaq in a directory called "developarea_dune-artdaq-test". You can, of course, choose whatever directory name you wish.

First, log into dune-nat as "artdaq1". Then execute the following:

mkdir ~/developarea_dune-artdaq-test
cd ~/developarea_dune-artdaq-test
ln -s ~/products
ln -s ~/downloads
. products/setup
setup git
wget https://cdcvs.fnal.gov/redmine/projects/dune-artdaq/repository/revisions/develop/raw/tools/quick-mrb-start.sh
chmod 755 quick-mrb-start.sh 
./quick-mrb-start.sh  --noviewer --not-dune-artdaq-developer --dune-raw-data-develop-branch
Let the installation proceed until you see
 CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt


-- Configuring incomplete, errors occurred!
See also "/home/artdaq1/developarea_dune-artdaq-test/build_slf6.x86_64/CMakeFiles/CMakeOutput.log".
See also "/home/artdaq1/developarea_dune-artdaq-test/build_slf6.x86_64/CMakeFiles/CMakeError.log".

------------------------------------
ERROR: Stage cmake failed.
------------------------------------

Build error. If all else fails, try (A) logging into a new terminal and (B) creating a new directory out of which to run this script.
Don't worry - the above is to be expected. What to do next is to copy the directory via the "rsync" command over to pplxdaq05, and then to log into pplxdaq05:
rsync  -avz $PWD  artdaq1@pplxdaq05:/home/artdaq1/
ssh pplxdaq05
Once you're on pplxdaq05, do the following:
cd ~/developarea_dune-artdaq-test
. setupDUNEARTDAQ
mrb b -j8
and the build will occur. When it's done, you should see the following:
------------------------------------
INFO: Stage build successful.
------------------------------------
If you don't see the above, please contact John Freeman at jcfree@fnal dot gov.

If later you've modified the dune-raw-data code (at ~/developarea_dune-artdaq-test/srcs/dune_raw_data) and/or the dune-artdaq code (at ~/developarea_dune-artdaq-test/srcs/dune_artdaq) and wish to recompile, again do the following:

cd ~/developarea_dune-artdaq-test
. setupDUNEARTDAQ
mrb b -j8
and again, if there aren't any syntax errors in the code and it builds correctly, you should see:
------------------------------------
INFO: Stage build successful.
------------------------------------

-- JohnChristianFreeman - 2017-03-09

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2017-03-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