justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 2253, Stage 1

Priority50
Processors1
Wall seconds3600
RSS bytes4194304000 (4000 MiB)
Max distance for inputs30.0
Enabled input RSEs CERN_PDUNE_EOS, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_LANCASTER_CEPH, DUNE_US_BNL_SDCC, DUNE_US_FNAL_DISK_STAGE, FNAL_DCACHE, FNAL_DCACHE_STAGING, FNAL_DCACHE_TEST, MANCHESTER, MONTECARLO, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC
Enabled output RSEs CERN_PDUNE_EOS, DUNE_CERN_EOS, DUNE_ES_PIC, DUNE_FR_CCIN2P3_DISK, DUNE_IN_TIFR, DUNE_IT_INFN_CNAF, DUNE_UK_LANCASTER_CEPH, DUNE_US_BNL_SDCC, DUNE_US_FNAL_DISK_STAGE, FNAL_DCACHE, FNAL_DCACHE_STAGING, FNAL_DCACHE_TEST, MANCHESTER, NIKHEF, PRAGUE, QMUL, RAL-PP, RAL_ECHO, SURFSARA, T3_US_NERSC
Enabled sites CA_SFU, CA_Victoria, CERN, CH_UNIBE-LHEP, CZ_FZU, ES_CIEMAT, ES_PIC, FR_CCIN2P3, IN_TIFR, IT_CNAF, NL_NIKHEF, NL_SURFsara, UK_Bristol, UK_Brunel, UK_Durham, UK_Edinburgh, UK_Imperial, UK_Lancaster, UK_Liverpool, UK_Manchester, UK_Oxford, UK_QMUL, UK_RAL-Tier1, UK_Sheffield, US_BNL, 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 stage
1https://fndcadoor.fnal.gov:2880/dune/scratch/users/lwhite86/02253/1Bdt*.txt

Environment variables

NameValue
INPUT_CODE/cvmfs/fifeuser2.opensciencegrid.org/sw/dune/b54a6e33a439a31889c0e6dc75cd97c431545441
INPUT_CONFIG/cvmfs/fifeuser1.opensciencegrid.org/sw/dune/cf4830f6429a06f490275f0465f4fe7fa8f17cdd

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
1000000099901

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
14560000138300325351
Files processed00100100200200300300400400500500600600700700800800Jun-07 12:00Jun-07 13:00Jun-07 14:00Jun-07 15:00Jun-07 16:00Files processedBin start timesNumber per binUS_ColoradoUK_BrunelIT_CNAFCERNUS_UCSDUS_UChicagoES_PICUK_ImperialUK_SheffieldCZ_FZUNL_SURFsaraUK_LiverpoolUK_LancasterNL_NIKHEFUK_RAL-Tier1US_FNAL-T1US_FNAL-FermiG…US_FNAL-FermiGridUK_QMULUK_Manchester
Replicas per RSE1000453.6557139770755155.015210276096751000442.95180560015274301.937241133791641000297.19590739861826280.5860129406653264288.7967380582621181.10547634202334200311.1227610167806150.211142899834599331.0183490672818135.6585035595058560342.88060486784605130.0255054572477357352.0254029822654126.8938275952547853360.86031953652565124.7629590439530247369.02960442200555123.525097920216443376.4468487892208122.98778312327731Replicas per RSEDUNE_ES_PIC (26%)DUNE_US_FNAL_DISK_S…DUNE_US_FNAL_DISK_STAGE (26%)FNAL_DCACHE (26%)SURFSARA (6%)DUNE_US_BNL_SDCC (5…DUNE_US_BNL_SDCC (5%)QMUL (2%)RAL_ECHO (1%)RAL-PP (1%)NIKHEF (1%)DUNE_FR_CCIN2P3_DIS…DUNE_FR_CCIN2P3_DISK (1%)PRAGUE (1%)

RSEs used

NameInputsOutputs
DUNE_ES_PIC3180
SURFSARA2420
DUNE_US_FNAL_DISK_STAGE1450
QMUL890
RAL_ECHO820
RAL-PP550
NIKHEF470
PRAGUE390
DUNE_FR_CCIN2P3_DISK340
DUNE_US_BNL_SDCC200

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
CERN180
NL_SURFsara80
ES_PIC20
UK_Manchester10
UK_Lancaster10
UK_Brunel10
US_Colorado10
UK_RAL-Tier1034
US_UCSD01

Jobscript

#!/bin/bash

# fcl file and DUNE software version/qualifier to be used
FCL_FILE=${FCL_FILE:-$INPUT_CONFIG/lhw_pandora_calo_updated_bdt_inputs.fcl}
DUNE_VERSION=${DUNE_VERSION:-v09_85_00d00}
DUNE_QUALIFIER=${DUNE_QUALIFIER:-e26:prof}
FW_SEARCH_PATH=$FW_SEARCH_PATH:$INPUT_CONFIG
echo $FW_SEARCH_PATH

# number of events to process from the input file
if [ "$NUM_EVENTS" != "" ] ; then
 events_option="-n $NUM_EVENTS"
fi

# First get an unprocessed file from this stage
did_pfn_rse=`$JUSTIN_PATH/justin-get-file`

if [ "$did_pfn_rse" = "" ] ; then
  echo "Nothing to process - exit jobscript"
  exit 0
fi

# Keep a record of all input DIDs, for pdjson2meta file -> DID mapping
echo "$did_pfn_rse" | cut -f1 -d' ' >>all-input-dids.txt

# pfn is also needed when creating justin-processed-pfns.txt
pfn=`echo $did_pfn_rse | cut -f2 -d' '`
echo "Input PFN = $pfn"

# Setup DUNE environment
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh

# the xroot lib for streaming non-root files is in testproducts, 
# so add it to the start of the path
export PRODUCTS=/cvmfs/dune.opensciencegrid.org/products/dune/testproducts:${PRODUCTS}

cp -r $INPUT_CODE/larpandora .
cp -r $INPUT_CODE/larpandoracontent .

export PRODUCTS=`pwd`:${PRODUCTS}
setup dunesw "$DUNE_VERSION" -q "$DUNE_QUALIFIER"
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}'`
#outFile=${fname}_reco_data_${now}.root

campaign="justIN.r${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 $FCL_FILE $events_option "$pfn" > ${fname}_bdt_${now}.log 2>&1
)

# Subshell exits with exit code of last command
larExit=$?
echo "lar exit code $larExit"
echo "$pfn" > justin-processed-pfns.txt
mv BdtInputs.txt BdtInputs_${fname}.txt

ls -ld

# Create compressed tar file with all log files 
tar zcf `echo "$JUSTIN_JOBSUB_ID.logs.tgz" | sed 's/@/_/g'` *.log
exit $larExit

justIN time: 2024-11-17 03:09:50 UTC       justIN version: 01.01.09