Hello,
I install SZ in this way
-
-
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=[INSTALL_DIR]
-
-
Then
cd example .
I need to use SZ API in my project.
If I use this command to compress the .dat file, it works correctly :
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.dat 8 8 128
Or
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.dat 8192
My problem I can't use txt file as input, if I use
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.txt 8 8 128
I got on Failed to open input file
Error: file testdata/x86/testdouble_8_8_128.txt 8 8 128 cannot be read.
Now I have two question:
1- How can I use txt file as input?
2- How can run (.c) program?
because I need to run (testdouble_compress.c) as .c file
Any help please?
Thanks,
Hello,
I install SZ in this way
Then
cd example .
I need to use SZ API in my project.
If I use this command to compress the .dat file, it works correctly :
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.dat 8 8 128
Or
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.dat 8192
My problem I can't use txt file as input, if I use
./testdouble_compress sz.config testdata/x86/testdouble_8_8_128.txt 8 8 128
I got on Failed to open input file
Error: file testdata/x86/testdouble_8_8_128.txt 8 8 128 cannot be read.
Now I have two question:
1- How can I use txt file as input?
2- How can run (.c) program?
because I need to run (testdouble_compress.c) as .c file
Any help please?
Thanks,