devCreating a New Dev Area

This page explains how to set up a new dev area (for yourself, or for the shifter area).

Detailed instructions on how to create your dev area from scratch can be found using the link below.

Changing onto a DAQ machine

When you're in the GPVM, you should ssh into a different machine if you're planning on running anything (like doing database stuff):

circle-exclamation

Once you're on a DAQ machine, you need to cd into the below directory, where all the DAQ dev areas are:

Making a new dev directory

Before doing anything else, you need to make a new dev directory in DAQ_DevAreas:

If you're making a dev area to do a DAQ test out of, use the naming convention below:

Running the createDevArea.sh script

Handily, Amy made a script called createDevArea.sh which does all the heavy lifting when making your dev area. The structure of it is shown below:

Within this, it's important to change (if needed) two things:

1

VERSION (line 9)

VERSION is where you select which release of sbndaq-artdaq you want to use. Gennadiy sends out emails with the latest version names.

2

QUALS (line 10)

QUALS is where you select the qualifiers you want to use.

Once you've selection the version and qualifiers you want, you can run the script as seen below, making sure to include the directory you just made as an argument:

Building the dev area

Before you do anything with your dev area, you need to build it. To do this, run the below command:

The -j8 part of this will build your area on eight cores in parallel instead of just one (so you can remove it if you don't need it).

Now, you're ready to begin using your dev area! 🙌

Last updated