Project

General

Profile

Building v01.04

Building on the sbnd-daq* Machines

On these machines, we have some of the sbndaq repositories available. Here are the steps:

Steps:


# setup the software environment
source /grid/fermiapp/products/larsoft/setup
source /grid/fermiapp/products/artdaq/setup
source /software/products/setup
setup mrb
# make a new mrb environment
export MRB_PROJECT=sbndqm
mrb newDev -v v0_01_04 -q e15:prof
source localProducts_sbndqm_v0_01_04_e15_prof/setup
cd srcs
# pull down the latest sbndqm 
mrb g sbndqm
# pulling down dependencies...
# sbndaq-redis-plugin
mrb g -d sbndaq_redis_plugin -t v0_01_04 sbndaq-redis-plugin

# we need to mess with the qual’s so build our own sbndaq-artdaq-core
mrb g -d sbndaq_artdaq_core -t v0_01_04 sbndaq-artdaq-core

# have to edit ups/product_deps in sbndaq_artdaq_core:
# change all s67 qualifiers for artdaq_core to s65

# build
mrbsetenv
mrb i -j6

Building on the gpvm’s

Steps:


# setup the software environment
source /cvmfs/fermilab.opensciencegrid.org/products/larsoft/setup
source /cvmfs/fermilab.opensciencegrid.org/products/artdaq/setup
setup mrb
# make a new mrb environment
export MRB_PROJECT=sbndqm
mrb newDev -v v0_01_04 -q e15:prof
source localProducts_sbndqm_v0_01_04_e15_prof/setup
cd srcs
# pull down the latest sbndqm 
mrb g sbndqm
# pulling down dependencies...
# sbndaq-redis-plugin
mrb g --product sbndaq_redis_plugin -t v0_01_04 sbndaq-redis-plugin

# we have to build additional dependencies which are not available globally on the gpvm's

# sbndaq-artdaq-core
mrb g --product sbndaq_artdaq_core -t v0_01_04 sbndaq-artdaq-core
# icarus base dependencies -- needed to build even if you aren’t using icarus stuff
mrb g --product icarus_artdaq_base -t v0_06_05 icarus-artdaq-base

# have to edit srcs/sbndaq_artdaq_core/ups/product_deps in sbndaq_artdaq_core:
# change all s67 qualifiers for artdaq_core to s65

# build
mrbsetenv
mrb i -j6