Re: [OMPI users] openMPI asychronous communication

2010-06-28 Thread Jack Bryan
thanks I know that. MPI_irecv() ; do other works; MPI_wait(); But, my message receiver is much slower than sender. when the sender is doing its local works, the sender has sent out their messages. but at this time, the sender is very busy doing its local work and cannot post MPI_irecv to get

Re: [OMPI users] Unable to include mpich library

2010-06-28 Thread Srinivas Gopal
I have used the wrapper compilers ($FC=mpif90 and $CC=mpicc), even then i was getting these errors. Anyway I used -lmpi in place of -lmpich and the build was successful. Thanks a lot for your help :) Cheers, Srinivas On Fri, Jun 25, 2010 at 5:19 PM, Jeff Squyres wrote: > On Jun 25, 2010, at 4:1

Re: [OMPI users] Unable to include mpich library

2010-06-28 Thread Reuti
Hi, Am 28.06.2010 um 08:10 schrieb Srinivas Gopal: I have used the wrapper compilers ($FC=mpif90 and $CC=mpicc), even then i was getting these errors. Anyway I used -lmpi in place of - lmpich and the build was successful. Thanks a lot for your help :) I saw makefiles, where the compilers (i

[OMPI users] MPI Persistent Communication Question

2010-06-28 Thread amjad ali
Hi all, I observed MPI_ISEND & IRECV performing little better than persistenent communication; although I was hoping/desiring the opposite case?? What is the be the best way of using MPI persistent communication in an iterative/repetative kind of code about calling MPI_Free(); Should we call MPI

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread Jeff Squyres
On Jun 28, 2010, at 4:03 AM, amjad ali wrote: > (1) > Call this subroutines 1000 times > = > call MPI_RECV_Init() > call MPI_Send_Init() > call MPI_Startall() > call MPI_Free() > = > > (2)

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread amjad ali
Hi Jeff S. Thank you very much for your reply. I am still feeling some confusion. Please guide. The idea is to do this: > >MPI_Recv_init() >MPI_Send_init() >for (i = 0; i < 1000; ++i) { >MPI_Startall() >/* do whatever */ >MPI_Waitall() >} >for (i = 0;

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread Eugene Loh
amjad ali wrote: Hi   Jeff S. Thank you very much for your reply. I am still feeling some confusion. Please guide.  The idea is to do this:    MPI_Recv_init()    MPI_Send_init()    for (i = 0; i < 1000; ++i) {        MPI_Startall()        /* do whatever */        MPI_Waitall

Re: [OMPI users] openMPI asychronous communication

2010-06-28 Thread David Zhang
Use MPI_Iprobe. It's a nonblocking probe that allow you to see if a message is coming. So in your receiver code you just periodically probe to see if messages are coming your way. On Sun, Jun 27, 2010 at 9:11 PM, Jack Bryan wrote: > thanks > > I know that. > > MPI_irecv() ; > > do other works

[OMPI users] Any example for noncrashing bugs in MPI applications

2010-06-28 Thread Bowen Zhou
Hi, I am developing a runtime detector for noncrashing bugs in MPI applications. It is capable of collecting MPI communication and diagnose if a node is abnormal based on its communication with other nodes. Therefore, it is highly desirable to have a couple of noncrashing bugs from real-life

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread amjad ali
> > You would break the MPI_Irecv and MPI_Isend calls up into two parts: > MPI_Send_init and MPI_Recv_init in the first part and MPI_Start[all] in the > second part. The first part needs to be moved out of the subroutine... at > least outside of the loop in sub1() and maybe even outside the > 1000

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread Eugene Loh
amjad ali wrote: You would break the MPI_Irecv and MPI_Isend calls up into two parts:  MPI_Send_init and MPI_Recv_init in the first part and MPI_Start[all] in the second part.  The first part needs to be moved out of the subroutine... at least outside of the loop in sub1() and maybe

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread amjad ali
Dear E. Loh. ** > > > Another is whether you can overlap communications and computation. This > does not require persistent channels, but only nonblocking communications > (MPI_Isend/MPI_Irecv). Again, there are no MPI guarantees here, so you may > have to break your computation up and insert MP

Re: [OMPI users] openMPI asychronous communication

2010-06-28 Thread amjad ali
I guess that if the receiver want to ensure that the sender should send data only when the receiver will be able/free to receive data, then use MPI-Barriers. On Mon, Jun 28, 2010 at 12:53 PM, David Zhang wrote: > Use MPI_Iprobe. It's a nonblocking probe that allow you to see if a > message i

Re: [OMPI users] MPI Persistent Communication Question

2010-06-28 Thread Eugene Loh
amjad ali wrote: Dear E. Loh. Another is whether you can overlap communications and computation.  This does not require persistent channels, but only nonblocking communications (MPI_Isend/MPI_Irecv).  Again, there are no MPI guarantees here, so you may have to break your computatio

[OMPI users] Open MPI ERR_TRUNCATE: message truncated

2010-06-28 Thread Jack Bryan
Dear All, I am using Open MPI : mpirun (Open MPI) 1.3.4 I got error: terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' what(): MPI_Test: MPI_ERR_TRUNCATE: message truncated I installed boost MPI library and compile and run the program by openMPI. It see