Skip to content

lsawade/GF3DF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortran bindings to read GF3D produced Subset files

Make sure the HDF5_ROOT variable is set.

export HDF5_ROOT=/path/to/hdf5

cmake will automatically find the include dirs and libraries related to the HDF5 installation.

Then, you can build the package using

cd /path/to/gf3df/
cmake -S . -B build
cmake --build build

For using the modules in your own package add /path/to/gf3df/build/include to your compilation and in fortran you should be able to just use gf3d.

Building with HDF5

export HDF5_ROOT="/home/lsawade/ph5py-testing/hdf5/build/phdf5"

# For now add some debugging flags
export FFLAGS="-Og -g -Wall -Wextra -pedantic -fimplicit-none -fcheck=all -fba
cktrace"

rm -rf build && \
    cmake -S . -B build && \
    cmake --build build && \
    ./build/bin/gf3d single_element.h5

Just building and running

cmake --build build && ./bin/gf3d single_element.h5

About

GF3D fortran bindings for reading subsets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published