diff --git a/orte/runtime/help-orte-runtime.txt b/orte/runtime/help-orte-runtime.txt index 6d14e8cdbc..169fbb5935 100644 --- a/orte/runtime/help-orte-runtime.txt +++ b/orte/runtime/help-orte-runtime.txt @@ -42,6 +42,16 @@ to have the list of prohibited locations changed. Otherwise, please identify a different location to be used (use -h to see the cmd line option), or simply let the system pick a default location. # +[orte:session:dir:nopwname] +Open MPI was unable to obtain the username in order to +create a path for its required temporary directories. This +is usually caused by either the UID being removed from the +passed file, or from use of network-based authentication +service (e.g., NIS) on a large cluster that might suffer +from congestion. + +Please consult your system administrator about these +conditions and try again. # [orte_nidmap:too_many_nodes] An error occurred while trying to pack the information about the job. More nodes diff --git a/orte/util/session_dir.c b/orte/util/session_dir.c index db794d20ad..e656d982eb 100644 --- a/orte/util/session_dir.c +++ b/orte/util/session_dir.c @@ -147,9 +147,9 @@ orte_session_dir_get_name(char **fulldirpath, if (NULL != pwdent) { user = strdup(pwdent->pw_name); } else { - if (0 > asprintf(&user, "%d", uid)) { - return ORTE_ERR_OUT_OF_RESOURCE; - } + orte_show_help("help-orte-runtime.txt", + "orte:session:dir:nopwname", true); + return ORTE_ERR_OUT_OF_RESOURCE; } /*