Re: [OMPI users] Problem with MPI_Request, MPI_Isend/recv and MPI_Wait/Test

2011-05-20 Thread David Büttner
MPI standard regarding to MPI_Init_thread for more details. Regards, george. On May 19, 2011, at 02:34 , David Büttner wrote: Hello, I am working on a hybrid MPI (OpenMPI 1.4.3) and Pthread code. I am using MPI_Isend and MPI_Irecv for communication and MPI_Test/MPI_Wait to check if it is d

[OMPI users] Problem with MPI_Request, MPI_Isend/recv and MPI_Wait/Test

2011-05-19 Thread David Büttner
t have to call free and malloc each time? Thank you very much for your help! Kind regards, David Büttner _ Pseudo-Code of program: MPI_Request* req_s; MPI_Request* req_w; OUTER-LOOP if(0 == threadid) { req_s = malloc(sizeof(MPI_Request)); req_r = ma