Re: [OMPI users] any deadlocks in this sets of MPI_send and MPI_recv ?

2013-09-14 Thread Huangwei
Hi Jeff, Thank you very much. About the QRECS, it is an allocatable array, and it is introduced like: if(myrank .ne. 0) then itag = myrank call mpi_send(Q.., 0, itag, .) else do i=1, N-1 allocate (QRECS(A(i))) itag = i call m

Re: [OMPI users] any deadlocks in this sets of MPI_send and MPI_recv ?

2013-09-14 Thread Jeff Squyres (jsquyres)
At first glance, your code doesn't look problematic. First thing I'd check is ensure that QRECS is large enough to hold the incoming data (i.e., that you aren't overwriting the buffer and causing memory corruption, which can cause weird/unexplained faults like this). Also, you might well be ab

Re: [OMPI users] adding library (libmpi_cxx.so.1)

2013-09-14 Thread Jeff Squyres (jsquyres)
On Sep 13, 2013, at 10:44 PM, amirreza Hashemi wrote: > Sorry about that, actually I am not sure what more exactly I can provide > here, I am using openmpi 1.5.4-3.fc16.x86_64 with fedora machine, I installed > that on yum install openmpi command. But when I am trying to make connection > wit