|
|
|
|
|
|
|
Jobs that run for more than a few seconds CPU time should be submitted
in batch mode. A job can be submitted to the system and you can go on
with another task or log out and come back later to observe the result.
If a job is complex or will run for more than an hour, see Dr. Paul
Tsai in Clement Hall 310.
First, you need to create a command file
and then you need to submit the command file to execute.
A command file contains a set of DCL commands - that is, anything that
you would normally enter with a $ prompt.
Create the file with an editor: Enter some set of commands. Each command should be preceded by
a $. Here are some example commands. Save the file containing a set of DCL commands that can be
executed. The job to be submitted should be in a command file. Here are some
examples.
Submit a job that will run for less than one hour to the BATCH60
queue: Submit job to EXPRESS queue to run less than one minute: Allow a specified process time of hh hours, mm minutes and ss
seconds: Allow maximum 10 seconds process time: Submit a job to be executed after a specified time: Output for a submitted batch job will be stored with a file
specification of your file name with extension LOG. Then you can print
the LOG file.
At the DCL level, you can enter the SHOW QUEUE command. Your job
number is displayed with SHOW QUEUE command: You can delete a job by the job number in the specified queue: There are five batch queues on GEMINI:
To submit a job that will run for less than one minute: To submit a job that will run for less than ten minutes: To submit a job that will run for less than thirty minutes: To submit a job that will run for less than one hour: See Dr. Paul Tsai before submitting jobs that will run for more
than one hour.
Creating a Command File
$ EDIT somefile.COM
$ RUN filename1
$ RUN filename2
$ DIR
$ DEL filename.ext;version
etc.
[CTRL/Z]
Submitting a Batch Job
$ SUBMIT/NOPRINT/NOTIFY somefile
$ SUBMIT/NOPRINT/NOTIFY/QUEUE=EXPRESS somefile
$ SUBMIT/CPUTIME=hh:mm:ss somefile
$ SUBMIT/CPUTIME=::10 somefile
$ SUBMIT/AFTER=hh:mm:ss
Observing Job Status and Deleting a Job
$ SHOW QUEUE EXPRESS
$ SHOW QUEUE BATCH30
$ DELETE/ENTRY=jobno EXPRESS:
$ DELETE/ENTRY=jobno BATCH30:
$ submit/noprint/notify/queue=express fn.com
To observe your job
$ show queue/all express
$ submit/noprint/notify/queue=batch10 fn.com
To observe your job
$ show queue/all batch10
$ submit/noprint/notify/queue=batch30 fn.com
To observe your job
$ show queue/all batch30
$ submit/noprint/notify/queue=batch60 fn.com
To observe your job
$ show queue/all batch60a
This page maintained by: Jim Johnson
For additional information, contact Jim Johnson, JJohnson@tntech.edu
Last updated: December 14, 1998