Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GiDPost can be build as library to be linked into the calculation program or as python module (look into As python module ).

This page explains how to build gidpost as library to be linked to you program.

 Third part libraries:

  • zlib: it is necessary previously obtain or compile the zlib compression library (www.zlib.net)
  • hdf5: this library is optional www.hdfgroup.org. Required only to write postprocess files with this format (files opened with GiD_PostHDF5=3 flag)

...

Code Block
apt-get install zlib1g-dev libhdf5-serial-dev
apt install python3 swigdev libhdf5-hl-100   ;# version number depends on linux distribution and version
apt-get install hdf5-tools hdf5view                     ;# recommended tools to manage and look into hdf5 files

Scientific Linux (Redhat and the like):

Code Block
yum install zlib-devel.x86_64 hdf5-devel.x86_64
yum install python3.x86_64 swig.x86_64


Note:
Bear in mind that there are several hdf5 development packages and that you should choose the right for you.
For instance, in Ubuntu these are the HDF5 development packages available:

Code Block
libhdf5-mpi-dev
libhdf5-mpich-dev
libhdf5-openmpi-dev
libhdf5-serial-dev     ;# by default the package 'libhdf5-dev' installs the -serial version


And in Scientific Linux the HDF5 development packages available:

...