Checkpoint to save changes. Added a new constant to indicate file could not be opened.
This commit was SVN r5768.
Этот коммит содержится в:
родитель
62ae285731
Коммит
11eecf9875
@ -73,7 +73,8 @@ enum {
|
|||||||
ORTE_ERR_TYPE_MISMATCH = -46,
|
ORTE_ERR_TYPE_MISMATCH = -46,
|
||||||
ORTE_ERR_VALUE_OUT_OF_BOUNDS = -47,
|
ORTE_ERR_VALUE_OUT_OF_BOUNDS = -47,
|
||||||
ORTE_ERR_FILE_READ_FAILURE = -48,
|
ORTE_ERR_FILE_READ_FAILURE = -48,
|
||||||
ORTE_ERR_FILE_WRITE_FAILURE = -49
|
ORTE_ERR_FILE_WRITE_FAILURE = -49,
|
||||||
|
ORTE_ERR_FILE_OPEN_FAILURE = -50
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* ORTE_CONSTANTS_H */
|
#endif /* ORTE_CONSTANTS_H */
|
||||||
|
@ -110,6 +110,7 @@ char *orte_error_strings[] = {
|
|||||||
"ORTE_ERR_TYPE_MISMATCH",
|
"ORTE_ERR_TYPE_MISMATCH",
|
||||||
"ORTE_ERR_VALUE_OUT_OF_BOUNDS",
|
"ORTE_ERR_VALUE_OUT_OF_BOUNDS",
|
||||||
"ORTE_ERR_FILE_READ_FAILURE",
|
"ORTE_ERR_FILE_READ_FAILURE",
|
||||||
"ORTE_ERR_FILE_WRITE_FAILURE"
|
"ORTE_ERR_FILE_WRITE_FAILURE",
|
||||||
|
"ORTE_ERR_FILE_OPEN_FAILURE"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -471,6 +471,7 @@ static void orte_setup_hnp_recv(int status, orte_process_name_t* sender,
|
|||||||
if (ORTE_SUCCESS != (rc = orte_dps.unpack(buffer, &orted_uri, &n, ORTE_STRING))) {
|
if (ORTE_SUCCESS != (rc = orte_dps.unpack(buffer, &orted_uri, &n, ORTE_STRING))) {
|
||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
}
|
}
|
||||||
|
ompi_output(0, "orteprobe: received uri %s", orted_uri);
|
||||||
ompi_condition_signal(&orte_setup_hnp_condition);
|
ompi_condition_signal(&orte_setup_hnp_condition);
|
||||||
OMPI_THREAD_UNLOCK(&orte_setup_hnp_mutex);
|
OMPI_THREAD_UNLOCK(&orte_setup_hnp_mutex);
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user