Skip to content

zlib: General purpose, patent-free compression ibrary

Overview of package

Package: zlib
Description: General purpose, patent-free compression ibrary
For more information: http://zlib.net
Categories: SoftwareDevelopment
DataCompression
License: OpenSource (Zlib License)

General Usage

zlib is a general purpose, patent-free, lossless compression library.

The following environmental variables have been defined:

  • $ZLIB_ROOT has been set to the root of the zlib installation
  • $ZLIB_LIBDIR points to the directory containing the libraries
  • $ZLIB_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$ZLIB_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$ZLIB_LIBDIR -Wl,-rpath,$ZLIB_LIBDIR

Available versions by cluster

This section lists the available versions of the package zlibon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
1.2.12 1.2.12 zen, zen2 Yes
1.2.13 1.2.13 icelake, x86_64, zen2 Yes