Qselect and pattern matching

Hi,

I was wondering if there was any way to use ‘qselect’ to obtain a list of jobs matching a pattern (glob or regex). For example

qselect -x -N foo*
or
qselect -x -P bar

With the workflow tool I’m using, the job names are not consistent across cycles (cycle time gets appended to the name). As such, I can’t easily use qselect to obtain a list without pattern matching, instead needing to do something like “qstat | grep pattern”.

Thanks,
Tom