PGI Guide to SZIP

This guide is intended to help build the SZIP package for Linux using PGI 2012 compilers.

Version Information

This guide was created for SZIP release 2.1 compiled using the PGI 2012 compilers. This information is for both x64 processors running 64-bit Linux and x86 processors running 32 bit Linux.

Application Notes

Information about SZIP can be found on the SZIP website. From the SZIP home page:

"Szip compression software, providing lossless compression of scientific data, has been provided with HDF software products as of HDF5 Release 1.6.0 and HDF4 Release 2.0. Szip is an implementation of the extended-Rice lossless compression algorithm. The Consultative Committee on Space Data Systems (CCSDS) has adopted the extended-Rice algorithm for international standards for space applications "

Obtaining the Source Code

The SZIP source code is available from the SZIP website referenced above. You may want to check there for recent updates.


SZIP can be used as a compression component in HDF5

Building, Testing and Installing SZIP

  1. Untar the SZIP package:

      tar -xvzf szip-2.1.tar.gz
      cd szip-2.1
  2. Configure SZIP:

      env CC=pgcc ./configure --prefix=/usr/local
  3. Build the code:

      make >& make.log
      make check >& make_check.log
  4. Finally, install the results.

      sudo make install

Known Issues and Limitations


Click me