Specifies the total number of tasks of a parallel job you want to run on all available nodes. Use this keyword in conjunction with the node keyword. The value you specify on the node keyword must be a single value rather than a range of values. If the node keyword is not specified, then the default value is one node.
The maximum number of tasks a job step can request is limited by the total_tasks keyword in the administration file (provided this keyword is specified). That is, the maximum must be less than any total_tasks value specified in a user, group, or class stanza.
The value of the total_tasks keyword applies only to the job step in which you specify the keyword. (That is, this keyword is not inherited by other job steps.)
Also, you cannot specify both the total_tasks keyword and the tasks_per_node keyword within a job step.
The syntax is:
total_tasks = number
Where number is the total number of tasks you want to run.
For example, to run two tasks on each of 12 available nodes for a total of 24 tasks, enter the following:
node = 12 total_tasks = 24
If you specify an unequal distribution of tasks per node, LoadLeveler allocates the tasks on the nodes in a round-robin fashion. For example, if you have three nodes and five tasks, two tasks run on the first two nodes and one task runs on the third node.