Using lsmake
One of the most valuable of LSF's tool for developers is lsmake.
lsmake is a modified version of GNU make
which uses LSF to run make tasks in parallel on lightly loaded
hosts.
Without LSF options, lsmake will choose the lightest loaded machine to
make each target. In addition to the GNU options, lsmake supports options
that control LSF:
- -j <# of jobs>
- This option controls the number of machines to start a
concurrent task on. For example, lsmake -j 2 will
make a target on two machines (not necessarily different machines) at
once. Care should be taken that dependencies are set correctly, or
lsmake may fail to make a target, since its dependency may not have
finished being made.
- -V
- Be verbose. Display the list machines lsmake will use to make
the targets, and for each target, display the machines the target is
being built on.
- -m <machine name>
- Build targets on specified machine
For more information, see lsmake(1).