1
1
openmpi/orte/mca/sds/pipe
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
..
configure.m4 Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
configure.params Remove unneeded PARAM_INIT_FILE variable in configure.params files used by 2007-01-08 03:44:22 +00:00
Makefile.am Just like r14289 on the ORTE trunk: 2007-04-12 11:19:42 +00:00
sds_pipe_component.c fix some more minor memory leaks 2007-04-07 18:41:16 +00:00
sds_pipe_module.c 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
sds_pipe.h And ORTE is ready for prime-time. All Windows tricks are in: 2006-08-23 03:32:36 +00:00