User Tools

Site Tools


hdf5-software

This is an old revision of the document!


HDF5

HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.

v1.8.14

Usage

  • Show all available versions of hdf5
    module avail hdf5
  • Load hdf5 module:
    module load hdf5/1.8.14

Installation

  • Download src tarball, its already compiled so just copy /export/apps
    wget "http://www.hdfgroup.org/ftp/HDF5/current/bin/linux-centos6-x86_64-gcc447/hdf5-1.8.14-linux-centos6-x86_64-gcc447-shared.tar.gz" - O hdf5-1.8.14-linux-centos6-x86_64-gcc447-shared.tar.gz
    cd hdf5-1.8.14-linux-centos6-x86_64-gcc447-shared
    sudo mkdir -p /export/apps/hdf5/1.8.14/
    sudo chown -R joguya:joguya /export/apps/hdf5/1.8.14/
    cp -r * /export/apps/hdf5/1.8.14/
    sudo chown -R root:root /export/apps/hdf5/1.8.14/
  • hdf5 module file
    #%Module1.0
    #####################################################################
    ##
    ## HDF5 Modulefile
    ## by James Oguya, <j.oguya@cgiar.org>
    ## January, 2015
    ##
    
    set appname         hdf5
    set version         1.8.14
    set prefix          /export/apps/${appname}/${version}
    set exec_prefix     ${prefix}/bin
    set datarootdir     ${prefix}/share
    set url             "http://www.hdfgroup.org/HDF5/"
    set msg             "HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data.\nOfficial Site: $url\n"
    
    module-whatis $msg
    
    proc ModulesHelp { } {
        puts stderr "$msg"
    }
    
    conflict            hdf5
    
    prepend-path        PATH            ${exec_prefix}
    prepend-path        MANPATH         ${datarootdir}
    prepend-path        LD_LIBRARY_PATH ${prefix}/lib
    
    # load dependencies
    if { ![is-loaded openmpi/1.8.2] } {
        module load openmpi/1.8.2
    }
  • deploy the new module using ansible
    ansible-playbook site.yml -u provisioning -K -s --limit=compute --tags=module
hdf5-software.1433756197.txt.gz · Last modified: 2015/06/08 09:36 by aorth