Longjobs -- Quick Reference | |||
|
longjob -operation |
simple interface to common operations |
qstat -q |
list queues |
qstat |
view all jobs in system |
qstat -u username |
view jobs for username only |
qusage |
check quota |
testjob |
check job script without actually submitting it |
qsub -a account -q queue
script_name |
submit job directly |
qdel jobid |
cancel job |
athena% cd ~/submit_dir
(if not under homedir, see
Defaults and Caveats)
athena% add longjobs
This is a text file with the commands to run your job. The first line
below tells the system to set the job's working directory to the
directory from which you submit the job (otherwise defaults to
/mit/username
). For more information and
specialized templates, see the Job Scripts
page.
cd $PBS_O_WORKDIR add foo crunch_data > my_data
If you are new to the system or want to use a different application than
usual, it's a good idea to test your script before submitting it to make
sure you haven't overlooked something that might keep it from running as
expected; see the Testing section for
details on using the testjob
program.
There are two ways to submit a job:
|
athena% longjob -submit
athena% qsub -a account -q queue script_name
|
script_name.ojobid
and
script_name.ejobid
.
For examples and more options, see the Running
Jobs and Checking Job Status pages.