Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With the two "&" at the end of the task lines (task1 and task2), the two tasks run simultaneously. If you want them to run sequentially, remove the two "&". 

Batch resource for general users

If you remove the above "#BSUB -q atlas-t3" directive, your job will be submitted to a general "fair share" queue. This is one of a set of batch queues (short, medium, long and xlong). LSF will choose the queue for you based on the wall time specified. The general "fair share" queues are a much larger pool of resource. They are available everyone at SLAC, the therefore are heavily loaded most of the time.

Tips:

If you made a mistake and want to kill all your batch jobs, use the following command

Code Block
bjobs | grep -v JOBID | awk '{print "bkill", $1}' | sh 

to check how many jobs are currently running and pending in atlas-t3 queube:

Code Block
bqueue atlas-t3