diff --git a/orte/include/orte/orte_constants.h b/orte/include/orte/orte_constants.h index a3b484509e..e20cc12dd1 100644 --- a/orte/include/orte/orte_constants.h +++ b/orte/include/orte/orte_constants.h @@ -93,7 +93,16 @@ enum { ORTE_ERR_INDETERMINATE_STATE_INFO = (ORTE_ERR_BASE - 25), ORTE_ERR_NODE_FULLY_USED = (ORTE_ERR_BASE - 26), ORTE_ERR_INVALID_NUM_PROCS = (ORTE_ERR_BASE - 27), - ORTE_ERR_SILENT = (ORTE_ERR_BASE - 28) + ORTE_ERR_SILENT = (ORTE_ERR_BASE - 28), + ORTE_ERR_ADDRESSEE_UNKNOWN = (ORTE_ERR_BASE - 29), + ORTE_ERR_SYS_LIMITS_PIPES = (ORTE_ERR_BASE - 30), + ORTE_ERR_PIPE_SETUP_FAILURE = (ORTE_ERR_BASE - 31), + ORTE_ERR_SYS_LIMITS_CHILDREN = (ORTE_ERR_BASE - 32), + ORTE_ERR_FAILED_GET_TERM_ATTRS = (ORTE_ERR_BASE - 33), + ORTE_ERR_WDIR_NOT_FOUND = (ORTE_ERR_BASE - 34), + ORTE_ERR_EXE_NOT_FOUND = (ORTE_ERR_BASE - 35), + ORTE_ERR_PIPE_READ_FAILURE = (ORTE_ERR_BASE - 36), + ORTE_ERR_EXE_NOT_ACCESSIBLE = (ORTE_ERR_BASE - 37) }; #define ORTE_ERR_MAX (ORTE_ERR_BASE - 100) diff --git a/orte/util/error_strings.c b/orte/util/error_strings.c index 73604167ea..4dd6320f7c 100644 --- a/orte/util/error_strings.c +++ b/orte/util/error_strings.c @@ -112,6 +112,33 @@ orte_err2str(int errnum) case ORTE_ERR_SILENT: retval = NULL; break; + case ORTE_ERR_ADDRESSEE_UNKNOWN: + retval = "A message is attempting to be sent to a process whose contact information is unknown"; + break; + case ORTE_ERR_SYS_LIMITS_PIPES: + retval = "The system limit on number of pipes a process can open was reached"; + break; + case ORTE_ERR_PIPE_SETUP_FAILURE: + retval = "A pipe could not be setup between a daemon and one of its local processes"; + break; + case ORTE_ERR_SYS_LIMITS_CHILDREN: + retval = "The system limit on number of children a process can have was reached"; + break; + case ORTE_ERR_FAILED_GET_TERM_ATTRS: + retval = "The I/O forwarding system was unable to get the attributes of your terminal"; + break; + case ORTE_ERR_WDIR_NOT_FOUND: + retval = "The specified working directory could not be found"; + break; + case ORTE_ERR_EXE_NOT_FOUND: + retval = "The specified executable could not be found"; + break; + case ORTE_ERR_PIPE_READ_FAILURE: + retval = "A pipe could not be read"; + break; + case ORTE_ERR_EXE_NOT_ACCESSIBLE: + retval = "The specified executable could not be executed"; + break; default: retval = NULL; }