From 919260a0d23a95289b4b2ea77cc0a8c375e75138 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 24 Jan 2014 17:18:28 +0000 Subject: [PATCH] fix communication between orte-checkpoint and orterun Right after starting the communication with orterun the buffer containing the message is deleted. This patch removes the deletion of the buffer which is now done by orte_rml_send_callback(). This is now also the callback function used by orte_rml.send_buffer_nb(). The previous callback hnp_receiver() was introduced by an earlier patch which only was trying to get the code to compile again. This commit was SVN r30405. --- orte/tools/orte-checkpoint/orte-checkpoint.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/orte/tools/orte-checkpoint/orte-checkpoint.c b/orte/tools/orte-checkpoint/orte-checkpoint.c index 7106342c71..8539f34fb2 100644 --- a/orte/tools/orte-checkpoint/orte-checkpoint.c +++ b/orte/tools/orte-checkpoint/orte-checkpoint.c @@ -834,7 +834,7 @@ static int notify_process_for_checkpoint(opal_crs_base_ckpt_options_t *options) } if (ORTE_SUCCESS != (ret = orte_rml.send_buffer_nb(&(orterun_hnp->name), buffer, - ORTE_RML_TAG_CKPT, hnp_receiver, + ORTE_RML_TAG_CKPT, orte_rml_send_callback, NULL))) { exit_status = ret; goto cleanup; @@ -845,11 +845,6 @@ static int notify_process_for_checkpoint(opal_crs_base_ckpt_options_t *options) ORTE_JOBID_PRINT(jobid)); cleanup: - if( NULL != buffer) { - OBJ_RELEASE(buffer); - buffer = NULL; - } - if( ORTE_SUCCESS != exit_status ) { opal_show_help("help-orte-checkpoint.txt", "unable_to_connect", true, orte_checkpoint_globals.pid);