Hello, For several years I have successfully used MPIIO in a Fortran global atmospheric ensemble data assimilation system. However, I always wondered if I was fully exploiting the power of MPIIO, specifically by using derived data types to better describe memory and file data layouts. All of my IO has been using elementary data types, e.g. mpi_real, mpi_integer, for file 'datatype's, and numerous references suggest that datatypes of derived data types could improve IO performance.
Attached is a KSH script with an included fortran program of a very simple example of what I am now doing successfully, and poses the question why doesn't my attempt with a derived data type work. The fortran program is well commented to explain each step. I run the script on a 4 core linux workstation, and the example is setup for that system. On a similar system just 'chmod' the script executable and run it. The script will compile amd execute the program . It should first show printed output from successful IO using my current approach, and then aborts when trying my derived data type test. What am I doing wrong? Any advice is appreciated. I am running OpenMpi 1.8.1 with Intel fortran, Version 12.0.3.174 T. Rosmond
chkio.ksh
Description: application/shellscript