1
1
openmpi/ompi/mca/pml
Ralph Castain 4fff584a68 Commit the orted-failed-to-start code. This correctly causes the system to detect the failure of an orted to start and allows the system to terminate all procs/orteds that *did* start.
The primary change that underlies all this is in the OOB. Specifically, the problem in the code until now has been that the OOB attempts to resolve an address when we call the "send" to an unknown recipient. The OOB would then wait forever if that recipient never actually started (and hence, never reported back its OOB contact info). In the case of an orted that failed to start, we would correctly detect that the orted hadn't started, but then we would attempt to order all orteds (including the one that failed to start) to die. This would cause the OOB to "hang" the system.

Unfortunately, revising how the OOB resolves addresses introduced a number of additional problems. Specifically, and most troublesome, was the fact that comm_spawn involved the immediate transmission of the rendezvous point from parent-to-child after the child was spawned. The current code used the OOB address resolution as a "barrier" - basically, the parent would attempt to send the info to the child, and then "hold" there until the child's contact info had arrived (meaning the child had started) and the send could be completed.

Note that this also caused comm_spawn to "hang" the entire system if the child never started... The app-failed-to-start helped improve that behavior - this code provides additional relief.

With this change, the OOB will return an ADDRESSEE_UNKNOWN error if you attempt to send to a recipient whose contact info isn't already in the OOB's hash tables. To resolve comm_spawn issues, we also now force the cross-sharing of connection info between parent and child jobs during spawn.

Finally, to aid in setting triggers to the right values, we introduce the "arith" API for the GPR. This function allows you to atomically change the value in a registry location (either divide, multiply, add, or subtract) by the provided operand. It is equivalent to first fetching the value using a "get", then modifying it, and then putting the result back into the registry via a "put".

This commit was SVN r14711.
2007-05-21 18:31:28 +00:00
..
base - UNexport symbols that shouldn't be needed outside the libraries 2007-05-16 15:46:52 +00:00
cm - Bring over the visibility feature, for a finer symbol export control 2007-05-04 09:03:37 +00:00
crcpw Some minor updates to go along with commit r14457 2007-04-21 21:24:44 +00:00
dr Just like r14289 on the ORTE trunk: 2007-04-12 11:19:42 +00:00
example Just like r14289 on the ORTE trunk: 2007-04-12 11:19:42 +00:00
ob1 Commit the orted-failed-to-start code. This correctly causes the system to detect the failure of an orted to start and allows the system to terminate all procs/orteds that *did* start. 2007-05-21 18:31:28 +00:00
Makefile.am * AC_CONFIG_LINKS has a minor problem in that it always uses ln -s, rather 2006-07-16 04:23:52 +00:00
pml.h Cosmetics. PTLs are now called BTLs. 2007-04-16 10:12:27 +00:00