Workflow 12270, Stage 1
| Workflow | 12270 |
| Campaign | 639 |
| Priority | 50 |
| Processors | 1 |
| Wall seconds | 80000 |
| Image | /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest |
| RSS bytes | 5242880000 (5000 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, CZ_FZU, ES_CIEMAT, ES_PIC, FR_CCIN2P3, IT_CNAF, NL_NIKHEF, 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_BNL, US_Colorado, US_FNAL-FermiGrid, US_FNAL-T1, US_Michigan, 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 | Rucio usertests:fermi-reco-test-fnal-w12270s1p1 | *_reco_*.root | 2592000 | False | |
Environment variables
| Name | Value |
|---|
| INPUT_TAR_DIR_LOCAL | /cvmfs/fifeuser4.opensciencegrid.org/sw/dune/fcd743ba134d6c91bbf1aa152240f03b81c17c8e |
| MODE | fermi |
| NUM_EVENTS | 5 |
File states
| Total files | Finding | Unallocated | Allocated | Outputting | Processed | Not found | Failed |
|---|
|
| 2 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
Job states
| Total | Submitted | Started | Processing | Outputting | Finished | Notused | Aborted | Stalled | Jobscript error | Outputting failed | None processed |
|---|
| 22 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 19 | 0 | 0 | 1 |
RSEs used
| Name | Inputs | Outputs |
|---|
| RAL_ECHO | 0 | 1 |
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
UNIQUE_ID=$(date +%s)_${RANDOM}
echo "--------------------------------------------------"
echo "DEBUG: Generated Unique ID: $UNIQUE_ID"
echo "--------------------------------------------------"
# 1. Setup Environment
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
# Match the version you used locally
setup dunesw v09_91_04d01 -q e26:prof
# 2. Get Custom Files
# copy them from the CVMFS location provided by justIN
echo "Getting custom files from $INPUT_TAR_DIR_LOCAL"
cp $INPUT_TAR_DIR_LOCAL/*.react .
cp $INPUT_TAR_DIR_LOCAL/*.fcl .
# 3. Step 1: GENERATION (Custom)
# Runs run_fermi.fcl or run_gt.fcl based on $MODE
echo "Running Generation for $MODE..."
lar -c run_${MODE}.fcl -n $NUM_EVENTS -o gen.root
# 4. Step 2: GEANT4 (Standard)
# We use the standard supernova DUNE 10kt 1x2x6 configuration
echo "Running Geant4..."
lar -c supernova_g4_dune10kt_1x2x6.fcl -s gen.root -o g4.root
# 5. Step 3: DETSIM (Standard)
echo "Running Detsim..."
lar -c standard_detsim_dune10kt_1x2x6.fcl -s g4.root -o detsim.root
# 6. Step 4: RECO (Standard)
# This produces the final file we want to keep.
# We name it uniquely using the workflow ID and the unique ID
OUTPUT_NAME="${MODE}_reco_${JUSTIN_WORKFLOW_ID}_${UNIQUE_ID}.root"
echo "Running Reco1..."
lar -c reco1_supernova_dune10kt_1x2x6.fcl -s detsim.root -o reco1.root
echo "Running Reco2..."
lar -c reco2_supernova_dune10kt_1x2x6.fcl -s reco1.root -o "$OUTPUT_NAME"
# Cleanup intermediate files to save space
rm gen.root g4.root detsim.root reco1.root
echo "Done. Final output is $OUTPUT_NAME"