Skip to content

CODARcode/cuZ-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8258eef · Oct 11, 2023

History

40 Commits
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Oct 11, 2023
Dec 21, 2020
Dec 21, 2020
Oct 11, 2023
Dec 21, 2020
Jan 2, 2021
Feb 16, 2021
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 13, 2021
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Dec 21, 2020
Oct 11, 2023
Dec 21, 2020

Repository files navigation

cuZ-checker

This is the cuda GPU version of Z-checker (https://github.com/CODARcode/Z-checker), a library to characterize the data and check the compression results of lossy compressors. If you want to use the CPU/MPI version, please download Z-checker: https://github.com/CODARcode/Z-checker. If you want to install Z-checker (CPU version) and its dependencies with one simple command, you can use z-checker-installer (https://github.com/CODARcode/z-checker-installer)

Prerequisites

cmake >= 3.19
CUDA toolkit >= 10.0 with samples/common/inc

How to install

Under the cuZ-checker directory:

mkdir build
cd build
cmake ../
make -j8

How to run

Assuming your original 3D (100*500*500) data is foo.dat, the compressed data is foo.dat.sz, and the decompressed data is foo.dat.sz.out. They all are under cuZ-checker/example/Datasets.
To perform the measurements, enter cuZ-checker/example and first run data property analysis:

./analyzeDataProperty foo -f zc.config Datasets/foo.dat 500 500 100

Then conduct the comperisons between the original and decompressed data:

./compareDataSets -f zc.config "SZ(1E-3)" foo Datasets/foo.dat Datasets/foo.dat.sz.out 500 500 100

Note that "SZ(1E-3)" is the error bound that should be consistent with the compressor.
zc.config is changable that controls the measurement settings.