Platform LSF Reference Version 6.2
lsmake
Platform LSF Reference
234
lsmake
runs make tasks in parallel
SYNOPSIS
lsmake [-c num_tasks] [-F res_req] [-m "host_name ..."] [-E] [-G] [-M] [-V]
[makeoption ...] [target ...]
lsmake [-c num_tasks] [-F res_req] [-T] [-j max_processors] [-P minutes]
[
-R res_req] [-E] [-G] [-M] [-V] [makeoption ...] [target ...]
DESCRIPTION
Runs make tasks in parallel on LSF hosts. Sets the environment variables on the remote
hosts when
lsmake first starts.
By default, uses the local host, uses only one processor, starts only one task in each
processor, and processes submakes sequentially.
lsmake is a modified version of GNU make. All the options provided by GNU make are
valid with
lsmake.
OPTIONS
-E
Sets the environment variables for every task sent remotely.
This is necessary when make files change or override the environment variables they
inherit at startup.
-G
Enables debugging.
-M
Processes submakes in parallel. Some makefiles may not work correctly when run in
parallel through Platform Make.
To use this feature, build each submake as a separate target in your makefile. Specify the
make command for each submake with the built-in $(MAKE) macro. Makefiles that
depend on sequential processing might have to be modified further.
For more information, see the Platform Make documentation.
-T
Enables output tagging to prefix the sender’s task ID to the parallel task output data.
-V
Verbose mode. Prints the names of the hosts used.
-c num_tasks
Starts the specified number of tasks concurrently on each processor. If you specify too
many tasks, you could overload a host.