next up previous contents
Next: monitoring job status Up: submitting scalar jobs to Previous: connecting to input/output files   Contents

deleting a SGE job

To remove a batch job from the queue, use the qdel command followed by the Job Id number - e.g
[nrcb@ehtpx-cluster]$ qdel 151
[nrcb@ehtpx-cluster]$ qstat
nrcb has registered the job 151 for deletion
[nrcb@ehtpx-cluster]$

You can specify resources such as maximum amount of elapsed time (suitable for parallel jobs) or maximum cpu time (suitable for scalar jobs). E.g

   qsub -pe score 5 -l h_rt=3600 run.sh
   qsub -l h_cpu=1800  test.sh
to allow a maximum of 3600 seconds to job run.sh or 30 minutes to job test.sh. The built-in complexes h_rt (hard real time) and h_cpu (hard cpu time) are used here.

2004-06-17