LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Christopher G. Roberts (croberts_at_[hidden])
Date: 2006-08-04 18:24:43


Dear Sirs:

I have successfully implemented a parallel write to file using the Fortran subroutine, MPI_FILE_WRITE() and using the MPI_FILE_SET_VIEW to displace the file pointers for each processor. The file output contains all integers and is unformmatted. The issue is that I cannot open the file in a typical Fortran program because the file does not contain the "headers" and "tails" values common to a Fortran unformatted file. The worst part is I have all my analysis codes written in F90.

Is there any way I can overcome this problem or do I have to write a C function to open the data file, read it to a 1D array, pass it back to Fortran by reference, and unpack it in column major order?

If you need me to send a schematic of this issue, please let me know.

Thanks for your time,

Chris Roberts