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

test_world.mpi - Mutex::lock() failed acquiring mutex - The value specified by mutex does not refer to an initialized mutex object. #163

Closed
jeffhammond opened this issue Nov 7, 2015 · 1 comment

Comments

@jeffhammond
Copy link
Member

Why is that there is an uninitialized mutex error with more than one MPI process per node?

I am running on an x86_64 system with the Intel 16 toolchain.

$ mpirun -n 1 -env MAD_NUM_THREADS=60 ./test_world.mpi 
MADNESS runtime initialized with 59 threads in the pool and affinity -1 -1 -1
$ mpirun -n 4 -env MAD_NUM_THREADS=60 ./test_world.mpi 
MADNESS runtime initialized with 59 threads in the pool and affinity -1 -1 -1
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
!! MADNESS ERROR: Mutex::lock() failed acquiring mutex
!! MADNESS ERROR: Mutex error EINVAL
!! MADNESS ERROR: The value specified by mutex does not refer to an initialized mutex object.
!! MADNESS ERROR: Mutex::lock() failed acquiring mutex
!! MADNESS ERROR: Mutex error EINVAL
!! MADNESS ERROR: The value specified by mutex does not refer to an initialized mutex object.
@robertjharrison
Copy link
Contributor

Curious. Probably not directly due to multiple processes per node but a
timing issue. I will try to reproduce.
On Nov 6, 2015 7:14 PM, "Jeff Hammond" notifications@github.com wrote:

Why is that there is an uninitialized mutex error with more than one MPI
process per node?

I am running on an x86_64 system with the Intel 16 toolchain.

$ mpirun -n 1 -env MAD_NUM_THREADS=60 ./test_world.mpi
MADNESS runtime initialized with 59 threads in the pool and affinity -1 -1 -1

$ mpirun -n 4 -env MAD_NUM_THREADS=60 ./test_world.mpi
MADNESS runtime initialized with 59 threads in the pool and affinity -1 -1 -1
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
!! MADNESS ERROR: Mutex::lock() failed acquiring mutex
!! MADNESS ERROR: Mutex error EINVAL
!! MADNESS ERROR: The value specified by mutex does not refer to an initialized mutex object.
!! MADNESS ERROR: Mutex::lock() failed acquiring mutex
!! MADNESS ERROR: Mutex error EINVAL
!! MADNESS ERROR: The value specified by mutex does not refer to an initialized mutex object.


Reply to this email directly or view it on GitHub
#163.

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

No branches or pull requests

2 participants