<div dir="ltr">I recently noticed that when I am using the fortran wrapper of HDF5 to convert a binary file written by fortran into the &quot;h5&quot; format, it automatically transposes the matrix. Apparently, this is because HDF5 uses the C convention for writing binary files, as explained in <a href="http://www.hdfgroup.org/HDF5/doc/UG/UG_frame12Dataspaces.html"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">section: 7.3.2.5. </span>of this page.</a><div>

<br></div><div style>Is anyone aware of this situation? And any solutions for this problem? How do I write the h5 file data in exactly the same way as it was written in original binary file written by Fortran?</div></div>