# Richard Jones
# May 31, 2022
#
executable = scripts.d/osg-container.sh
output = hd_react.d/stdout.$(CLUSTER).$(PROCESS)
error = hd_react.d/stderr.$(CLUSTER).$(PROCESS)
log = hd_react.log
notification = never
universe = vanilla
should_transfer_files = yes
#x509userproxy=/tmp/x509up_u7896
transfer_input_files = scripts.d/hd_react.sh,/tmp/x509up_u7896
WhenToTransferOutput = ON_EXIT
on_exit_hold = (ExitBySignal==False)&&(ExitCode!=0)&&(JobRunCount > 5)
on_exit_remove = (ExitBySignal==False)&&(ExitCode==0)
Requirements = (HAS_SINGULARITY==true)&&(regexp(".*.jlab.org",TARGET.MACHINE,"i")==FALSE)
RequestMemory = 2000
+SingularityImage = "/cvmfs/singularity.opensciencegrid.org/rjones30/gluex:latest"
arguments = ./hd_react.sh $(prefix)_$(subset)_rest.hddm
queue 1
