On Thu, May 17, 2007 at 06:01:05PM -0700, Ekow Otoo wrote:
> Hi,
> I am wondering if mpi-io collective I/O functions
> such as MPI_File_write_ordered(), MPI_File_read_ordered(),
> MPI_File_seek_shared(), etc., work correctly on pvfs2 files.

PVFS does not (yet) support shared or ordered mode (or atomic mode for
that mattter).   ROMIO will disable atomic mode, shared file ponters,
and ordered mode for any file system that does not support file
locking.

> Attached is a little program that is trying to check it.
> It compiles OK but the shared
> file pointer does not appear to change when accessing a PVFS2 file.
> Can you easily identify what is wrong.

Your test case only checks the return value of MPI_File_open, but if
you were to print the result of MPI_Error_string, you should see a
message to that effect.   

We've got some prototypes in ROMIO that use RMA one-sided operations
instead of file locks, but they need a bit more work

==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Lab, IL USA                 B29D F333 664A 4280 315B
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to