Skip to content

How to run SZ API code #114

@clodiamery

Description

@clodiamery

Hello,
I install SZ in this way

  1. mkdir build && cd build
    
  2. cmake .. -DCMAKE_INSTALL_PREFIX:PATH=[INSTALL_DIR]
    
  3. make
    
  4. make install
    

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions