Skip to content

DUNE/Q-Pix Developer Onboarding

Installing the QPix Release

On HPRC Grace, there is already a clone of the master branch (the most up-to-date workable version) of the release built under /scratch/group/mitchcomp/DUNE/software/. If you are interested in using it for production, you are able to just use these, and you should not complete this onboarding.

Otherwise, if you are needing it for software development, or need to use the development branch, it is recommended that you build your own clone in your personal scratch area. You need to complete the regular DUNE Onboarding before proceeding as it will have already built your scratch directory and linked you to the Mitchcomp Github.

Start out by sourcing qpix-setup from your home directory. Next, make a directory where you will be keeping your software in your scratch directory. This can be done by running

$ cd /scratch/user/<username>
$ mkdir software $ cd software

You will now be in your software directory. From here you need to clone the QPix ReleaseBuilder from GitHub. This can be done by running

$ git clone git@github.com:Q-Pix/ReleaseBuilder.git

$ cd ReleaseBuilder

$ ./buildRelease.sh

This is setup to build all the relevant packages needed for QPix simulations: qpixg4, qpixrtd, and qpixar. You can find documentation for each of these in the DUNE Github.

Review the following talks by Dave Elofson detailing the DUNE Github hierarchy:

Structuring the Development of Software for QPix

Pt2: Structuring the Development of Software for QPix