@@ -204,8 +204,7 @@ static void orted_abort(int error_code, char *fmt, ...)
204
204
}
205
205
206
206
/* send it */
207
- if (0 > (rc = orte_rml .send_buffer_nb (orte_mgmt_conduit ,
208
- ORTE_PROC_MY_HNP , alert ,
207
+ if (0 > (rc = orte_rml .send_buffer_nb (ORTE_PROC_MY_HNP , alert ,
209
208
ORTE_RML_TAG_PLM ,
210
209
orte_rml_send_callback , NULL ))) {
211
210
ORTE_ERROR_LOG (rc );
@@ -303,8 +302,7 @@ static void job_errors(int fd, short args, void *cbdata)
303
302
goto cleanup ;
304
303
}
305
304
/* send it */
306
- if (0 > (rc = orte_rml .send_buffer_nb (orte_mgmt_conduit ,
307
- ORTE_PROC_MY_HNP , alert ,
305
+ if (0 > (rc = orte_rml .send_buffer_nb (ORTE_PROC_MY_HNP , alert ,
308
306
ORTE_RML_TAG_PLM ,
309
307
orte_rml_send_callback , NULL ))) {
310
308
ORTE_ERROR_LOG (rc );
@@ -321,7 +319,6 @@ static void proc_errors(int fd, short args, void *cbdata)
321
319
orte_job_t * jdata ;
322
320
orte_process_name_t * proc = & caddy -> name ;
323
321
orte_proc_state_t state = caddy -> proc_state ;
324
- char * rtmod ;
325
322
orte_proc_t * child , * ptr ;
326
323
opal_buffer_t * alert ;
327
324
orte_plm_cmd_flag_t cmd ;
@@ -386,9 +383,6 @@ static void proc_errors(int fd, short args, void *cbdata)
386
383
goto cleanup ;
387
384
}
388
385
389
- /* get our management conduit's routed module name */
390
- rtmod = orte_rml .get_routed (orte_mgmt_conduit );
391
-
392
386
if (ORTE_PROC_STATE_COMM_FAILED == state ) {
393
387
/* if it is our own connection, ignore it */
394
388
if (OPAL_EQUAL == orte_util_compare_name_fields (ORTE_NS_CMP_ALL , ORTE_PROC_MY_NAME , proc )) {
@@ -444,7 +438,7 @@ static void proc_errors(int fd, short args, void *cbdata)
444
438
}
445
439
/* if all my routes and children are gone, then terminate
446
440
ourselves nicely (i.e., this is a normal termination) */
447
- if (0 == orte_routed .num_routes (rtmod )) {
441
+ if (0 == orte_routed .num_routes ()) {
448
442
OPAL_OUTPUT_VERBOSE ((2 , orte_errmgr_base_framework .framework_output ,
449
443
"%s errmgr:default:orted all routes gone - exiting" ,
450
444
ORTE_NAME_PRINT (ORTE_PROC_MY_NAME )));
@@ -453,7 +447,7 @@ static void proc_errors(int fd, short args, void *cbdata)
453
447
OPAL_OUTPUT_VERBOSE ((2 , orte_errmgr_base_framework .framework_output ,
454
448
"%s errmgr:default:orted not exiting, num_routes() == %d" ,
455
449
ORTE_NAME_PRINT (ORTE_PROC_MY_NAME ),
456
- (int )orte_routed .num_routes (rtmod )));
450
+ (int )orte_routed .num_routes ()));
457
451
}
458
452
}
459
453
/* if not, then we can continue */
@@ -513,8 +507,7 @@ static void proc_errors(int fd, short args, void *cbdata)
513
507
ORTE_NAME_PRINT (ORTE_PROC_MY_NAME ),
514
508
ORTE_NAME_PRINT (& child -> name ),
515
509
jdata -> num_local_procs ));
516
- if (0 > (rc = orte_rml .send_buffer_nb (orte_mgmt_conduit ,
517
- ORTE_PROC_MY_HNP , alert ,
510
+ if (0 > (rc = orte_rml .send_buffer_nb (ORTE_PROC_MY_HNP , alert ,
518
511
ORTE_RML_TAG_PLM ,
519
512
orte_rml_send_callback , NULL ))) {
520
513
ORTE_ERROR_LOG (rc );
@@ -579,7 +572,7 @@ static void proc_errors(int fd, short args, void *cbdata)
579
572
}
580
573
/* if all my routes and children are gone, then terminate
581
574
ourselves nicely (i.e., this is a normal termination) */
582
- if (0 == orte_routed .num_routes (rtmod )) {
575
+ if (0 == orte_routed .num_routes ()) {
583
576
OPAL_OUTPUT_VERBOSE ((2 , orte_errmgr_base_framework .framework_output ,
584
577
"%s errmgr:default:orted all routes gone - exiting" ,
585
578
ORTE_NAME_PRINT (ORTE_PROC_MY_NAME )));
@@ -621,8 +614,7 @@ static void proc_errors(int fd, short args, void *cbdata)
621
614
ORTE_NAME_PRINT (& child -> name ),
622
615
jdata -> num_local_procs ));
623
616
/* send it */
624
- if (0 > (rc = orte_rml .send_buffer_nb (orte_mgmt_conduit ,
625
- ORTE_PROC_MY_HNP , alert ,
617
+ if (0 > (rc = orte_rml .send_buffer_nb (ORTE_PROC_MY_HNP , alert ,
626
618
ORTE_RML_TAG_PLM ,
627
619
orte_rml_send_callback , NULL ))) {
628
620
ORTE_ERROR_LOG (rc );
@@ -677,8 +669,7 @@ static void proc_errors(int fd, short args, void *cbdata)
677
669
OBJ_RELEASE (jdata );
678
670
679
671
/* send it */
680
- if (0 > (rc = orte_rml .send_buffer_nb (orte_mgmt_conduit ,
681
- ORTE_PROC_MY_HNP , alert ,
672
+ if (0 > (rc = orte_rml .send_buffer_nb (ORTE_PROC_MY_HNP , alert ,
682
673
ORTE_RML_TAG_PLM ,
683
674
orte_rml_send_callback , NULL ))) {
684
675
ORTE_ERROR_LOG (rc );
0 commit comments