File: README.md

package info (click to toggle)
fpzip 1.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 288 kB
  • sloc: cpp: 1,461; ansic: 488; makefile: 74
file content (112 lines) | stat: -rw-r--r-- 3,018 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
fpzip
=====

INTRODUCTION
------------

fpzip is a library and command-line utility for lossless and optionally lossy
compression of 2D and 3D floating-point arrays.  fpzip assumes spatially
correlated scalar-valued data, such as regularly sampled continuous functions,
and is not suitable for compressing unstructured streams of floating-point
numbers.  In lossy mode, fpzip discards some number of least significant
mantissa bits and losslessly compresses the result.  fpzip currently supports
IEEE-754 single (32-bit) and double (64-bit) precision floating-point data.
fpzip is written in C++ but has a C compatible API that can be called from
C and other languages.  It conforms to the C++98 and C89 language standards.

fpzip is released as Open Source under a three-clause BSD license.  Please
see the file LICENSE for further details.


INSTALLATION
------------

### CMake builds

fpzip was developed for Linux and macOS but can be built on Windows using
[CMake](https://cmake.org).  To use CMake, type:

    cd fpzip
    mkdir build
    cd build
    cmake ..
    cmake --build . --config Release

fpzip can be configured using compile-time options, e.g.:

    cmake .. -DFPZIP_FP=FPZIP_FP_SAFE -DBUILD_UTILITIES=OFF

To display the available options, type:

    cmake .. -L

Basic regression testing is available:

    ctest -V -C Release

### GNU builds

fpzip may also be built using [GNU make](https://www.gnu.org/software/make/):

    cd fpzip
    gmake

This builds lib/libfpzip.a and bin/fpzip.

The GNU make options are listed in the file Config and should preferably be
set on the command line, e.g.:

    gmake FPZIP_FP=FPZIP_FP_SAFE BUILD_UTILITIES=0

To run the regression tests, type:

    gmake test


DOCUMENTATION
-------------

Documentation is currently limited to the source files themselves.  For
information on the API, please see the header file include/fpzip.h.  For an
example of how to call fpzip, please see the source file utils/fpzip.cpp.
This utility may be used to compress binary files of raw floating-point
numbers.  Usage is given by:

    fpzip -h


AUTHOR
------

fpzip was written by [Peter Lindstrom](https://people.llnl.gov/pl) at
Lawrence Livermore National Laboratory.


CITING fpzip
------------

If you use fpzip for scholarly research, please cite the following paper:

    Peter Lindstrom and Martin Isenburg
    "Fast and Efficient Compression of Floating-Point Data"
    IEEE Transactions on Visualization and Computer Graphics, 12(5):1245-1250, 2006


LICENSE
-------

fpzip is distributed under the terms of the BSD license.  See the files
[LICENSE](https://github.com/LLNL/fpzip/blob/master/LICENSE) and
[NOTICE](https://github.com/LLNL/fpzip/blob/master/NOTICE) for details.

`SPDX-License-Identifier: BSD`

``LLNL-CODE-764017``


QUESTIONS AND COMMENTS
----------------------

For questions and comments, please contact us at fpzip@llnl.gov.
Please submit bug reports and feature requests via the GitHub
[issue tracker](https://github.com/LLNL/fpzip/issues).