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
|