Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 930

Cannot correctly write to a file with MPI-IO and indexed type

$
0
0

Hello,

I am trying to write in a file using MPI-IO, with an indexed type used to set a view of the file (see code sample attached).
The program launch but I do not get the result I was expecting.

When I output the content of the file via "od -f TEST", I get:
0000000 0 0 1 3

But I was expecting:
0000000 0 2 1 3

I am using Intel MPI 2008 update 1 with gfortran.

Regards

AttachmentSize
Downloadapplication/octet-streamidx2.f2.02 KB

Viewing all articles
Browse latest Browse all 930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>