Workflow 6545, Stage 1
Priority | 50 |
Processors | 1 |
Wall seconds | 36000 |
Image | /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest |
RSS bytes | 4194304000 (4000 MiB) |
Max distance for inputs | 100.0 |
Enabled input RSEs |
CERN_PDUNE_EOS, DUNE_CA_SFU, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_GLASGOW, 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, MONTECARLO, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC |
Enabled output RSEs |
CERN_PDUNE_EOS, DUNE_CA_SFU, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_GLASGOW, 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, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC |
Enabled sites |
BR_CBPF, CA_SFU, CA_Victoria, CERN, CH_UNIBE-LHEP, ES_CIEMAT, ES_PIC, FR_CCIN2P3, IN_TIFR, IT_CNAF, NL_SURFsara, UK_Bristol, UK_Brunel, UK_Durham, UK_Edinburgh, UK_Glasgow, UK_Imperial, UK_Lancaster, UK_Liverpool, UK_Manchester, UK_Oxford, UK_QMUL, UK_RAL-PPD, UK_RAL-Tier1, UK_Sheffield, 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 | RSE expression |
---|
1 | https://fndcadoor.fnal.gov:2880/dune/scratch/users/apaudel/06545/1 | *.* | | | |
Environment variables
Name | Value |
---|
INPUT_TAR_DIR_LOCAL | /cvmfs/fifeuser1.opensciencegrid.org/sw/dune/c0b76211701905c44315a89c0642aa817da5ba55 |
File states
Total files | Finding | Unallocated | Allocated | Outputting | Processed | Not found | Failed |
---|
|
1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Job states
Total | Submitted | Started | Processing | Outputting | Finished | Notused | Aborted | Stalled | Jobscript error | Outputting failed | None processed |
---|
902 | 0 | 0 | 0 | 0 | 0 | 0 | 777 | 124 | 0 | 0 | 1 |
RSEs used
Name | Inputs | Outputs |
---|
None | 0 | 203 |
Stats of processed input files as CSV or JSON, and of uploaded output files as CSV or JSON (up to 10000 files included)
Jobscript
#!/bin/bash
:<<'EOF'
To use this jobscript to process 10 files from the dc4-vd-coldbox-bottom
data and put the output in the usertests namespace (MetaCat) and
scope (Rucio), and in the usertests:output-test-01 dataset in MetaCat and
Rucio, use this command to create the workflow:
justin simple-workflow \
--mql \
"files from dune:all where core.run_type='dc4-vd-coldbox-bottom' and dune.campaign='dc4' limit 10" \
--jobscript dc4-vd-coldbox-bottom.jobscript --max-distance 30 --rss-mb 4000 \
--scope usertests --output-pattern '*_reco_data_*.root:output-test-01'
The following optional environment variables can be set when creating the
workflow/stage: FCL_FILE, NUM_EVENTS, DUNE_VERSION, DUNE_QUALIFIER
EOF
DUNE_VERSION=${DUNE_VERSION:-v10_04_07d01}
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
# Setup DUNE environment
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup dunesw "$DUNE_VERSION" -q "$DUNE_QUALIFIER"
export FHICL_FILE_PATH=${INPUT_TAR_DIR_LOCAL}:${FHICL_FILE_PATH}
#export FW_SEARCH_PATH=${INPUT_TAR_DIR_LOCAL}/config_data:$FW_SEARCH_PATH
#export FW_SEARCH_PATH=${INPUT_TAR_DIR_LOCAL}:$FW_SEARCH_PATH
# Properly setup custom code with INPUT_TAR_DIR_LOCAL
export OMP_NUM_THREADS=${JUSTIN_PROCESSORS}
# Construct outFile from input $pfn
now=$(date -u +"%Y-%m-%dT_%H%M%SZ")
Ffname=`echo $pfn | awk -F/ '{print $NF}'`
fname=`echo $Ffname | awk -F. '{print $1}'`
#outRecoFile=${fname}_crp6_daphne_data_reco_${now}
#outAnaFile=${fname}_ana_${now}
#campaign="justIN.r${JUSTIN_WORKFLOW_ID}s${JUSTIN_STAGE_ID}"
campaign="justIN.w${JUSTIN_WORKFLOW_ID}s${JUSTIN_STAGE_ID}"
(
# Do the scary preload stuff in a subshell!
export LD_PRELOAD=${XROOTD_LIB}/libXrdPosixPreload.so
echo "$LD_PRELOAD"
lar -c photonFull_module0_sim_0_0_0_phinf.fcl
lar -c photonFull_module0_sim_0_0_10_phinf.fcl
lar -c photonFull_module0_sim_0_0_1_phinf.fcl
lar -c photonFull_module0_sim_0_0_2_phinf.fcl
lar -c photonFull_module0_sim_0_0_3_phinf.fcl
lar -c photonFull_module0_sim_0_0_4_phinf.fcl
lar -c photonFull_module0_sim_0_0_5_phinf.fcl
lar -c photonFull_module0_sim_0_0_6_phinf.fcl
lar -c photonFull_module0_sim_0_0_7_phinf.fcl
lar -c photonFull_module0_sim_0_0_8_phinf.fcl
lar -c photonFull_module0_sim_0_0_9_phinf.fcl
lar -c photonFull_module0_sim_0_10_0_phinf.fcl
lar -c photonFull_module0_sim_0_10_10_phinf.fcl
lar -c photonFull_module0_sim_0_10_1_phinf.fcl
lar -c photonFull_module0_sim_0_10_2_phinf.fcl
lar -c photonFull_module0_sim_0_10_3_phinf.fcl
lar -c photonFull_module0_sim_0_10_4_phinf.fcl
lar -c photonFull_module0_sim_0_10_5_phinf.fcl
lar -c photonFull_module0_sim_0_10_6_phinf.fcl
lar -c photonFull_module0_sim_0_10_7_phinf.fcl
lar -c photonFull_module0_sim_0_10_8_phinf.fcl
lar -c photonFull_module0_sim_0_10_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_0_phinf.fcl
lar -c photonFull_module0_sim_0_1_10_phinf.fcl
lar -c photonFull_module0_sim_0_11_0_phinf.fcl
lar -c photonFull_module0_sim_0_11_10_phinf.fcl
lar -c photonFull_module0_sim_0_11_1_phinf.fcl
lar -c photonFull_module0_sim_0_11_2_phinf.fcl
lar -c photonFull_module0_sim_0_11_3_phinf.fcl
lar -c photonFull_module0_sim_0_11_4_phinf.fcl
lar -c photonFull_module0_sim_0_11_5_phinf.fcl
lar -c photonFull_module0_sim_0_11_6_phinf.fcl
lar -c photonFull_module0_sim_0_11_7_phinf.fcl
lar -c photonFull_module0_sim_0_11_8_phinf.fcl
lar -c photonFull_module0_sim_0_11_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_1_phinf.fcl
lar -c photonFull_module0_sim_0_12_0_phinf.fcl
lar -c photonFull_module0_sim_0_12_10_phinf.fcl
lar -c photonFull_module0_sim_0_12_1_phinf.fcl
lar -c photonFull_module0_sim_0_12_2_phinf.fcl
lar -c photonFull_module0_sim_0_12_3_phinf.fcl
lar -c photonFull_module0_sim_0_12_4_phinf.fcl
lar -c photonFull_module0_sim_0_12_5_phinf.fcl
lar -c photonFull_module0_sim_0_12_6_phinf.fcl
lar -c photonFull_module0_sim_0_12_7_phinf.fcl
lar -c photonFull_module0_sim_0_12_8_phinf.fcl
lar -c photonFull_module0_sim_0_12_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_2_phinf.fcl
lar -c photonFull_module0_sim_0_13_0_phinf.fcl
lar -c photonFull_module0_sim_0_13_10_phinf.fcl
lar -c photonFull_module0_sim_0_13_1_phinf.fcl
lar -c photonFull_module0_sim_0_13_2_phinf.fcl
lar -c photonFull_module0_sim_0_13_3_phinf.fcl
lar -c photonFull_module0_sim_0_13_4_phinf.fcl
lar -c photonFull_module0_sim_0_13_5_phinf.fcl
lar -c photonFull_module0_sim_0_13_6_phinf.fcl
lar -c photonFull_module0_sim_0_13_7_phinf.fcl
lar -c photonFull_module0_sim_0_13_8_phinf.fcl
lar -c photonFull_module0_sim_0_13_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_3_phinf.fcl
lar -c photonFull_module0_sim_0_14_0_phinf.fcl
lar -c photonFull_module0_sim_0_14_10_phinf.fcl
lar -c photonFull_module0_sim_0_14_1_phinf.fcl
lar -c photonFull_module0_sim_0_14_2_phinf.fcl
lar -c photonFull_module0_sim_0_14_3_phinf.fcl
lar -c photonFull_module0_sim_0_14_4_phinf.fcl
lar -c photonFull_module0_sim_0_14_5_phinf.fcl
lar -c photonFull_module0_sim_0_14_6_phinf.fcl
lar -c photonFull_module0_sim_0_14_7_phinf.fcl
lar -c photonFull_module0_sim_0_14_8_phinf.fcl
lar -c photonFull_module0_sim_0_14_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_4_phinf.fcl
lar -c photonFull_module0_sim_0_15_0_phinf.fcl
lar -c photonFull_module0_sim_0_15_10_phinf.fcl
lar -c photonFull_module0_sim_0_15_1_phinf.fcl
lar -c photonFull_module0_sim_0_15_2_phinf.fcl
lar -c photonFull_module0_sim_0_15_3_phinf.fcl
lar -c photonFull_module0_sim_0_15_4_phinf.fcl
lar -c photonFull_module0_sim_0_15_5_phinf.fcl
lar -c photonFull_module0_sim_0_15_6_phinf.fcl
lar -c photonFull_module0_sim_0_15_7_phinf.fcl
lar -c photonFull_module0_sim_0_15_8_phinf.fcl
lar -c photonFull_module0_sim_0_15_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_5_phinf.fcl
lar -c photonFull_module0_sim_0_16_0_phinf.fcl
lar -c photonFull_module0_sim_0_16_10_phinf.fcl
lar -c photonFull_module0_sim_0_16_1_phinf.fcl
lar -c photonFull_module0_sim_0_16_2_phinf.fcl
lar -c photonFull_module0_sim_0_16_3_phinf.fcl
lar -c photonFull_module0_sim_0_16_4_phinf.fcl
lar -c photonFull_module0_sim_0_16_5_phinf.fcl
lar -c photonFull_module0_sim_0_16_6_phinf.fcl
lar -c photonFull_module0_sim_0_16_7_phinf.fcl
lar -c photonFull_module0_sim_0_16_8_phinf.fcl
lar -c photonFull_module0_sim_0_16_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_6_phinf.fcl
lar -c photonFull_module0_sim_0_17_0_phinf.fcl
lar -c photonFull_module0_sim_0_17_10_phinf.fcl
lar -c photonFull_module0_sim_0_17_1_phinf.fcl
lar -c photonFull_module0_sim_0_17_2_phinf.fcl
)
# Subshell exits with exit code of last command
larExit=$?
echo "lar exit code $larExit"
echo "$pfn" > justin-processed-pfns.txt
ls -lRS
# Create compressed tar file with all log files
tar zcf `echo "$JUSTIN_JOBSUB_ID.logs.tgz" | sed 's/@/_/g'` *.log
exit $jobscriptExit
#exit $larExit