Workflow 2790, Stage 1
Priority | 50 |
Processors | 1 |
Wall seconds | 28800 |
RSS bytes | 4194304000 (4000 MiB) |
Max distance for inputs | 100.0 |
Enabled input RSEs |
CERN_PDUNE_EOS, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_LANCASTER_CEPH, DUNE_UK_MANCHESTER_CEPH, DUNE_US_BNL_SDCC, DUNE_US_FNAL_DISK_STAGE, FNAL_DCACHE, FNAL_DCACHE_STAGING, FNAL_DCACHE_TEST, MANCHESTER, MONTECARLO, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC |
Enabled output RSEs |
CERN_PDUNE_EOS, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_LANCASTER_CEPH, DUNE_UK_MANCHESTER_CEPH, DUNE_US_BNL_SDCC, DUNE_US_FNAL_DISK_STAGE, FNAL_DCACHE, FNAL_DCACHE_STAGING, FNAL_DCACHE_TEST, MANCHESTER, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC |
Enabled sites |
BR_CBPF, CA_SFU, CA_Victoria, CERN, CH_UNIBE-LHEP, CZ_FZU, ES_CIEMAT, ES_PIC, FR_CCIN2P3, IN_TIFR, IT_CNAF, NL_NIKHEF, NL_SURFsara, UK_Bristol, UK_Brunel, UK_Durham, UK_Edinburgh, UK_Imperial, UK_Lancaster, UK_Liverpool, UK_Manchester, UK_Oxford, UK_RAL-Tier1, UK_Sheffield, US_BNL, US_Caltech, US_Colorado, US_FNAL-FermiGrid, US_FNAL-T1, US_Michigan, US_MIT, US_Nebraska, US_NotreDame, US_PuertoRico, US_SU-ITS, US_Swan, US_UChicago, US_UConn-HPC, US_UCSD, US_Wisconsin |
Scope | usertests |
Events for this stage |
Output patterns
| Destination | Pattern | Lifetime | For next stage |
---|
1 | https://fndcadoor.fnal.gov:2880/dune/scratch/users/lwhite86/02790/1 | H4_v34b_*.root | | |
Environment variables
Name | Value |
---|
CENTRALP | 5 |
INPUT_DIR | /cvmfs/fifeuser2.opensciencegrid.org/sw/dune/4e1d2c14ec459d1bb9f5407dba2a8385844995e3 |
NPART | 100000 |
POLARITY | + |
File states
Total files | Finding | Unallocated | Allocated | Outputting | Processed | Not found | Failed |
---|
|
10000 | 0 | 0 | 0 | 0 | 10000 | 0 | 0 |
Job states
Total | Submitted | Started | Processing | Outputting | Finished | Notused | Aborted | Stalled | Jobscript error | Outputting failed | None processed |
---|
11440 | 0 | 0 | 0 | 0 | 10563 | 0 | 141 | 494 | 0 | 128 | 114 |
RSEs used
Name | Inputs | Outputs |
---|
MONTECARLO | 10587 | 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_NotreDame | 298 | 1 |
NL_SURFsara | 26 | 27 |
US_PuertoRico | 26 | 0 |
US_FNAL-FermiGrid | 18 | 27 |
UK_Manchester | 16 | 16 |
ES_PIC | 13 | 4 |
CZ_FZU | 9 | 7 |
BR_CBPF | 7 | 13 |
IT_CNAF | 6 | 5 |
UK_Sheffield | 5 | 1 |
UK_Brunel | 5 | 0 |
NL_NIKHEF | 4 | 11 |
CERN | 3 | 1 |
US_UChicago | 3 | 1 |
UK_Lancaster | 2 | 2 |
UK_Imperial | 2 | 0 |
FR_CCIN2P3 | 2 | 0 |
US_Colorado | 1 | 1 |
CA_SFU | 1 | 0 |
UK_RAL-Tier1 | 0 | 22 |
UK_Liverpool | 0 | 1 |
Jobscript
#!/bin/bash
SECONDS=0
#export PMOMENTUM=80000
export POLARITY="${POLARITY:-+}"
if [ $POLARITY != "+" ] && [ ${POLARITY} != "-" ]; then
echo "ERROR MUST SUPPLY + OR - TO POLARITY"
exit 1
fi
export PMOMENTUM="${POLARITY:-+}80000"
echo "PMOMENTUM: ${PMOMENTUM}"
export INFILE=H4.in
export CENTRALP="${CENTRALP:-1}"
export MOMENTUMVLE="${POLARITY}${CENTRALP}" #"3"
echo "MOMENTUMVLE: ${MOMENTUMVLE}"
export PARTPERJOB=${NPART:-100}
export ADDPARAM="momentumVLE=$MOMENTUMVLE pMomentum=$PMOMENTUM"
export ADDFILES=""
JOBID=1
#export JOBID=$(($st+1)) ##TODO -- REPLACE WITH JUSTIN JOB
DID_PFN_RSE=`$JUSTIN_PATH/justin-get-file`
echo "did_pfn_rse $DID_PFN_RSE"
pfn=`echo $DID_PFN_RSE | cut -f2 -d' '`
echo $INPUT_DIR
ls $INPUT_DIR
#echo $G4DATA_DIR
#ls $G4DATA_DIR
#
#echo $G4BL_DIR
#ls $G4BL_DIR
#
#echo $PACK_DIR
#ls $PACK_DIR
echo "Unpacking g4bl"
tar -xzf $INPUT_DIR/g4bl.tar.gz --checkpoint=1000
if [ $? -ne 0 ]
then
echo "Exiting with error"
exit 1
fi
echo "Unpacking Geant4Data"
tar -xzf $INPUT_DIR/Geant4Data.tar.gz --checkpoint=1000
if [ $? -ne 0 ]
then
echo "Exiting with error"
exit 1
fi
CURDIR=$(pwd)
echo $CURDIR/Geant4Data > g4bl/.data
echo "Unpacking Inputfiles Pack"
tar -xzf $INPUT_DIR/pack.tar.gz --checkpoint=1000
if [ $? -ne 0 ]
then
echo "Exiting with error"
exit 1
fi
$CURDIR/g4bl/bin/g4bl $INFILE jobID=$JOBID totNumEv=$PARTPERJOB $ADDPARAM 2>&1 | tee g4bloutput.txt
#Clean up
rm -rf Geant4Data
rm -rf g4bl
#Add timestamp to the output
now=$(date -u +"%Y%m%dT%H%M%SZ")
oldname=`ls H4*.root`
newname=`echo ${oldname} | sed -e "s/.root/_${now}_${pfn}.root/"`
mv ${oldname} ${newname}
if [ $? -ne 0 ]
then
echo "Exiting with error"
exit 1
else
echo "$pfn" > justin-processed-pfns.txt
fi
#errorsSaving=$((`cat g4bloutput.txt | grep "Error in <T" | wc -l`))
#if [ $errorsSaving -ne 0 ]
#then
# echo "Exiting with error"
# exit 1
#fi
#
#echo "RUNTIME: $SECONDS seconds elapsed."