Re: [OMPI users] MPI_File_Read_all and large file

2011-03-02 Thread Gus Correa
Ricardo Reis wrote: On Wed, 2 Mar 2011, Gabriele Fatigati wrote: Dear OpenMPI users and developers, i'm using OpenMPI 1.4.3. My question is about MPI_FIle_Real_all routine and files larger than 4 GB. Is this routine able to manage this case? Using the routine with 6 GB file the routine fai

Re: [OMPI users] MPI_File_Read_all and large file

2011-03-02 Thread Massimo Cafaro
Hi Gabriele, MPI_File_read_all() fails because you are probably trying to read more bytes than allowed by an int. See the function's signature: int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) the count parameter is an int, so its maximum va

Re: [OMPI users] MPI_File_Read_all and large file

2011-03-02 Thread Ricardo Reis
On Wed, 2 Mar 2011, Gabriele Fatigati wrote: Dear OpenMPI users and developers, i'm using OpenMPI 1.4.3. My question is about MPI_FIle_Real_all routine and files larger than 4 GB. Is this routine able to manage this case? Using the routine with 6 GB file the routine fails, retrieving an alloc