Re: [OMPI users] Deadlock with mpi_init_thread + mpi_file_set_view

2011-04-04 Thread fah10
Pascal Deveze wrote: > Could you check that your programm closes all MPI-IO files beforecalling > MPI_Finalize ? Yes, I checked that. All files should be closed. I've also written a small test program, which is attached below. The output refers to openmpi-1.5.3 with threading support, compile

Re: [OMPI users] Deadlock with mpi_init_thread + mpi_file_set_view

2011-04-02 Thread fah10
> Even inside MPICH2, I have given little attention to threadsafety and > the MPI-IO routines. In MPICH2, each MPI_File* function grabs the big > critical section lock -- not pretty but it gets the job done. > When ported to OpenMPI, I don't know how the locking works. > Furthermore, the MPI-IO

[OMPI users] Deadlock with mpi_init_thread + mpi_file_set_view

2011-03-31 Thread fah10
Hi I've compiled Open-MPI 1.4.3 with --enable-mpi-threads and I'm always getting a deadlock when calling mpi_file_set_view. The Fortran program which calls the routines hasn't opened any extra thread when the error occurs. The program works fine when I use (mpi_init instead of mpi_init_thread (MPI