1
1
openmpi/orte/mca/oob/tcp
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
..
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
oob_tcp_addr.c Some IPv6 improvements: 2007-05-17 01:17:59 +00:00
oob_tcp_addr.h A couple cleanups for the IPv6 support: 2007-04-25 19:08:07 +00:00
oob_tcp_hdr.h Rename OMPI_PROCESS_NAME_{HTON, NTOH} macros to ORTE_PROCESS_NAME_{HTON, NTOH} 2006-11-22 03:03:21 +00:00
oob_tcp_msg.c A couple cleanups for the IPv6 support: 2007-04-25 19:08:07 +00:00
oob_tcp_msg.h * use opal_free_list_item_t as the type of items stored in an opal_free_list_t, 2006-07-17 21:51:50 +00:00
oob_tcp_peer.c Some IPv6 improvements: 2007-05-17 01:17:59 +00:00
oob_tcp_peer.h Merge in the ipv6 work from /tmp/ipv6-merge. 2007-04-25 01:55:40 +00:00
oob_tcp_ping.c Merge in the ipv6 work from /tmp/ipv6-merge. 2007-04-25 01:55:40 +00:00
oob_tcp_recv.c A couple cleanups for the IPv6 support: 2007-04-25 19:08:07 +00:00
oob_tcp_send.c 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
oob_tcp.c 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
oob_tcp.h 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