Ruth Klundt - 2010-08-02

Your suggested patch results in a compile warning:
aiori-MPIIO.c:322: warning: passing argument 1 of ‘MPI_File_sync’ from incompatible pointer type

Maybe you mean this instead:
MPI_File_sync(*(MPI_File *)fd);

I'll give it test when I have a chance...