Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in
S
src
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • H5hut
  • src
  • Wiki
    • Installation
  • Installation

Installation

Last edited by gsell Oct 20, 2017
Page history

Back to home page

Build and install H5hut

Quickstart for the impatient

  1. Requirements

    • autotools (libtool, automake, autoconf >= 2.60)

    • C compiler supporting C99 (for example GCC >= 4.5)

    • MPI for parallel version (for example openmpi)

    • HDF5 >= 1.8.x

    • (optional) VTK to convert triangle or tetrahedral meshes from legacy VTK format to H5hut’s mesh format

  2. Run autotools

     ./autogen.sh
  3. Configure

    For the serial implementation
     ./configure
    For the parallel implementation configure with
     ./configure --enable-parallel
    • If you want to build Fortran bindings, add --enable-fortran to the configure line.

    • If you use a MPI implementation which is not in one of the standard directories, specify the installation prefix with --with-mpi=MPI_PREFIX.

    • If your HDF5 installation is not installed in one of the standard directories, specify the installation prefix with --with-hdf5=HDF5_PREFIX.

    • The default installation prefix is /usr/local. If you want to install H5hut with another prefix, specify it with --prefix=H5HUT_PREFIX.

  4. Build

    To build H5hut run

    make
  5. Run Regression Tests (optional)

    Run

    make test
  6. Install

    To install H5hut, run

    make install

Details for H5hut Configure and Build

Configure Options

--prefix=PREFIX

Install architecture-independent files in PREFIX. Default = /usr/local.

--exec-prefix=EPREFIX

Install architecture-dependent files in EPREFIX. Default = PREFIX.

--enable-debug

Compile with debug flags. Default = no.

--enable-c

Compile the C API. Default = yes.

--enable-fortran

Compile the Fortran API. Default = no.

--enable-parallel

Compile the MPI/IO interface. Default = no.

--with-hdf5

Path to HDF5 installation. Default = "".

--with-mpi

Path to MPI installation. Default = "".

--with-lustre

Path to Lustre user API. Default = "".

Environment Variables for Configure ==

CC

C compiler command

CFLAGS

C compiler flags

LDFLAGS

Linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir>

LIBS

Libraries to pass to the linker, e.g. -l<library>

CPPFLAGS

C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir>

CXX

C++ compiler command

CXXFLAGS

C++ compiler flags

CPP

C preprocessor

CXXCPP

C++ preprocessor

FC

Fortran compiler command

FCFLAGS

Fortran compiler flags

Clone repository
  • Home
  • Documentation
    • API Changes
    • Examples
    • Layout
  • Documentation/Examples
    • H5
    • H5 File attributes
    • H5 Steps
  • Installation
    • Download
    • Installation
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.