Home
 
Getting Started
 
Access Information
 
Code Development
 
Computing Resources
 
Running Jobs
 
Documentation and Training
 
Events
 
Careers at A*CRC
 
   
LSF  
 
LSF
Description 
LSF (Load Sharing Facility) is a commercial computer software job scheduler developed by Platform Computing. It can be used to execute batch jobs on networked Unix and Windows systems on many different architectures. LSF is the only scheduler installed in the high-performance computing facilities of  A*CRC

Official Homepage
      
Documentation
Digital format LSF 7.0 User Manual is not available; please contact A*CRC if you want to borrow the manual. 

On-line LSF Resources
LSF 3.0 User Guide

 
License Agreement and Citation Format
License Agreement
LSF Software License

How to Access the Program 
 
Availability
Servers Versions Paths
Fuji 7.0 /usr/local/lsf/7.0/linux2.6-glibc2.3-x86_64/
Aurora 7.0 /usr/local/lsf/7.0/linux2.6-glibc2.3-x86_64
Cirrus 8.0 /usr/local/lsf/8.0/aix5-64
Axle 7.0 /usr/local/lsf/7.0/linux2.6-glibc2.3-x86_64
Using the Program
(1) Example of a submission script for LSF scheduler

#!/bin/sh

#Sample script for large MPI jobs (i.e. > 32 cores) on Axle

# Last modified 20 August 2010

 

# Ask for 64 processors

#BSUB -n 64

 

# 32 processors per host

#BSUB -R "span[ptile=32]"

 

# Wallclock time in HH:MM

#BSUB -W 5:00

 

# Job name

#BSUB -J "MyLargeParallelJob"

 

# Requires 500M of memory per MPI task

#BSUB -R "rusage[mem=500]"

 

# Output and error files

#BSUB -o lsf%J.o

#BSUB -e lsf%J.e

 

# Need to make our own machinefile

MACHINEFILE=mymacs.$LSB_JOBID

for i in `echo $LSB_HOSTS`

do

echo $i

done > $MACHINEFILE

 

# Run the program

mpirun -genv I_MPI_DEVICE rdma -machinefile $MACHINEFILE -n 64 ./a.out

 

 

(2) To submit a job script with "bsub" command
bsub

114272
 is the ID for this job, and the job was submitted to express queue

(3) To check the status of submitted jobs with "bjobs" command
bjobs
         JOBID : Job ID 
          USER : User Name
          STAT : Satus 
        QUEUE : Submitted Queue
 FROM_HOST :Submitted host
  EXEC_HOST : #Processors * Executing node
    JOB_NAME : Job Name
SUBMIT_TIME : Submitted Time

Common status: RUN=runningPEND=pending; PSUSP=suspend while pending; USUSP=suspend while running; DONE=job terminaite without error; EXIT=job terminate with error

(4) To delete a job with "bkill" command
bkill

Use "bkill  Job ID" to kill a job


(5) To check available queue with "bqueues" command
bqueues

QUEUE_NAME : Queue Name
           PRIO : Priority  
       STATUS : Status of queues
           MAX :
The maximum number of job slots that can be used
               by the jobs from the queue.
The maximum number of job slots that can be used by the jobs from the queue.
           JL/U : The maximum number of job slots each user can use for jobs in the queue.
           JL/P : The maximum number of job slots a processor can process from the queue.
           JL/H : The maximum number of job slots a host can allocate from this queue.
          NOBS : The total number of job slots held currently by jobs in the queue.
          PEND : The number of job slots used by pending jobs in the queue.
            RUN : The number of job slots used by running jobs in the queue.
           SUSP : The number of job slots used by suspended jobs in the queue.

(6) To check the host configuration with "lshosts"command 
lshost

(7) To check the load information of the node with "lsload" command
lsload 
 
Additional Notes
 
Last Updated - 4th Sep 2012
 
     
Privacy Policy