1
1
openmpi/orte/mca/schema
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 This commit accomplishes two things: 2006-11-11 04:03:45 +00:00
Makefile.am Fix a bunch of install locations for header files 2005-12-08 00:54:44 +00:00
schema_types.h 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
schema.h This commit accomplishes two things: 2006-11-11 04:03:45 +00:00