prodsingletest_dune.sh
Go to the documentation of this file.
1 #!/bin/bash
2 #Test LArSoft code with "prodsingle.fcl".
3 
4 # only try to strace if we have it..
5 strace() {
6  if [ -x /usr/bin/strace ]
7  then
8  /usr/bin/strace "$@"
9  else
10  if [ "$1" = "-o" ]
11  then
12  shift
13  shift
14  fi
15  "$@"
16  fi
17 }
18 
19 cp ${DUNETPC_DIR}/job/prodsingle_dune35t.fcl .
20 strace -o lar.strace lar -c ${DUNETPC_DIR}/job/prodsingle_dune35t.fcl -n 1 -o single_dune_gen.root -T single_dune_hist.root