justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 8240, Stage 1

Priority50
Processors1
Wall seconds80000
Image/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest
RSS bytes4194304000 (4000 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, 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_Lancaster, UK_Liverpool, UK_Manchester, UK_Oxford, UK_QMUL, UK_RAL-PPD, UK_RAL-Tier1, UK_Sheffield, US_Colorado, US_FNAL-FermiGrid, US_FNAL-T1, US_Michigan, 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
1https://fndcadoor.fnal.gov:2880/dune/scratch/users/fandrian/fnal/08240/1scint_*.root

Environment variables

NameValue
INPUT_TAR_DIR/cvmfs/fifeuser2.opensciencegrid.org/sw/dune/55c70e4789a73290129bd224b639b2c1965b8e14
NUM_EVENTS100

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
10000100000000

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
17100000463001243040

RSEs used

NameInputsOutputs
MONTECARLO11730

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-FermiGrid3150
UK_RAL-Tier11710
ES_PIC950
NL_SURFsara840
UK_Manchester750
UK_Glasgow730
UK_RAL-PPD610
US_UChicago530
UK_QMUL500
UK_Durham350
US_Wisconsin320
NL_NIKHEF260
BR_CBPF240
UK_Bristol160
CERN160
CZ_FZU140
FR_CCIN2P380
US_FNAL-T180
US_PuertoRico40
IT_CNAF40
UK_Lancaster40
UK_Oxford10

Jobscript

#!/bin/bash
:<<'EOF'
Test of RCDS/cvmfs tar files access from JUSTIN jobs. You need to 
set up the justin commands 

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

Then

1) Create a tar file 
   mkdir somedir
   cd somedir
   date > hello_world.txt
   tar cvf hello_world.tar *
2) Create an X.509 proxy (no need for VOMS)
   kx509
3) Upload to cvmfs
   INPUT_TAR_DIR_LOCAL=`justin-cvmfs-upload hello_world.tar`
4) Wait until  ls $INPUT_TAR_DIR_LOCAL  works (minutes?)
5) Create and run a workflow
   justin simple-workflow --monte-carlo 1 \
   --env INPUT_TAR_DIR_LOCAL="$INPUT_TAR_DIR_LOCAL" \
   --jobscript cvmfs-hello-world.jobscript

Check the output through the dashboard: the date in hello_world.txt 
should beprinted.

EOF
DUNE_VERSION=${DUNE_VERSION:-v10_09_00d00}
DUNE_QUALIFIER=${DUNE_QUALIFIER:-e26:prof}
source /cvmfs/dune.opensciencegrid.org/products/dune/setup_dune.sh
setup dunesw "$DUNE_VERSION" -q "$DUNE_QUALIFIER"
if [ "$NUM_EVENTS" != "" ] ; then
 events_option="-n $NUM_EVENTS"
fi
# Get an unprocessed file from this stage and say we processed it
did_pfn_rse=`$JUSTIN_PATH/justin-get-file`
echo "${did_pfn_rse}"
if [ "$did_pfn_rse" != "" ] ; then
   did=`echo $did_pfn_rse | cut -f1 -d' '`
   echo "$did" > justin-processed-dids.txt
   for i in {3001..3100} #3001 to 3500
   do
      cp  $INPUT_TAR_DIR/togridallb/myLightSourceSteering_$i.txt .
      lar -c $INPUT_TAR_DIR/togridallb/light_generator_pdvd_$i.fcl $events_option -o scint_$i.root > scint_$i.log 2>&1
      rm myLightSourceSteering_$i.txt
   done
fi
tar zcf `echo "$JUSTIN_JOBSUB_ID.logs.tgz" | sed 's/@/_/g'` *.log
exit 0
justIN time: 2025-11-03 18:48:39 UTC       justIN version: 01.05.01