justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 8241, 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/08241/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
18360000517041315000

RSEs used

NameInputsOutputs
MONTECARLO12410

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-FermiGrid3750
UK_RAL-Tier11630
UK_Manchester1420
UK_RAL-PPD990
UK_QMUL800
UK_Glasgow610
NL_SURFsara600
US_UChicago480
UK_Durham350
ES_PIC350
CZ_FZU290
NL_NIKHEF270
UK_Bristol260
CERN190
US_Wisconsin120
BR_CBPF100
FR_CCIN2P380
UK_Lancaster60
US_FNAL-T150
UK_Sheffield10

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 {3501..3600} #3501 to 4000
   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:43:16 UTC       justIN version: 01.05.01