[mvapich-discuss] No asynchronous progress in mvapich2.

Ziaul Haque Olive mzh.olive at gmail.com
Sat Apr 14 19:04:52 EDT 2012


Hello,

I ran a mpi (one-sided communication) program with 2 processes. process 1
is in infinite loop and process 0 is trying to put some values on process
1's window, using lock/unlock mechanism. finally process-0 calls MPI_Abort.
But the program does not stop running. Following is my code snippet,

 29        if( id == 0 ){
 30
 31                 MPI_Win_lock( MPI_LOCK_EXCLUSIVE, 1, 0, win );
 32                 MPI_Put( send_buf, 10, MPI_INT, 1, 0, 10, MPI_INT, win
);
 33                 MPI_Win_unlock( 1, win );
 34
 35                 MPI_Abort(MPI_COMM_WORLD, 1);
 36         }
 37
 38         else if( id == 1 ){
 39
 40                 while(1){
 41                         i = 1;
 42                 }
 43         }

It seems process-0 is stuck in lock/unlock section of the code.


Thanks,
Ziaul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20120414/2c9185c5/attachment.html


More information about the mvapich-discuss mailing list