justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

21 July 2025: This instance at RAL is read-only. Please do not try submitting new workflows for now.

Workflow 6806, Stage 1

Priority50
Processors1
Wall seconds80000
Image/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest
RSS bytes4193255424 (3999 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, ES_CIEMAT, ES_PIC, FR_CCIN2P3, IN_TIFR, IT_CNAF, NL_SURFsara, UK_Bristol, UK_Brunel, UK_Durham, UK_Edinburgh, UK_Lancaster, 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
Scopeusertests
Events for this stage

Output patterns

 DestinationPatternLifetimeFor next stageRSE expression
1Rucio usertests:calcuttj_ehn1_np04_6442_merged-w6806s1p1*root2592000False
2Rucio usertests:calcuttj_ehn1_np04_6442_inputs-w6806s1p2*inputs.txt2592000False

Environment variables

NameValue
DATASETusertests:calcuttj_g4bl_prod_full_neg1_042425-w6442s1p1
LIMIT10
MERGE_DIR/cvmfs/fifeuser3.opensciencegrid.org/sw/dune/ea2508d6d6e358db4f4fe9eb0564660bea41fb50

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
980000097505

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
2448000011140370222332878
Files processed00100100200200300300400400500500May-09 20:00May-09 21:00May-09 22:00May-09 23:00May-10 00:00May-10 01:00Files processedBin start timesNumber per binCERNUS_UChicagoUS_PuertoRicoUS_FNAL-FermiG…US_FNAL-FermiGridUK_ManchesterUK_SheffieldUS_UConn-HPCUK_OxfordUK_EdinburghUS_ColoradoUK_RAL-PPDUS_WisconsinUK_LancasterUK_RAL-Tier1US_FNAL-T1BR_CBPF

RSEs used

NameInputsOutputs
MONTECARLO16740
DUNE_US_FNAL_DISK_STAGE01168
DUNE_US_BNL_SDCC0355
DUNE_CA_SFU0122
DUNE_CERN_EOS0106
RAL-PP095
DUNE_IT_INFN_CNAF052
DUNE_UK_MANCHESTER_CEPH022
RAL_ECHO014
QMUL09
DUNE_UK_LANCASTER_CEPH02

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

SiteAllocatedOutputting
US_FNAL-FermiGrid3271
US_UChicago223
UK_Manchester111
CERN061
UK_RAL-PPD07
US_PuertoRico06
US_Colorado05
US_FNAL-T104
US_UConn-HPC02
US_Wisconsin02
UK_Sheffield01
UK_Edinburgh01

Jobscript

#!/bin/bash

source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh

if [ -z ${DATASET} ]; then
  echo "ERROR MUST SUPPLY DATASET"
  exit 1
fi

if [ -z ${MERGE_DIR} ]; then
  echo "ERROR MUST SUPPLY MERGE_DIR"
  exit 1
fi

if [ -z ${JUSTIN_PROCESSORS} ]; then
  JUSTIN_PROCESSORS=1
fi

echo "Justin processors: ${JUSTIN_PROCESSORS}"

export TF_NUM_THREADS=${JUSTIN_PROCESSORS}   
export OPENBLAS_NUM_THREADS=${JUSTIN_PROCESSORS} 
export JULIA_NUM_THREADS=${JUSTIN_PROCESSORS} 
export MKL_NUM_THREADS=${JUSTIN_PROCESSORS} 
export NUMEXPR_NUM_THREADS=${JUSTIN_PROCESSORS} 
export OMP_NUM_THREADS=${JUSTIN_PROCESSORS}

##Get the MC number from this to bookkeep for justin
DID_PFN_RSE=`$JUSTIN_PATH/justin-get-file`
pfn_exit=$?
if [ $pfn_exit -ne 0 ]; then
  echo "Error in justin-get-file. Exiting safely"
  exit 0
fi
echo "did_pfn_rse $DID_PFN_RSE"
pfn=`echo $DID_PFN_RSE | cut -f2 -d' '`


setup root v6_28_12 -q e26:p3915:prof
export METACAT_SERVER_URL=https://metacat.fnal.gov:9443/dune_meta_prod/app;
export METACAT_AUTH_SERVER_URL=https://metacat.fnal.gov:8143/auth/dune
setup metacat
setup rucio v35_4_0

LIMIT=${LIMIT:-100}

subrun=`echo $JUSTIN_JOBSUB_ID  | cut -f1 -d@ | cut -f2 -d.`
run=`echo $JUSTIN_JOBSUB_ID  | cut -f1 -d@ | cut -f1 -d.`

echo $subrun $run

python $MERGE_DIR/merge_g4bl.py merge \
  --dataset ${DATASET}  \
  -o inherit \
  --limit ${LIMIT} \
  --iter $(( 10#$pfn - 1 )) --run $run \
  --subrun $subrun 
  #--namespace ehn1-beam-np04

if [ $? -ne 0 ]
then
  echo "Exiting with error"
  exit 1
else
  echo "$pfn" > justin-processed-pfns.txt
fi
justIN time: 2025-08-14 16:31:56 UTC       justIN version: 01.03.02