Platform LSF Administration Guide Version 6.2
Chapter 28
Running Parallel Jobs
Administering Platform LSF
429
Preparing Your Environment to Submit Parallel Jobs to
LSF
Getting the host list
Some applications can take this list of hosts directly as a command line parameter. For
other applications, you may need to process the host list.
Example
The following example shows a /bin/sh script that processes all the hosts in the host
list, including identifying the host where the job script is executing.
#!/bin/sh
# Process the list of host names in LSB_HOSTS
for host in $LSB_HOSTS ; do
handle_host $host
done
Parallel job scripts
Each parallel programming package has different requirements for specifying and
communicating with all the hosts used by a parallel job. LSF is not tailored to work with
a specific parallel programming package. Instead, LSF provides a generic interface so
that any parallel package can be supported by writing shell scripts or wrapper programs.
You can modify these scripts to support more parallel packages.
For more information, see “Submitting Parallel Jobs” on page 430
Using a job starter
You can configure the script into your queue as a job starter, and then all users can
submit parallel jobs without having to type the script name. See “Queue-Level Job
Starters” on page 490 for more information about job starters.
To see if your queue already has a job starter defined, run
bqueues -l.