Sun N1 Grid Engine 6.1 User's Guide

qmake Usage

The command-line syntax of qmake looks similar to the syntax of qrsh:


% qmake [-pe pe-name pe-range][options] \
 -- [gnu-make-options][target]

Note –

The -inherit option is also supported by qmake, as described later in this section.


Pay special attention to the use of the -pe option and its relation to the gmake -j option. You can use both options to express the amount of parallelism to be achieved. The difference is that gmake provides no possibility with -j to specify something like a parallel environment to use. Therefore, qmake assumes that a default environment for parallel makes is configured that is called make. Furthermore, gmake ´s -j allows for no specification of a range, but only for a single number. qmake interprets the number that is given with -j as a range of 1-n. By contrast, -pe permits the detailed specification of all these parameters. Consequently the following command line examples are identical:


% qmake -- -j 10
% qmake -pe make 1-10 --

The following command lines cannot be expressed using the -j option:


% qmake -pe make 5-10,16 --
% qmake -pe mpi 1-99999 --

Apart from the syntax, qmake supports two modes of invocation: interactively from the command line without the -inherit option, or within a batch job with the -inherit option. These two modes start different sequences of actions:

See the qmake(1) man page for further details.