[OMPI users] ?????? can you help me please ?thanks

2013-12-06 Thread ????
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

Re: [OMPI users] ?????? can you help me please ?thanks

2013-12-06 Thread Jeff Squyres (jsquyres)
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

Re: [OMPI users] 回复: can you help me please ?thanks

2013-12-06 Thread Bruno Coutinho
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-

Re: [OMPI users] open-mpi on Mac OS 10.9 (Mavericks)

2013-12-06 Thread Meredith, Karl
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