Skip to content

[SZ] [package list]

SZ/2.1.12.5-cpeGNU-24.03 (SZ-2.1.12.5-cpeGNU-24.03.eb)

Install with the EasyBuild-user module:

eb SZ-2.1.12.5-cpeGNU-24.03.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider SZ/2.1.12.5-cpeGNU-24.03.

EasyConfig:

# Based on a easyconfig by the Juelich Supercomputing Centre
# Adapted for LUMI by Orian Louant

easyblock = 'CMakeMake'

local_zlib_version =         '1.3.1'         # https://zlib.net/

local_SZ_version =           '2.1.12.5'       # https://github.com/szcompressor/SZ/releases

name =    'SZ'
version = local_SZ_version

homepage = 'https://szcompressor.org'

whatis = ['SZ is a modular parametrizable lossy compressor framework for scientific data']

description = """
 SZ is a modular parametrizable lossy compressor framework for scientific data
 (floating point and integers). It has applications in simulations, AI and
 instruments. It is a production quality software and a research platform for
 lossy compression.

 SZ can be used for classic use-cases: visualization, accelerating I/O,
 reducing memory and storage footprint and more advanced use-cases like
 compression of DNN models and training sets, acceleration of computation,
 checkpoint/restart, reducing streaming intensity and running efficiently large
 problems that cannot fit in memory. Other use-cases will augment this list as
 users find new opportunities to benefit from lossy compression of scientific
 data.
"""

software_license_urls = ['https://github.com/szcompressor/SZ/blob/master/copyright-and-BSD-license.txt']

toolchain = {'name': 'cpeGNU', 'version': '24.03'}
toolchainopts = {'pic': True}

github_account = 'szcompressor'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['32a820daf6019156a777300389d2392e4498a5c9daffce7be754cd0a5ba8729c']

builddependencies = [
    ('buildtools',          '%(toolchain_version)s', '', True),
    ('craype-network-none', EXTERNAL_MODULE),
    ('craype-accel-host',   EXTERNAL_MODULE),
]

dependencies = [
    ('zlib',        local_zlib_version),
    ('cray-hdf5',   EXTERNAL_MODULE),
    ('cray-netcdf', EXTERNAL_MODULE),
]

preconfigopts = 'module rm rocm cray-libsci && '
prebuildopts = preconfigopts

configopts = ' '.join([
    '-DBUILD_FORTRAN=ON',
    '-DBUILD_HDF5_FILTER=ON',
    '-DBUILD_NETCDF_READER=ON',
    '-DBUILD_OPENMP=ON',
])


sanity_check_paths = {
    'files': ['lib/libSZ.%s' % SHLIB_EXT],
    'dirs': ['include', 'lib'],
}

moduleclass = 'data'

[SZ] [package list]