[gambit-list] Reading binary files

Siegfried Gonzi siegfried.gonzi at gmx.at
Tue Dec 18 05:34:07 EST 2007


Hello:

Is there an easy way in Gambit to read binary files? I have got binary files created on my desktop Linux machine with the help of IDL. The binary files are created in Fortran 77 binary format and BIG_ENDIAN mode (IDL has such a feature). I read the files from a data base with IDL and store it in big_endian Fortran 77.

I'd like to read it on my Macintosh. However, the gdl clone of idl has some problems with that particular files (I scp it from my desktop machine).

The first 3 numbers in the file are Fortran integer numbers which describe the 3d dimension of the array and the following numbers in the binary file are the content of the array.

Or do I need a C-binding?

Thanks very much,
Siegfried Gonzi
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser



More information about the Gambit-list mailing list