Here is my code:
int*a=(int*)malloc(sizeof(int)*number);
MPI_Send(a,number, MPI_INT, 1, 1,MPI_COMM_WORLD);
int*b=(int*)malloc(sizeof(int)*number);
MPI_Recv(b, number, MPI_INT, 0, MPI_ANY_TAG, MPI_COMM_WORLD, &status);
number here is the size of my array(eg,a or b).
I have try it on
I sent you some further questions yesterday:
http://www.open-mpi.org/community/lists/users/2013/12/23158.php
On Dec 6, 2013, at 1:35 AM, <781578...@qq.com> wrote:
> Here is my code:
> int*a=(int*)malloc(sizeof(int)*number);
> MPI_Send(a,number, MPI_INT, 1, 1,MPI_COMM_WORLD);
>
> int
Probably it was the changing from eager to rendezvous protocols as Jeff
said.
If you don't know what are these, read this:
https://computing.llnl.gov/tutorials/mpi_performance/#Protocols
http://blogs.cisco.com/performance/what-is-an-mpi-eager-limit/
http://blogs.cisco.com/performance/eager-limits-
So, I tried out the flag that you mentioned would force the use of loopback
interface. It worked without error or stalling:
$ )mpirun --mca oob_tcp_if_include lo0 -np 2 ./hello_cxx
Hello, world! I am 0 of 2(Open MPI v1.7.3, package: Open MPI
macpo...@meredithk-mac.corp.fmglobal.com Distributio