You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GRID/utils/grid_submit.sh
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,7 @@ while [ $# -gt 0 ] ; do
216
216
--prodsplit) PRODSPLIT=$2;shift 2 ;; # allows to set JDL production split level (useful to easily replicate workflows)
217
217
--singularity) SINGULARITY=ON;shift 1 ;; # run everything inside singularity
218
218
--wait) WAITFORALIEN=ON;shift 1 ;; #wait for alien jobs to finish
219
+
--wait-any) WAITFORALIENANY=ON; WAITFORALIEN=ON;shift 1 ;; #wait for any good==done alien jobs to return
219
220
--outputspec) OUTPUTSPEC=$2;shift 2 ;; #provide comma separate list of JDL file specs to be put as part of JDL Output field (example '"*.log@disk=1","*.root@disk=2"')
220
221
-h) Usage ;exit ;;
221
222
--help) Usage ;exit ;;
@@ -227,6 +228,7 @@ export JOBTTL
227
228
export JOBLABEL
228
229
export MATTERMOSTHOOK
229
230
export CONTROLSERVER
231
+
230
232
[[ $PRODSPLIT-gt 100 ]] &&echo"Production split needs to be smaller than 100 for the moment"&&exit 1
231
233
232
234
# check for presence of jq (needed in code path to fetch output files)
@@ -270,9 +272,10 @@ pok "Set the job name by running $0 <scriptname> <jobname>"
0 commit comments