1
1

Fix singleton MPI_Abort. Singletons no longer immediately start an HNP, but only launch one when they need it for comm_spawn. So there isn't anyone to send the "abort" report to, and thus we just exit after emitting our message.

cmr=v1.7.5:reviewer=jsquyres:subject=Fix singleton MPI_Abort

This commit was SVN r30635.
Этот коммит содержится в:
Ralph Castain 2014-02-08 18:15:07 +00:00
родитель 98ad6b3d1e
Коммит a94920276d

Просмотреть файл

@ -382,9 +382,13 @@ void orte_ess_base_app_abort(int status, bool report)
/* If we were asked to report this termination, do so - except
* in cases of abnormal termination ordered by the RTE as
* this means we can't rely on being able to communicate
* this means we can't rely on being able to communicate. Also,
* since singletons don't start an HNP unless necessary, and
* direct-launched procs don't have daemons at all, only send
* the message if routing is enabled as this indicates we
* have someone to send to
*/
if (report && !orte_abnormal_term_ordered) {
if (report && !orte_abnormal_term_ordered && orte_routing_is_enabled) {
buf = OBJ_NEW(opal_buffer_t);
opal_dss.pack(buf, &cmd, 1, ORTE_DAEMON_CMD);
orte_rml.send_buffer_nb(ORTE_PROC_MY_DAEMON, buf, ORTE_RML_TAG_DAEMON, orte_rml_send_callback, NULL);