#!/bin/bash if [[ -z "$1" ]]; echo "Are you trying to run this manually? This is usually run through the python submission script/" echo "Anyway, this requires an argument meant as the job number, i.e. ./submit_ustrm.sh 0" fi export TMPDIR=/tmp export SINGULARITY_CACHEDIR=/tmp singularity exec -H "$(pwd):/home" -B /cvmfs /cvmfs/comet.egi.eu/ICEDUST_CMAKE/icedust.simg/ ./produce_ustrm.sh_DIRAC_CVMFS $1