Languages
Menus
Search
SGE Usage
The scheduler called SGE (Sun Grid Engine) is the famous scheduler. User can see more detail of each command with help option (usually -h, -help, or --help)
qsub - submit job to sge
- Usage:
qsub [option] job_submission Option
-qto schedule in specific queue-peto schedule parallel application. User have to indecate the parallel_environment (usually mpich) and number_of_processors after the-peoption.
Example
[user @tera ~] qsub example.job [user @tera ~] qsub -q short.q example.job [user @tera ~] qsub -pe mpich 4 example.job [user @tera ~] qsub -q short.q -pe mpich 4 example.job
qstat - monitor jobs and queue
- Usage:
qstat [option] job_id Option
-fto display more detail of selected job. User have to indicate the job_id after-foption.
Example
[user @tera ~] qstat [user @tera ~] qstat -f 80
qdel - delete jobs form queue command
- Usage:
qdel job_id Example
[user @tera ~] qdel 80 [user @tera ~] qdel 81 82 83 84 85
qconf - SGE queue configuration
- Usage:
qconf [option] Option
-sqlto show all queue that used in Tera Cluster’s scheduler
Example
[user @tera ~] qconf [user @tera ~] qconf -sql
qhold - hold back jobs from execution
- Usage:
qhold job_id Example
[user @tera ~] qhold 80 [user @tera ~] qhold 81 82 83 84 85
qrls - release jobs from previous hold states
- Usage:
qrls job_id Example
[user @tera ~] qrls 80 [user @tera ~] qrls 81 82 83 84 85
If you have any questions, please sent it via email support@thaigrid.or.th.
