i'm submitting jobs sun grid engine using qsub
command. -t
option qsub
enables me specify datasets upon want call script -- e.g.,
$ qsub . . . -t 101-103 my_script.sh
my question is, possible specify non-consecutive datasets -t
option? example, wanted run script on 101
, 103
, not 102
. how accomplish that?
and, more generally, how select arbitrarily numbered datasets?
i answer works in practice large number of datasets -- far beyond 2 used in toy example.
not sure that, quoting qsub
's man page, on paragraph -t
explained:
. . .
the task id range specified in option argument may single number, simple range of form n-m or range step size. hence, task id range specified 2-10:2 result in task id indexes 2, 4, 6, 8, , 10, total of 5 identical tasks,
. . .
so, maybe:
$ qsub . . . -t 101-103:2 my_script.sh
would do.