[OMPI devel] MPI_Send doesn't work if the data >= 2GB

2010-12-02 Thread 孟宪军
hi all,

I met a question recently when I tested the MPI_send and MPI_Recv
functions.  When I run the following codes, the  processes hanged and I
found there was not data transmission in my network at all.

BTW: I finished this test on two X86-64 computers with 16GB memory and
installed Linux.

  1 #include 
  2 #include 
  3 #include 
  4 #include 
  5
  6
  7 int main(int argc, char** argv)
  8 {
  9 int localID;
 10 int numOfPros;
 11 size_t Gsize = (size_t)2 * 1024 * 1024 * 1024;
 12
 13 char* g = (char*)malloc(Gsize);
 14
 15 MPI_Init(&argc, &argv);
 16 MPI_Comm_size(MPI_COMM_WORLD, &numOfPros);
 17 MPI_Comm_rank(MPI_COMM_WORLD, &localID);
 18
 19 MPI_Datatype MPI_Type_lkchar;
 20 MPI_Type_contiguous(2048, MPI_BYTE, &MPI_Type_lkchar);
 21 MPI_Type_commit(&MPI_Type_lkchar);
 22
 23 if (localID == 0)
 24 {
 25 MPI_Send(g, 1024*1024, MPI_Type_lkchar, 1, 1, MPI_COMM_WORLD);
 26 }
 27
 28 if (localID != 0)
 29 {
 30 MPI_Status status;
 31 MPI_Recv(g, 1024*1024, MPI_Type_lkchar, 0, 1, \
 32 MPI_COMM_WORLD, &status);
 33 }
 34
 35 MPI_Finalize();
 36
 37 return 0;
 38 }

Thanks
Jun


[OMPI devel] OPEN MPI at VxWorks now can almost work

2010-12-02 Thread 张晶
Hi Jeff ,Ralph and all,
It is a good news that just before , I compare the performance
of the VxWorks edition OPEN MPI and Linux edition OPEN MPI with Intel MPI
benchmark. The result is not bad. In the PingPong test ,Whatever the latency
and the bandwidth ,VxWorks edition behave as well as the Linux edition. Some
code still need to be reconstructed ,but I think it is not a big problem for
this edition.
I wish someday ,the VxWorks edition can be combined into the
community.
Jing Zhang


Re: [OMPI devel] OPEN MPI at VxWorks now can almost work

2010-12-02 Thread Ralph Castain
Great! Be happy to help with bringing the changes back into the code base.


On Dec 2, 2010, at 6:45 AM, 张晶 wrote:

> Hi Jeff ,Ralph and all,
> It is a good news that just before , I compare the performance of 
> the VxWorks edition OPEN MPI and Linux edition OPEN MPI with Intel MPI 
> benchmark. The result is not bad. In the PingPong test ,Whatever the latency 
> and the bandwidth ,VxWorks edition behave as well as the Linux edition. Some 
> code still need to be reconstructed ,but I think it is not a big problem for 
> this edition. 
> I wish someday ,the VxWorks edition can be combined into the 
> community.
> Jing Zhang ___
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel




[OMPI devel] 1.5.1rc2 posted

2010-12-02 Thread Jeff Squyres
A few critical bug fixes made it in; now we're at 1.5.1rc2:

http://www.open-mpi.org/software/ompi/v1.5/

Please test!

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/