LSF cluster commands

From Wikipedia, Load Sharing Facility (or simply LSF) is a commercial computer software, job scheduler sold by Platform Computing. It can be used to execute batch jobs on networked Unix.

Here is a summary of some commands I’ve been using. Every command has quite a lot of options so I will not enter into details. Just use the “man” command to get all the details about a LSF command (e.g., man bsub).

Running a single script with bsub

We consider a script called “script.sh”. To launch it just type

bsub script.sh

When the job is submitted you should get information about the job id:

Job <9222520> is submitted to queue XXX.

Following the job status with bjobs

Now, you can follow the job status:

bjobs -l 9222520

Killing jobs with bkill

You want to delete the job ? Use the bkill command

bkill 9222520

If you have many jobs, you can kill them all as follows:

bkill 0
Please follow and like us:
This entry was posted in Computer Science and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.