> Hi,
> 
> Thanks for the reply. But this can not solve the problem.

Not sure if this was not your intended meaning (using "can not" instead of "did 
not"), but did you try it?

> The output indicate that both nodes hang at the second MPI_Wait, and
> no one can reaches the MPI_Finalize.

Flushing the output from stdout and having it make it back to the terminal is a 
little uncertain when one or more processes hangs or terminate abnormally.  You 
cannot rely upon completion in this case (someone correct me if I am wrong 
here).

-bill



> >> >> ***********************************************
> >> >> Hello from processor 0 of 2
> >> >>
> >> >> Received one message
> >> >>
> >> >> Hello from processor 1 of 2
> >> >>
> >> >> Sent one message
> >> >> *******************************************************
> 
> Any other thoughts or suggestions?
> Thanks!
> 
> Kong
> 



Reply via email to