Skip to content

Installation

Tingjun Yang edited this page Jul 13, 2022 · 2 revisions

First time installation

Log into a dunegpvm machine, e.g.

ssh dunegpvm10.fnal.gov

Setup environment variables:

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh

Setup dunesw:

setup dunesw v09_54_00d00 -q e20:prof

The latest dunesw version can be found by running this command:

ups list -aK+ dunesw

Go to your directory in /dune/app and create a new directory

cd /dune/app/users/your_user_name
mkdir larsoft
cd larsoft

Setup a new local release:

mrb newDev
source localProducts_larsoft_v09_54_00_e20_prof/setup
cd srcs
mrb g protoduneana
cd $MRB_BUILDDIR
mrbsetenv
mrb i --generator ninja
mrbslp

The last command sets up the local products.

Also check the ups product protoduneana is setup:

ups active | grep protoduneana

Following development

The next time you log into a dunegpvm machine, you only need to do the following:

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
cd to your local release
source localProducts_larsoft_v09_54_00_e20_prof/setup
mrbslp
Clone this wiki locally