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

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
   qsub -l h_cpu=1800
to allow a maximum of 3600 seconds to job or 30 minutes to job The built-in complexes h_rt (hard real time) and h_cpu (hard cpu time) are used here.