[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fortran Binary files AMD64 x i686



On Tue, Oct 11, 2005 at 10:57:54AM -0400, Justin Pryzby wrote:
> On Tue, Oct 11, 2005 at 04:28:50PM +0200, Enrico Zini wrote:
> > If you are talking about data files rather than program files, you have
> > the extra option of changing the program to save the data in a way
> > (such as HDF or ASCII) that is independent from the architecture.
> Or defining the data format to be big endian or little endian, or
> including in the file format an indication of which end is first.
> Then do conditional byteswapping to read the data in the right order.

In this case (AMD64/P4) the most important thing to check is the size of
the data: integers, for example, could be 64 bits in the AMD64 and is 32
bits on the P4.

Ciao,

Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: