Am 02.06.2012 um 20:52 schrieb Rayson Ho:
> Simon,
>
> Use a pseudo job group:
>
> root@master:~/opencl# qsub -N sleep#group ~/sleep
> Your job 76 ("sleep#group") has been submitted
> root@master:~/opencl# qsub -N sleep2#group ~/sleep
> Your job 77 ("sleep2#group") has been submitted
>
> root@master:~/opencl# qdel "*#group"
> root has deleted job 76
> root has deleted job 77
Besides this option I created a similar RFE:
https://arc.liv.ac.uk/trac/SGE/ticket/647
as I had the same problem. Using wildcards makes it not easy to get a good
output from `qstat` for the members of a group was my concern, or
allow/disallow users to use a given group (i.e. all members of a project could
be able to `qdel` all jobs in the group independent from the user ID and
without the necessity to be an SGE administrator).
==
Nevertheless: another option is to set the "name of the group" in the context
of the job, but as `qdel` can't honor the job context, a wrapper would be
needed for `qstat`and `qdel`.
-- Reuti
> Rayson
>
>
>
>
>
> On Sat, Jun 2, 2012 at 2:43 PM, Simon Matthews
> <[email protected]> wrote:
>> I am using 6.2U4.
>>
>> I would like to be able to group jobs into a batch and kill every job in
>> that batch with a single command (or a small number of commands). Is there
>> any way to do this?
>>
>> Simon
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> https://gridengine.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users