If your # of shards do not line up, then map_rect
will handle that for you. What it will do is place the excess number of jobs onto the second node onwards. This means that the root node will have one job less than the others. It is better to get the root node to a little less since it is then available to handle the incoming results from all workers.
1 Like