Workflow 2028, Stage 1
Priority | 50 |
Processors | 1 |
Wall seconds | 80000 |
RSS bytes | 2097152000 (2000 MiB) |
Max distance for inputs | 100.0 |
Enabled input RSEs |
|
Enabled output RSEs |
|
Enabled sites |
|
Scope | usertests |
Events for this stage |
Output patterns
| Destination | Pattern | Lifetime | For next stage |
---|
0 | https://fndcadoor.fnal.gov:2880/dune/scratch/users/lavaut/02028/1 | *evts*.root | | |
Environment variables
Name | Value |
---|
ENERGY | 5 |
INPUT_TAR_DIR_LOCAL | /cvmfs/fifeuser2.opensciencegrid.org/sw/dune/0674839e701dfc5275f40a32633357bc98805662 |
NUM_EVENTS | 50 |
File states
Total files | Finding | Unallocated | Allocated | Outputting | Processed | Not found | Failed |
---|
|
10 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
Job states
Total | Submitted | Started | Processing | Outputting | Finished | Notused | Aborted | Stalled | Jobscript error | Outputting failed | None processed |
---|
90 | 0 | 0 | 0 | 0 | 83 | 0 | 2 | 5 | 0 | 0 | 0 |
RSEs used
Name | Inputs | Outputs |
---|
MONTECARLO | 60 | 0 |
Stats of processed input files as CSV or JSON, and of uploaded output files as CSV or JSON (up to 10000 files included)
File reset events, by site
Site | Allocated | Outputting |
---|
US_PuertoRico | 3 | 0 |
Jobscript
echo "gen-g4-det-reco of electron at ${ENERGY} MeV in PDVD"
#!/bin/bash
# fcl file and DUNE software version/qualifier to be used
FCL_GEN=${INPUT_TAR_DIR_LOCAL}/gen_protoDune_electron_${ENERGY}MeV_mono.fcl
FCL_REC=${INPUT_TAR_DIR_LOCAL}/standard_reco_protodunehd.fcl
FCL_G41=${INPUT_TAR_DIR_LOCAL}/standard_g4_protodunehd_stage1.fcl
FCL_G42=${INPUT_TAR_DIR_LOCAL}/standard_g4_protodunehd_stage2.fcl
FCL_DET=${INPUT_TAR_DIR_LOCAL}/standard_detsim_protodunehd.fcl
DUNE_VERSION=${DUNE_VERSION:-v09_89_01d00}
DUNE_QUALIFIER=${DUNE_QUALIFIER:-e26:prof}
# number of events to process from the input file
if [ "$NUM_EVENTS" != "" ] ; then
events_option="-n $NUM_EVENTS"
fi
# First get an unprocessed file from this stage
did_pfn_rse=`$JUSTIN_PATH/justin-get-file`
#if [ "$did_pfn_rse" = "" ] ; then
# echo "Nothing to process - exit jobscript"
# exit 0
#fi
# Setup DUNE environment
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
# the xroot lib for streaming non-root files is in testproducts,
# so add it to the start of the path
export PRODUCTS=/cvmfs/dune.opensciencegrid.org/products/dune/testproducts:${PRODUCTS}
setup dunesw "$DUNE_VERSION" -q "$DUNE_QUALIFIER"
export OMP_NUM_THREADS=${JUSTIN_PROCESSORS}
# Construct outFile
DEC="protodunehd"
TYPE="electron"
ROI="111"
now=$(date -u +"%Y-%m-%dT_%H%M%SZ")
outFile_gen=${DEC}_${TYPE}_${ENERGY}MeV_${NUM_EVENTS}evts_gen_${now}.root
outFile_g41=${DEC}_${TYPE}_${ENERGY}MeV_${NUM_EVENTS}evts_g41_${now}.root
outFile_g42=${DEC}_${TYPE}_${ENERGY}MeV_${NUM_EVENTS}evts_g42_${now}.root
outFile_det=${DEC}_${TYPE}_${ENERGY}MeV_${NUM_EVENTS}evts_det_${now}.root
outFile_rec=${DEC}_${TYPE}_${ENERGY}MeV_${NUM_EVENTS}evts_rec_ROI${ROI}_${now}.root
## THE PROCESS
lar -c $FCL_GEN $events_option -o $outFile_gen
lar -c $FCL_G41 $outFile_gen -o $outFile_g41
lar -c $FCL_G42 $outFile_g41 -o $outFile_g42
lar -c $FCL_DET $outFile_g42 -o $outFile_det
lar -c $FCL_REC $outFile_det -o $outFile_rec
echo 'WORK DONE !'