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
Site
Allocated
Outputting
UK_Manchester
1
0
UK_QMUL
1
0
ES_PIC
1
0
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 "ETO"
echo "${did_pfn_rse}"
echo "ETO1"
if [ "$did_pfn_rse" != "" ] ; then
did=`echo $did_pfn_rse | cut -f1 -d' '`
echo "$did" > justin-processed-dids.txt
echo "ETO2"
for i in {1501..1502} #2000
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
echo "ETO3"
done
fi
echo "ETO4"
exit 0
justIN time: 2025-11-05 05:01:15 UTC justIN version: 01.05.01