Sebastian,
at first glance, the global lock in romio glue is not necessary.
feel free to give the attached patch a try
(it works with your example, and i made no further testing)
Cheers,
Gilles
On 3/25/2016 9:26 AM, Gilles Gouaillardet wrote:
Sebastian,
thanks for the info.
bottom line, the global lock is in the OpenMPI glue for ROMIO.
i will check what kind of locking (if any) is done in mpich
Cheers,
Gilles
On 3/24/2016 11:30 PM, Sebastian Rettenberger wrote:
Hi,
I tested this on my desktop machine. Thus, one node, two tasks.
It deadlock appears on the local file system and on the nfs mount.
The MPICH version I tested was 3.2.
However, as far as I know, locking is part of the MPI library and not
ROMIO.
Best regards,
Sebastian
On 03/24/2016 03:19 PM, Gilles Gouaillardet wrote:
Sebastian,
in openmpi 1.10, the default io component is romio from mpich 3.0.4.
how many tasks, how many nodes and which file system are you running
on ?
Cheers,
Gilles
On Thursday, March 24, 2016, Sebastian Rettenberger
<rette...@in.tum.de>
wrote:
Hi,
I tried to run the attached program with OpenMPI. It works well
with MPICH
and Intel MPI but I get a deadlock when using OpenMPI.
I am using OpenMPI 1.10.0 with support for MPI_THREAD_MULTIPLE.
It seems like ROMIO uses global locks in OpenMPI which is a problem if
multiple threads want to do collective I/O.
Any idea how one can get around this issue?
Best regards,
Sebastian
--
Sebastian Rettenberger, M.Sc.
Technische Universität München
Department of Informatics
Chair of Scientific Computing
Boltzmannstrasse 3, 85748 Garching, Germany
http://www5.in.tum.de/
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/03/28819.php
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription:http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this
post:http://www.open-mpi.org/community/lists/users/2016/03/28820.php
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/03/28825.php
diff --git a/ompi/mca/io/romio/src/io_romio.h b/ompi/mca/io/romio/src/io_romio.h
index c6c6683..e2efd78 100644
--- a/ompi/mca/io/romio/src/io_romio.h
+++ b/ompi/mca/io/romio/src/io_romio.h
@@ -28,6 +28,8 @@
#include "romio/adio/include/romioconf.h"
#include "romio/include/mpio.h"
+#define OPAL_THREAD_LOCK(t)
+#define OPAL_THREAD_UNLOCK(t)
BEGIN_C_DECLS