Platform LSF Reference Version 6.2

bsub
Platform LSF Reference
162
The keyword others can be specified with or without a preference level to refer to
other hosts not otherwise listed. The keyword
others must be specified with at least
one host name or host group, it cannot be specified by itself. For example,
-m "hostA+
others"
means that hostA is preferred over all other hosts.
If you also use
-q, the specified queue must be configured to include all the hosts in the
your host list. Otherwise, the job is not submitted. To find out what hosts are configured
for the queue, use
bqueues -l.
To display configured host groups, use
bmgroup.
For the MultiCluster job forwarding model, you cannot specify a remote host by name.
-M mem_limit
Sets a per-process (soft) memory limit for all the processes that belong to this batch job
(see
getrlimit(2)). The memory limit is specified in KB.
If LSB_MEMLIMIT_ENFORCE or LSB_JOB_MEMLIMIT are set to
y in
lsf.conf, LSF kills the job when it exceeds the memory limit. Otherwise, LSF passes
the memory limit to the operating system. UNIX operating systems that support
RUSAGE_RSS for
setrlimit() can apply the memory limit to each process.
The following operating systems do not support the memory limit at the OS level:
- Windows
- Sun Solaris 2.x
-n min_proc[,max_proc]
Submits a parallel job and specifies the number of processors required to run the job
(some of the processors may be on the same multiprocessor host).
You can specify a minimum and maximum number of processors to use. The job can
start if at least the minimum number of processors is available. If you do not specify a
maximum, the number you specify represents the exact number of processors to use.
If
PARALLEL_SCHED_BY_SLOT=Y in lsb.params, this option specifies the number
of slots required to run the job, not the number of processors.
Jobs that request fewer slots than the minimum PROCLIMIT defined for the queue to
which the job is submitted, or more slots than the maximum PROCLIMIT cannot use
the queue and are rejected. If the job requests minimum and maximum job slots, the
maximum slots requested cannot be less than the minimum PROCLIMIT, and the
minimum slots requested cannot be more than the maximum PROCLIMIT.
For example, if the queue defines PROCLIMIT=4 8:
bsub -n 6 is accepted because it requests slots within the range of PROCLIMIT
bsub -n 7 is rejected because it requests more slots than the PROCLIMIT allows
bsub -n 1 is rejected because it requests fewer slots than the PROCLIMIT allows
bsub -n 6,10 is accepted because the minimum value 6 is within the range of the
PROCLIMIT setting
bsub -n 1,6 is accepted because the maximum value 6 is within the range of the
PROCLIMIT setting
bsub -n 10,16 is rejected because its range is outside the range of PROCLIMIT
bsub -n 1,3 is rejected because its range is outside the range of PROCLIMIT