Re: [OMPI users] MPI-IO, providing buffers

2009-12-19 Thread Ricardo Reis
On Sat, 19 Dec 2009, Jeff Squyres wrote: No, sorry -- there are no "buffered" variants of the MPI_FILE_* functions like there are with point-to-point communications. So when you do MPI_FILE_WRITE (for example), it'll be directly using the buffer that you pass to it (which is almost always wha

Re: [OMPI users] MPI-IO, providing buffers

2009-12-19 Thread Jeff Squyres
No, sorry -- there are no "buffered" variants of the MPI_FILE_* functions like there are with point-to-point communications. So when you do MPI_FILE_WRITE (for example), it'll be directly using the buffer that you pass to it (which is almost always what you want, anyway -- "buffered" modes of c

[OMPI users] MPI-IO, providing buffers

2009-12-17 Thread Ricardo Reis
Hi all I have a doubt. I'm starting using MPI-IO and was wondering if I can use the MPI_BUFFER_ATTACH to provide the necessary IO buffer (or will it use the array I'm passing the MPI_Write...??) many thanks, Ricardo Reis 'Non Serviam' PhD candidate @ Lasef Computational Fluid Dynam