Lahey and Fujitsu File Formats


The Header Array files used by GEMPACK are stored on disk in a special format compatible with the Lahey Fortran compilers.

Unfortunately, Lahey decided to change this disk-file format, to the great inconvenience of its customers. So now there are two special formats:

the old format, which we call Lahey, is compatible with the F77L3-EM32 and LF90 compilers.

the new format, which we call Fujitsu, is compatible with the LF95 compiler (which is really produced by Fujitsu).

ViewHAR opens either style. A tiny panel at bottom right indicates the type of the currently open file. It shows blue for Lahey files, and green for Fujitsu files.

Which format is used when you save a HAR file to disk? That depends on 2 settings in the File..Options dialog:

1) You can set your preferred file type to Fujitsu or Lahey. The preferred file type is used when you create a new HAR file within ViewHAR or when you read in a GEMPACK text file. Your preferred file type should probably be Fujitsu, unless you are still using the LF90 compiler.

2) You can force all files that you write to be of your preferred file type. If you do not select this option the file will be saved in its current format.

The options enable ViewHAR to convert in either direction. If you have to convert a lot of files, you should download the utility ConvHAR from the GEMPACK web pages.

You can have ViewHAR warn you if you open a HAR which is not your preferred file type. Use the File..Options dialog to control this.

See also More details on Lahey file formats and compilers.

Notes: LF95 for Linux, GFortran, and the Intel compilers use the same (Fujitsu) file format as LF95 for Win32. The Executable Image (GEMSIM) edition of GEMPACK contained LF90 EXE files up to GEMPACK 8, LF95 thereafter.



URL of this topic: www.copsmodels.com/webhelp/viewhar/hc_binaryformat.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage