Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange issues with openmpi #3567

Closed
davydden opened this issue Mar 27, 2017 · 3 comments
Closed

strange issues with openmpi #3567

davydden opened this issue Mar 27, 2017 · 3 comments
Labels

Comments

@davydden
Copy link
Member

i was reinstalling the software stack and used the current openmpi and got this when trying to use it outside of Spack:

$ mpirun -v
PMIx has detected a temporary directory name that results
in a path that is too long for the Unix domain socket:

    Temp dir: /var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/openmpi-sessions-501@MacBook-Pro-<USER>_0/25440

Try setting your TMPDIR environmental variable to point to
something shorter in length
@davydden davydden added the mpi label Mar 27, 2017
@davydden
Copy link
Member Author

probably it's something with the new version of openmpi, fixed by setting TMPDIR, no idea why it did not complain before.

@davydden
Copy link
Member Author

davydden commented Mar 29, 2017

there is even a special issue on OpenMPI FAQ https://www.open-mpi.org/faq/?category=osx#startup-errors-with-open-mpi-2.0.x strangely, i never came across this problem before. Either way - it's not related to Spack.

@tgamblin
Copy link
Member

@davydden: Mac OS X has some pretty weird, long temp directory names by default. This might not be Spack's fault, but if there is some config file that we could patch in OpenMPI by default, to make it use a shorter tmp name, then we could add that to the package.

The default TMPDIR has the advantage that it is only owned by you, but the OpenMPI guys recommend to set it to /tmp as on other systems, for lack of other options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants