1
1
openmpi/orte/mca/sds
Ralph Castain d9acc93efa Compute and pass the local_rank and local number of procs (in that proc's job) on the node.
To be precise, given this hypothetical launching pattern:

host1: vpids 0, 2, 4, 6
host2: vpids 1, 3, 5, 7

The local_rank for these procs would be:

host1: vpids 0->local_rank 0, v2->lr1, v4->lr2, v6->lr3
host2: vpids 1->local_rank 0, v3->lr1, v5->lr2, v7->lr3

and the number of local procs on each node would be four. If vpid=0 then does a comm_spawn of one process on host1, the values of the parent job would remain unchanged. The local_rank of the child process would be 0 and its num_local_procs would be 1 since it is in a separate jobid.

I have verified this functionality for the rsh case - need to verify that slurm and other cases also get the right values. Some consolidation of common code is probably going to occur in the SDS components to make this simpler and more maintainable in the future.

This commit was SVN r14706.
2007-05-21 14:30:10 +00:00
..
base Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
bproc Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
cnos Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
env Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
pipe Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
portals_utcp Just like r14289 on the ORTE trunk: 2007-04-12 11:19:42 +00:00
seed Just like r14289 on the ORTE trunk: 2007-04-12 11:19:42 +00:00
singleton Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
slurm Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
xcpu Compute and pass the local_rank and local number of procs (in that proc's job) on the node. 2007-05-21 14:30:10 +00:00
Makefile.am Clean up a couple of configure things: 2007-05-15 04:23:48 +00:00
sds.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00