justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 2058, Stage 1

Priority50
Processors1
Wall seconds80000
RSS bytes2097152000 (2000 MiB)
Max distance for inputs100.0
Enabled input RSEs
Enabled output RSEs
Enabled sites
Scopeusertests
Events for this stage

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
1000001000

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
15000015000000
Files processed001122334455667788991010Apr-30 08:00Apr-30 09:00Apr-30 10:00Files processedBin start timesNumber per binUS_PuertoRicoES_CIEMATCH_UNIBE-LHEPNL_NIKHEF

RSEs used

NameInputsOutputs
MONTECARLO100

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
: <<'EOF'

Hello World jobscript for justIN

Submit a workflow like this to run 10 jobs:

justin simple-workflow --monte-carlo 10 --jobscript hello-world.jobscript


Or like this to run jobs and put the output file into Rucio-managed storage:

justin simple-workflow \
     --monte-carlo 10 \
     --jobscript hello-world.jobscript \
     --description 'Hello World!!!' \
     --scope usertests \
     --output-pattern 'hello-world-*.txt:output-test-01'

EOF

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

if [ "$did_pfn_rse" != "" ] ; then
  did=`echo $did_pfn_rse | cut -f1 -d' '`
  pfn=`echo $did_pfn_rse | cut -f2 -d' '`
  rse=`echo $did_pfn_rse | cut -f3 -d' '`

  # Hello world to a txt file
  echo "Hello world $pfn" >hello-world-`date +%s.%N.txt`

  # Hello world to the jobscript log 
  echo "Hello world $pfn" 
  if [ $? = 0 ] ; then
    # If echo returns 0, then say we processed the file successfully
    echo "$pfn" > justin-processed-pfns.txt
  fi
fi
exit 0
justIN time: 2024-09-29 09:29:49 UTC       justIN version: 01.01.08