If everything is working as it should, just download the library, unzip it:
tar xzf libfgz-0.2.tar.gztype
cd libfgz-0.2and
makeand the library should be created.
To compile your program now use the following command:
f77 [program.f] -L-lfgz -lz
I am very grateful for the developers of SIMDET, from which I stole these routines. A reference for the library can be found in the different source files.
This version can read from and write to gzip-files. There are routines for both binary and ascii data.
The library has been tested (and worked) on Linux.
Good luck with it, and let me know if you find this useful/waste of sweat or if you have some great ideas, problems, etc.
John Donners
johndon (at) wanadoo (dot) nl