Divide Tasks for Distribution in a Cluster
This divides up
ncl lists of approximately
equal size, as a way to allocate tasks to nodes in a cluster.
It is mainly for internal use, but some package authors have found it useful.
Number of tasks.
Number of cluster nodes.
A list of length
ncl, each element being an integer vector.