justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 12270, Stage 1

Workflow12270
Campaign639
Priority50
Processors1
Wall seconds80000
Image/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest
RSS bytes5242880000 (5000 MiB)
Max distance for inputs100.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
Scopeusertests
Events for this stage

Output patterns

 DestinationPatternLifetimeFor next stageRSE expression
1Rucio usertests:fermi-reco-test-fnal-w12270s1p1*_reco_*.root2592000False

Environment variables

NameValue
INPUT_TAR_DIR_LOCAL/cvmfs/fifeuser4.opensciencegrid.org/sw/dune/fcd743ba134d6c91bbf1aa152240f03b81c17c8e
MODEfermi
NUM_EVENTS5

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
20200000

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
22000002019001

RSEs used

NameInputsOutputs
RAL_ECHO01

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"
justIN time: 2026-02-04 04:27:45 UTC       justIN version: 01.06.00