1
1
openmpi/orte/util
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
..
error_strings.c Fix the app-failed-to-start capability that was broken by r14554 (holding the caller in rmgr.spawn until the application - as opposed to just the orteds - have started). Allow the rmgr.spawn function to return if the app terminates, correctly handling its return status code to show abnormal termination. Modify orterun to correctly handle the returned status code so it doesn't enter a conditioned wait if the app fails to start since it will never wakeup if it does. 2007-05-18 13:29:11 +00:00
Makefile.am Rename liborte to libopen-rte and libopal to libopen-pal per telecon today 2006-12-05 18:27:24 +00:00
pre_condition_transports.c Fix a pile of memory leaks in ORTE. 2007-03-29 00:50:56 +00:00
pre_condition_transports.h Instead of continually screwing around with different format strings to 2006-12-04 18:07:24 +00:00
proc_info.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
proc_info.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
session_dir.c Allow caller to get session directory name without anything else 2007-04-23 18:25:36 +00:00
session_dir.h And ORTE is ready for prime-time. All Windows tricks are in: 2006-08-23 03:32:36 +00:00
sys_info.c Deal with the include spree. Protect "environ" on Windows. 2007-04-01 16:16:54 +00:00
sys_info.h And ORTE is ready for prime-time. All Windows tricks are in: 2006-08-23 03:32:36 +00:00
univ_info.c Deal with the include spree. Protect "environ" on Windows. 2007-04-01 16:16:54 +00:00
univ_info.h Cleanup the problem of connecting to default universes. 2006-11-06 15:28:38 +00:00
universe_setup_file_io.c Nothing releavant, only indentation. 2006-07-11 05:27:17 +00:00
universe_setup_file_io.h Windows friendly version. We have to split the OMPI_DECLSPEC in at least 3 2006-08-20 15:54:04 +00:00