LSF Version 7.3 - Administering Platform LSF
Same String
294 Administering Platform LSF
If hosts do not always have both resources, it is interpreted as allocate processors
either on hosts that have the same value for
resource1, or on hosts that have the
same value for
resource2, or on hosts that have the same value for both resource1
and
resource2.
Specifying multiple -R options
bsub accepts multiple -R options for the same section. You can specify multiple
resource requirement strings instead of using the && operator. For example:
bsub -R "same[type]" -R "same[model]"
LSF merges the multiple -R options into one string and dispatches the job if all of
the resource requirements can be met. By allowing multiple resource requirement
strings and automatically merging them into one string, LSF simplifies the use of
multiple layers of wrapper scripts.
Examples
bsub -n 4 -R"select[type==SGI6 || type==SOL7] same[type]" myjob
Run all parallel processes on the same host type. Allocate 4 processors on the same
host type—either SGI IRIX, or Solaris 7, but not both.
bsub -n 6 -R"select[type==any] same[type:model]" myjob
Run all parallel processes on the same host type and model. Allocate 6 processors
on any host type or model as long as all the processors are on the same host type
and model.
Same string in
application profiles
See Chapter 21, “Working with Application Profiles” for information about how
resource requirements in application profiles are resolved with queue-level and
job-level resource requirements.