This repository provides Fortran bindings for the SZ3 lossy compression library, allowing seamless integration of SZ3 compression capabilities into Fortran projects. The repository includes a test driver to check the correctness and functionality of the Fortran bindings.
Before using the SZ3 Fortran bindings, make sure you have the SZ3 library installed on your system. You can follow the instructions from the SZ3 repository.
To build the test driver that makes use of the SZ3 Fortran bindings, follow these steps:
git clone https://github.com/ofmla/sz3_simple_example.git)
cd sz3_simple_example
C_INCLUDE
, LIBS
, and RPATH
.C_INCLUDE
to the directory containing the SZ3 header files (e.g., -I/path/to/external/SZ3library/include
).LIBS
to link against the SZ3 library (e.g., -L/path/to/external/SZ3library/lib -lSZ3c
).RPATH
to specify the runtime library search path (e.g., -Wl,-rpath=/path/to/external/SZ3library/lib
).make
After building the project, you can run the provided test driver to ensure that the Fortran bindings work properly. Please note that the test driver requires sample data. Download the sample data file and place it in the same directory as the test driver executable. Then, execute the following command to run the test driver:
This project is licensed under the BSD License - see the LICENSE file for details.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4