LSF is available on HYDRA !!
Interactive processes are limited to 5 CPU minutes.
LSF - Load Sharing Facility - is a system to manage (large) programs that cannot be run interactively on a machine as they require too much CPU-time, memory or other system resources. For that reason, those large programs have to be run in batch (batch jobs).
LSF takes care of that batch management; based on the job specifications LSF will start execution of jobs when there are enough system resources available for the job to complete. Until that time, a job request will be queued.
You need to make a small file which contains all the job specifications and the instructions to run your program (a so-called batch job file) . In fact it is similar to a shell script, except for those extra job specifications. See also the examples of several job files.
Once you have created such a job file, you have to submit it to
the LSF system with the
bsub command. LSF will take care of
the job from thereon.
These are the most important LSF user commands :
To submit a job :
bsub < jobfile. By default, the job output
is sent by mail.
The job parameters define the status of the job. Job parameters are recognized because they have to be written in the following way:
which means a per process timelimit of 100 CPU minutes.
The options are the same that can be specified as arguments to the
bsub command. Here are a few examples
of frequently used options (also see the machine specific
You can find explanations of these and other job parameters in the bsub man-page. If you do not specify any limits, the queue's limits in which the job is submitted will be applicable.
Note that if you do not specify any of the above limits in your batch job, the maximum limit of the specified queue will be used.
With the command
bjobs, you can examine
the progress of all batch jobs. It is most frequently invoked as
bjobs -u all
With the command
bpeek, you can
inspect the outputfile of a specific batch job.
Make sure not to forget the < sign when using
the commando bsub:
bsub < jobfile