Compute Canada

How do I control my jobs ?

Please note: The FAQ pages at the HPCVL website are continuously being revised. Some pages might pertain to an older configuration of the system. Please let us know if you encounter problems or inaccuracies, and we will correct the entries.

Based on the status of the job displayed, you can control the job by the following actions:

  • Modify a job: As a user, you have certain rights that apply exclusively to your jobs. The Grid Engine command line used is qmod. Check the man pages for the options that you are allowed to use.

  • Suspend (or Resume) a job: This uses the UNIX kill command, and applies only to running jobs, in practice you type

    qmod -s (or -r) job_id
    where job_id is given by qstat or qsub.
  • Delete a job: You can delete a job that is running or spooled in the queue by using the qdel command like this

    qdel job_id
    where job_id is given by qstat or qsub.

    Note that if your job is not on the waiting queue, but is already executing, you need to issue the -f(force) option with the qdel job_id command to terminate the job.