-
Notifications
You must be signed in to change notification settings - Fork 864
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
The simple hello-world.c MPI program prints: shmem: mmap: an error occurred while determining whether or not /tmp/ompi.yv.1001/jf.0/3074883584/sm_segment.yv.1001.b7470000.0 could be created #12784
Comments
Please provide all the information from the debug issue template; thanks! https://github.com/open-mpi/ompi/blob/main/.github/ISSUE_TEMPLATE/bug_report.md |
I added missing bits of information. |
the root cause could be not enough available space in try running
and check the output (useful message might have been compiled out though) if there is nothing useful, you can
then compress |
This didn't produce anything relevant.
BSDs have ktrace instead. |
It looks like some directories were not created. |
The log doesn't have any |
well, this is a different message that the one used when opening this issue. And this one is self explanatory. Anyway, what if you
or you can simply increase the size of |
This message is for a regular user:
This message is for root:
|
I see. try adding |
The error messages disappear when OMPI_MCA_btl_sm_backing_directory=/tmp is used. |
We have seen and responded to this problem many times - I believe it is included in the docs somewhere. The problem is that BSD (mostly as seen on Mac) has created a default Solution: set |
What do you mean by TMPDIR? |
Indeed, it seems the root cause is something fishy related to what if you |
|
That's indeed a small I still do not understand why running as a user does not get you the user friendly message you get when running as root. can you |
Here is the ktrace dump for a regular user. |
It seems regular users do not have write access to the (small size)
Unless you change that, your best bet is probably to add
to your |
Is direct access to /dev/shm new in OpenMPI? It used to work fine on FreeBSD. How does this work on Linux? Is everybody allowed write access to /dev/shm there? |
Access to /dev/shm has fallback in ompi, like here. Why doesn't this fallback work then? Is it accidentally missing in some cases? |
I believe I've tried everything suggested (and then some) as evidenced by the following interactions:
|
See the program below.
---program---
Version: openmpi-5.0.5_1
Describe how Open MPI was installed: FreeBSD package
Computer hardware: Intel CPU
Network type: Ethernet/IP (irrelevant)
Available space in /tmp: 64GB
FreeBSD 14.1
The text was updated successfully, but these errors were encountered: