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.
Этот коммит содержится в:
родитель
8c93ebffeb
Коммит
919260a0d2
@ -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);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user