[OMPI users] Question on MPI_Reduce_scatter limit

2012-10-19 Thread William Au
Dear all, I am using openmpi 1.6 on linux. I have a question on MPI_Reduce_scatter. I try to see how large the data can push through MPI_Reduce_scatter using the following code. size = (long) 1024*1024*1024*4; for(k=1;k<=16;++k) { bufsize = k*size/16; for(i=0;i

Re: [OMPI users] 2 GB limitation of MPI_File_write_all

2012-10-19 Thread Gus Correa
Hi Eric Have you tried to create a user-defined MPI type (say MPI_Type_Contiguous or MPI_Type_Vector) and pass them to the MPI function calls, instead of MPI_LONGs? Then you could use the new type and the new number (i.e., an integer number smaller than "size", and smaller than the maximum

[OMPI users] 2 GB limitation of MPI_File_write_all

2012-10-19 Thread Eric Chamberland
Hi, I get this error when trying to write 360 000 000 000 MPI_LONG: with Openmpi-1.4.5: ERROR Returned by MPI_File_write_all: 35 ERROR_string Returned by MPI_File_write_all: MPI_ERR_IO: input/output error with Openmpi-1.6.2: ERROR Returned by MPI_File_write_all: 13 ERROR_string Returned by