3 ###############################################################################
4 # Set up the environment and install sbncode on a GPVM
6 # A. Mastbaum <mastbaum@uchicago.edu>, 2018/06/12
7 ###############################################################################
12 # Set up the environment
14 cat << EOF > ${TOPDIR}/setup_sbncode-${
LAR_VERSION}.sh
15 source /cvmfs/
uboone.opensciencegrid.org/products/setup_uboone.sh
20 source /cvmfs/icarus.opensciencegrid.org/products/icarus/setup_icarus.sh
27 WDIR=
"${PWD}/sbncode-${LAR_VERSION}"
31 echo
"Unable to create directory ${WDIR}"
37 LAR_QUAL_STR=${LAR_QUAL
49 cat << EOF >> ${TOPDIR}/setup_sbncode-${
LAR_VERSION}.sh
56 cd ${WDIR}/srcs/sbncode/sbnanalysis
59 cmake .. -DCMAKE_BUILD_TYPE=Debug
63 echo
"source ${PWD}/bin/setup_sbnanalysis.sh" >> ${TOPDIR}/setup_sbncode-${
LAR_VERSION}.sh
65 echo -
e "Setup finished. To use this environment, run\n\n source setup_sbncode-${LAR_VERSION}.sh"
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
constexpr details::BinObj< T > bin(T value)
Returns a wrapper to print the specified data in binary format.
stream1 can override from command line with o or output services user sbnd