Skip to content

Open MPI was unable to obtain the username in order to create a path #1964

@sjackman

Description

@sjackman

Due to some unresolved misconfiguration, whoami returns a number rather than a name. This situation causes OpenMPI to give the error:

Open MPI was unable to obtain the username in order to create a path 
for its required temporary directories. This type of error is usually 
caused by a transient failure of network-based authentication services 
(e.g., LDAP or NIS failure due to network congestion), but can also be 
an indication of system misconfiguration. 
Please consult your system administrator about these issues and try 
again.

This issue has been reported here:
https://www.open-mpi.org/community/lists/users/2014/10/25485.php

The workaround is to recompile OpenMPI using --disable-getpwuid. Recompiling OpenMPI is a rather heavy weight workaround, when all that is needed is a temporary directory.

Could the above error be downgraded to a warning instead?

Is there a workaround that doesn't require recompiling OpenMPI?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions