Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 1.63 KB

README.md

File metadata and controls

61 lines (52 loc) · 1.63 KB

Building Supera for ProtoDUNE

Supear works fine with latest larsoft release on cvmfs (linux only, sorry for mac users). larcv2 is required. The following instructions was tested with dunetpc v08_29_00 (QUAL: e17-prof), but works for later releases too.

For building

# ===========================
# Prepare a working directory
# ===========================
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup larsoft v08_29_00 -q e17:prof

mkdir MyWorkDir && cd MyWorkDir
mrb newDev
source MyWorkDir/localProducts_larsoft_v08_29_00_e17_prof/setup

# ===============
# checkout larcv2
# ===============
cd $MRB_SOURCE
git clone https://github.com/DeepLearnPhysics/larcv2
cd larcv2
source configure.sh
make

# ================
# checkout dunetpc
# ================
cd $MRB_SOURCE
mrb g -t v08_29_00 dunetpc

# ===============
# checkout supera
# ===============
cd $MRB_SOURCE/dunetpc/dune
git clone -b pdune https://github.com/kvtsang/Supera.git
cd Supera
source setup.sh pdune

# ============================================
# edit $MRB_SOURCE/dunetpc/dune/CMakeLists.txt
# add this line "add_subdirectory(Supera)"
# ============================================

cd $MRB_BUILDDIR
mrbsetenv
mrb i             # or mrb i -j <n> for parallel build

For running

# ==========================================
# Do it once, before executing "lar" command
# ==========================================
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
source MyWorkDir/larcv2/configure.sh
source MyWorkDir/localProducts_larsoft_v08_29_00_e17_prof/setup
mrblsp