Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Deadlock with mpi_init_thread + mpi_file_set_view
From: fah10_at_[hidden]
Date: 2011-03-31 13:03:50


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_THREAD_SERIALIZED)) or (start the program with only 1 mpi process)
On abort, I'm getting the backtrace attached below.
  
Does anyone know how to fix this?

Thanks!
Fabian

opal_mutex_lock(): Resource deadlock avoided
opal_mutex_lock(): Resource deadlock avoided
[user-laptop:11016] *** Process received signal ***
[user-laptop:11016] Signal: Aborted (6)
[user-laptop:11016] Signal code: (-6)
[user-laptop:11015] *** Process received signal ***
[user-laptop:11015] Signal: Aborted (6)
[user-laptop:11015] Signal code: (-6)
[user-laptop:11016] [ 0] [0x5e940c]
[user-laptop:11016] [ 1] /lib/libc.so.6(abort+0x182) [0x9149e42]
[user-laptop:11016] [ 2] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(+0x5950) [0x606950]
[user-laptop:11016] [ 3] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(+0x61ad) [0x6071ad]
[user-laptop:11015] [ 0] [0x7a440c]
[user-laptop:11015] [ 1] /lib/libc.so.6(abort+0x182) [0x7fee42]
[user-laptop:11015] [ 2] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(+0x5950) [0xa1d950]
[user-laptop:11015] [ 3] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(+0x61ad) [0xa1e1ad]
[user-laptop:11015] [ 4] /home/user/local/openmpi-gcc/lib/libmpi.so.0(mca_io_base_component_run_progress+0x7b) [0x6882f0]
[user-laptop:11015] [ 5] /home/user/local/openmpi-gcc/lib/libopen-pal.so.0(opal_progress+0xf0) [0x4f25eb]
[user-laptop:11015] [ 6] /home/user/local/openmpi-gcc/lib/libmpi.so.0(+0x3fb04) [0x612b04]
[user-laptop:11015] [ 7] /home/user/local/openmpi-gcc/lib/libmpi.so.0(+0x4002f) [0x61302f]
[user-laptop:11015] [ 8] /home/user/local/openmpi-gcc/lib/openmpi/mca_coll_tuned.so(+0x1c61) [0x9d2c61]
[user-laptop:11015] [ 9] /home/user/local/openmpi-gcc/lib/openmpi/mca_coll_tuned.so(+0xdd83) [0x9ded83]
[user-laptop:11015] [10] /home/user/local/openmpi-gcc/lib/openmpi/mca_coll_tuned.so(+0x221b) [0x9d321b]
[user-laptop:11015] [11] /home/user/local/openmpi-gcc/lib/libmpi.so.0(MPI_Barrier+0xff) [0x638c6a]
[user-laptop:11015] [12] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(mca_io_romio_dist_MPI_File_set_view+0x588) [0xa46fa4]
[user-laptop:11015] [13] /home/user/local/openmpi-gcc/lib/openmpi/mca_io_romio.so(+0x6830) [0xa1e830]
[user-laptop:11015] [14] /home/user/local/openmpi-gcc/lib/libmpi.so.0(PMPI_File_set_view+0x1d8) [0x679e2f]
[user-laptop:11015] [15] /home/user/local/openmpi-gcc/lib/libmpi_f77.so.0(mpi_file_set_view+0xfe) [0x46c855]
[user-laptop:11015] [16] ./main.ia32(__modoutput_MOD_fop_open+0x1f1) [0x816a1ab]