BTW: just to be clear. You don't have to write any code to compute these
values, or to reset the job structures prior to restarting a process. This has
already been done.
Recomputing local and node ranks is done in
orte/mca/rmaps/base/rmaps_base_support_fns.c in a function called
orte_rmaps_ba
The local rank of a process is computed by looking at all processes on a node
from that job. The lowest MPI rank process on that node from that job is given
local-rank=0. All processes on the node are given local-ranks in ascending
order according to their MPI rank.
The node rank is computed th