Closed krl52 closed 10 months ago
hi, now I have the same bug and how do you fix it, thx
@GoddessLuBoYan This issue is so old that it's probably quite stale (indeed, the version cited is quite old). Are you doing the same thing as the initial reporter in this issue (i.e., using Open MPI v4.0.4 to run a Python script in parallel that apparently doesn't use the MPI API at all)? If not, can you open a new issue and provide all diagnostic information that is requested?
@GoddessLuBoYan This issue is so old that it's probably quite stale (indeed, the version cited is quite old). Are you doing the same thing as the initial reporter in this issue (i.e., using Open MPI v4.0.4 to run a Python script in parallel that apparently doesn't use the MPI API at all)? If not, can you open a new issue and provide all diagnostic information that is requested?
I have solved this problem that is NOT caused by OpenMPI. Thanks.
I met the same problem and found this issue from google. Finally, I found the reason is that TMPDIR
is inaccessible.
The reason for that is interesting: I used Open MPI with Slurm + Singularity. Slurm automatically set the environmental variable TMPDIR
for me. Singularity automatically exposed this environmental variable to the container. However, this directory was not accessible in the container.
I added --bind $TMPDIR
to the Singularity command, which resolved the problem.
Thank you for taking the time to submit an issue!
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
4.0.4
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
from source tarball
If you are building/installing from a git clone, please copy-n-paste the output from
git submodule status
.Please describe the system on which you are running
Details of the problem
Please describe, in detail, the problem that you are having, including the behavior you expect to see, the actual behavior that you are seeing, steps to reproduce the problem, etc. It is most helpful if you can attach a small program that a developer can use to reproduce your problem.
Note: If you include verbatim output (or a code block), please use a GitHub Markdown code block like below:
Hi all, I'm having issues when running a python script in parallel. This is my input:
It runs fine in serial. However, this is the full message that is returned after running this script with mpiexec -np 2 python3 script.py:
I tried running
export TMPDIR=/tmp
andexport PATH=/usr/local/Cellar/open-mpi/4.0.4_1/bin:$PATH
but to no avail. Any suggestions would be appreciated!