justIN           Dashboard       Workflows       Jobs       AWT       Sites       Storages       Docs       Login

Workflow 1696, Stage 1

Priority50
Processors1
Wall seconds80000
Image/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest
RSS bytes2097152000 (2000 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_Imperial, 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/calcuttj/wirecell_sim/fnal/01696/1*npz

Environment variables

NameValue
nevents10
WIRECELL_TAR/

File states

Total filesFindingUnallocatedAllocatedOutputtingProcessedNot foundFailed
10000990000010

Job states

TotalSubmittedStartedProcessingOutputtingFinishedNotusedAbortedStalledJobscript errorOutputting failedNone processed
19200000001118100

RSEs used

NameInputsOutputs
MONTECARLO1920

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
UK_RAL-Tier1570
UK_QMUL140
NL_SURFsara100
NL_NIKHEF90
UK_Manchester80
UK_Imperial50
BR_CBPF30
US_FNAL-FermiGrid30
ES_CIEMAT10

Jobscript

#!/bin/bash
#

#These must be defined
if [ -z ${WIRECELL_TAR} ]; then
  echo "Fatal must provide WIRECELL_TAR env var"
  exit 1
fi

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

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}
echo "Will use justin-get-file"
DID_PFN_RSE=`$JUSTIN_PATH/justin-get-file`
if [ "${DID_PFN_RSE}" == "" ] ; then
  echo "Could not get file"
  exit 0
fi
export pfn=`echo ${DID_PFN_RSE} | cut -f2 -d' '`
 WIRECELL_VERSION=${WIRECELL_VERSION:-v0_30_6}
 setup wirecell \
    "${WIRECELL_VERSION}" \
    -q "${WIRECELL_QUALIFIER:-e26:prof}"
 
 setup_exit=$?
 if [ $? -ne 0 ]; then
   echo "Failed to setup wirecell $WIRECELL_VERSION $WIRECELL_QUALIFIER"
   exit $setup_exit
 fi

WIRECELL_PATH=${WIRECELL_TAR}:${WIRECELL_PATH}
jobid=`echo "${JUSTIN_JOBSUB_ID:-1}" | cut -f1 -d'@' | sed -e "s/\./_/"`
 echo "jobsub_id: ${jobid}"
#  run=`echo $jobid | cut -f1 -d'_'`  ##TODO -- check order here
#  subrun=`echo $jobid | cut -f2 -d'_'`

nevents=${nevents:-10}
now=$(date +%N);
seed=$((10#${now}))
wire-cell -l stdout -L trace -P $WIRECELL_DIR/source/*/cfg/ -C elecGain=7.8 \
          -C GoodAPA=false -A outname="just_noise_10events_${jobid}.npz" \
          --tla-code nevents=${nevents} --tla-code just_noise=true \
          --tla-code seeds="[${seed}]" ${WIRECELL_TAR}/wct-sim-framesink.jsonnet
 exitcode=$?
 if [ $exitcode -ne 0 ]; then
   echo "Error running. Exiting with ${exitcode}"
   exit $exitcode
 fi


echo "$pfn" > justin-processed-pfns.txt
justIN time: 2025-09-18 16:03:40 UTC       justIN version: 01.05.00