Skip to content

lz4: Lossless compression utility and library

Overview of package

Package: lz4
Description: Lossless compression utility and library
For more information: http://lz4.github.io/lz4/
Categories: DataCompression
License: OpenSource (BSD 2-Clause)

General Usage

lz4 is a high-speed lossless compression algorithm and utility library, and file format based

This module will add the lz4, lz4c, lz4cat, and unlz4 commands to your path.

In case you need to link against this library in your code, the following environmental variables have been defined:

  • $LZ4_ROOT has been set to the root of the lz4 installation
  • $LZ4_LIBDIR points to the directory containing the libraries
  • $LZ4_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$LZ4_INCDIR

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

  • -L$LZ4_LIBDIR -Wl,-rpath,$LZ4_LIBDIR

Available versions by cluster

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

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
1.9.2 1.9.2 zen Yes
1.9.4 1.9.4 icelake, x86_64, zen2 Yes
1.9.3 1.9.3 zen2 Yes