szcompressor / SZ

Error-bounded Lossy Data Compressor (for floating-point/integer datasets)
http://szcompressor.org
Other
155 stars 56 forks source link

Don't compress code example #113

Closed witoriamanuely closed 1 year ago

witoriamanuely commented 1 year ago

HI, I'm from Brazil and I wanted to use your API as work related to my research on lossy algorithms but I can't run the example files and I would like some help because the examples found in the readme were not enough, follow the command line and the associated error I'm having:

~/SZ/example$ ./testdouble_CompDecomp.sh /testdata/testdouble_8_8_128.txt 8 8 8 128
./testdouble_CompDecomp.sh: line 43: ./queryVarList: No such file or directory
complete
robertu94 commented 1 year ago

Hi @witoriamanuely. I'm guessing that command is provided by Z-Checker and isn't intended to be used outside of CI. That isn't however how we often call SZ, we instead use the command line directly. On this website, you can find several benchmark datasets, and example commands with the actual SZ CLI to use them.

You may also be interested in LibPressio which provides an abstraction over SZ and several other leading lossy compressors. LibPressio is easy to install via Spack, or anaconda if you use Python , and has a robust tutorial text and matching video tutorial