Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Test file to check Fortran bindings to the SZ3 library for lossy compression

License

NotificationsYou must be signed in to change notification settings

ofmla/sz3_simple_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LicenseFortranBuild Status

Fortran Bindings for SZ3 Compression Library

Overview

This repository provides Fortran bindings for theSZ3 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.

Prerequisites

Before using the SZ3 Fortran bindings, make sure you have the SZ3 library installed on your system. You can follow theinstructions from the SZ3 repository.

Testing

To build the test driver that makes use of the SZ3 Fortran bindings, follow these steps:

  1. Clone this repository:git clone https://github.com/ofmla/sz3_simple_example.git)
  2. Navigate to the repository directory:cd sz3_simple_example
  3. Modify the Makefile to include the paths to the SZ3 installed library:
  • Open the Makefile in a text editor.
  • Locate the variablesC_INCLUDE,LIBS, andRPATH.
  • SetC_INCLUDE to the directory containing the SZ3 header files (e.g.,-I/path/to/external/SZ3library/include).
  • SetLIBS to link against the SZ3 library (e.g.,-L/path/to/external/SZ3library/lib -lSZ3c).
  • SetRPATH to specify the runtime library search path (e.g.,-Wl,-rpath=/path/to/external/SZ3library/lib).
  1. Build the bindings and the test driver using the modified Makefile:make

After building the project, you can run the provided test driver to ensure that the Fortran bindings work properly.Pleasenote that the test driver requiressample data. Download the sample datafile and place it in the same directory as the test driver executable. Then, execute the following command to run the test driver:

./test_fsz3

License

This project is licensed under the BSD License - see theLICENSE file for details.

Contributing

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.

About

Test file to check Fortran bindings to the SZ3 library for lossy compression

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp