Exercise 1b: Submitting Multiple Jobs
The queue command submits the job to the queue. The aim of the exercise is to submit 20 jobs instead of one.
Create the submission description file exercise01b.sub with the following content:
executable = welcome.sh arguments = $(ClusterId)$(ProcId) output = output/welcome.$(ClusterId).$(ProcId).out error = error/welcome.$(ClusterId).$(ProcId).err log = log/welcome.$(ClusterId).log queue 20
Submitting The Job
On submission machine run the following command:
The should provide the following output:
Submitting job(s).................... 20 job(s) submitted to cluster 2465.
Note : There will be only one log file after the submission which contains all the jobs that belong to this cluster.
Monitoring the job
Executing the command condor_q should give the following output:
-- Schedd: bigbird04.cern.ch : <126.96.36.199:9618?... @ 12/07/16 15:17:35 OWNER BATCH_NAME SUBMITTED DONE RUN IDLE TOTAL JOB_IDS fprotops CMD: welcome.sh 12/6 15:08 _ _ 20 20 2465.0 ... 2465.19 20 jobs; 0 completed, 0 removed, 20 idle, 0 running, 0 held, 0 suspended