Skip to content

Sample programs demonstrating the ability to compress/decompress data on the fly when writing to or reading from a file in Fortran using named pipes (FIFOs).

Notifications You must be signed in to change notification settings

SokolAK/Fortran-Data-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortran Data Compression

Sample programs demonstrating the ability to compress/decompress data on the fly when writing to or reading from a file in Fortran using named pipes (FIFOs).

Compilation

  • Set your compiler in Makefile (ifort, gfortran or f77)
  • Run make

Usage

Writing to file

Run: ./write <N> [F] [L]
where:
N - number of lines to write to the file [required]
F - compression filter (gzip, pigz, lz4c, lzop) [optional]
L - compression level (from -1 to -9) [optional]

Data will be written to the data.* file. If no compression filter is specified, data will not be compressed.

Reading from file

Run ./read [F]
where:
F - compression filter (use the same as for writing) [optional]

About

Sample programs demonstrating the ability to compress/decompress data on the fly when writing to or reading from a file in Fortran using named pipes (FIFOs).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published