Workflow 6546, 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/06546/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 |
---|
894 | 0 | 0 | 0 | 0 | 0 | 0 | 763 | 130 | 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_17_3_phinf.fcl
lar -c photonFull_module0_sim_0_17_4_phinf.fcl
lar -c photonFull_module0_sim_0_17_5_phinf.fcl
lar -c photonFull_module0_sim_0_17_6_phinf.fcl
lar -c photonFull_module0_sim_0_17_7_phinf.fcl
lar -c photonFull_module0_sim_0_17_8_phinf.fcl
lar -c photonFull_module0_sim_0_17_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_7_phinf.fcl
lar -c photonFull_module0_sim_0_18_0_phinf.fcl
lar -c photonFull_module0_sim_0_18_10_phinf.fcl
lar -c photonFull_module0_sim_0_18_1_phinf.fcl
lar -c photonFull_module0_sim_0_18_2_phinf.fcl
lar -c photonFull_module0_sim_0_18_3_phinf.fcl
lar -c photonFull_module0_sim_0_18_4_phinf.fcl
lar -c photonFull_module0_sim_0_18_5_phinf.fcl
lar -c photonFull_module0_sim_0_18_6_phinf.fcl
lar -c photonFull_module0_sim_0_18_7_phinf.fcl
lar -c photonFull_module0_sim_0_18_8_phinf.fcl
lar -c photonFull_module0_sim_0_18_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_8_phinf.fcl
lar -c photonFull_module0_sim_0_19_0_phinf.fcl
lar -c photonFull_module0_sim_0_19_10_phinf.fcl
lar -c photonFull_module0_sim_0_19_1_phinf.fcl
lar -c photonFull_module0_sim_0_19_2_phinf.fcl
lar -c photonFull_module0_sim_0_19_3_phinf.fcl
lar -c photonFull_module0_sim_0_19_4_phinf.fcl
lar -c photonFull_module0_sim_0_19_5_phinf.fcl
lar -c photonFull_module0_sim_0_19_6_phinf.fcl
lar -c photonFull_module0_sim_0_19_7_phinf.fcl
lar -c photonFull_module0_sim_0_19_8_phinf.fcl
lar -c photonFull_module0_sim_0_19_9_phinf.fcl
lar -c photonFull_module0_sim_0_1_9_phinf.fcl
lar -c photonFull_module0_sim_0_20_0_phinf.fcl
lar -c photonFull_module0_sim_0_20_10_phinf.fcl
lar -c photonFull_module0_sim_0_20_1_phinf.fcl
lar -c photonFull_module0_sim_0_20_2_phinf.fcl
lar -c photonFull_module0_sim_0_20_3_phinf.fcl
lar -c photonFull_module0_sim_0_20_4_phinf.fcl
lar -c photonFull_module0_sim_0_20_5_phinf.fcl
lar -c photonFull_module0_sim_0_20_6_phinf.fcl
lar -c photonFull_module0_sim_0_20_7_phinf.fcl
lar -c photonFull_module0_sim_0_20_8_phinf.fcl
lar -c photonFull_module0_sim_0_20_9_phinf.fcl
lar -c photonFull_module0_sim_0_2_0_phinf.fcl
lar -c photonFull_module0_sim_0_2_10_phinf.fcl
lar -c photonFull_module0_sim_0_21_0_phinf.fcl
lar -c photonFull_module0_sim_0_21_10_phinf.fcl
lar -c photonFull_module0_sim_0_21_1_phinf.fcl
lar -c photonFull_module0_sim_0_21_2_phinf.fcl
lar -c photonFull_module0_sim_0_21_3_phinf.fcl
lar -c photonFull_module0_sim_0_21_4_phinf.fcl
lar -c photonFull_module0_sim_0_21_5_phinf.fcl
lar -c photonFull_module0_sim_0_21_6_phinf.fcl
lar -c photonFull_module0_sim_0_21_7_phinf.fcl
lar -c photonFull_module0_sim_0_21_8_phinf.fcl
lar -c photonFull_module0_sim_0_21_9_phinf.fcl
lar -c photonFull_module0_sim_0_2_1_phinf.fcl
lar -c photonFull_module0_sim_0_22_0_phinf.fcl
lar -c photonFull_module0_sim_0_22_10_phinf.fcl
lar -c photonFull_module0_sim_0_22_1_phinf.fcl
lar -c photonFull_module0_sim_0_22_2_phinf.fcl
lar -c photonFull_module0_sim_0_22_3_phinf.fcl
lar -c photonFull_module0_sim_0_22_4_phinf.fcl
lar -c photonFull_module0_sim_0_22_5_phinf.fcl
lar -c photonFull_module0_sim_0_22_6_phinf.fcl
lar -c photonFull_module0_sim_0_22_7_phinf.fcl
lar -c photonFull_module0_sim_0_22_8_phinf.fcl
lar -c photonFull_module0_sim_0_22_9_phinf.fcl
lar -c photonFull_module0_sim_0_2_2_phinf.fcl
lar -c photonFull_module0_sim_0_2_3_phinf.fcl
lar -c photonFull_module0_sim_0_2_4_phinf.fcl
lar -c photonFull_module0_sim_0_2_5_phinf.fcl
lar -c photonFull_module0_sim_0_2_6_phinf.fcl
lar -c photonFull_module0_sim_0_2_7_phinf.fcl
lar -c photonFull_module0_sim_0_2_8_phinf.fcl
lar -c photonFull_module0_sim_0_2_9_phinf.fcl
lar -c photonFull_module0_sim_0_3_0_phinf.fcl
lar -c photonFull_module0_sim_0_3_10_phinf.fcl
lar -c photonFull_module0_sim_0_3_1_phinf.fcl
lar -c photonFull_module0_sim_0_3_2_phinf.fcl
lar -c photonFull_module0_sim_0_3_3_phinf.fcl
lar -c photonFull_module0_sim_0_3_4_phinf.fcl
lar -c photonFull_module0_sim_0_3_5_phinf.fcl
lar -c photonFull_module0_sim_0_3_6_phinf.fcl
lar -c photonFull_module0_sim_0_3_7_phinf.fcl
lar -c photonFull_module0_sim_0_3_8_phinf.fcl
lar -c photonFull_module0_sim_0_3_9_phinf.fcl
lar -c photonFull_module0_sim_0_4_0_phinf.fcl
lar -c photonFull_module0_sim_0_4_10_phinf.fcl
lar -c photonFull_module0_sim_0_4_1_phinf.fcl
lar -c photonFull_module0_sim_0_4_2_phinf.fcl
lar -c photonFull_module0_sim_0_4_3_phinf.fcl
lar -c photonFull_module0_sim_0_4_4_phinf.fcl
lar -c photonFull_module0_sim_0_4_5_phinf.fcl
lar -c photonFull_module0_sim_0_4_6_phinf.fcl
lar -c photonFull_module0_sim_0_4_7_phinf.fcl
lar -c photonFull_module0_sim_0_4_8_phinf.fcl
lar -c photonFull_module0_sim_0_4_9_phinf.fcl
lar -c photonFull_module0_sim_0_5_0_phinf.fcl
lar -c photonFull_module0_sim_0_5_10_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