Build and Install the Parallel HDF5-WRF IO Module

There are two HDF5 WRF IO modules, sequential and parallel.  The either or both modules can be configured as optional IO modules for WRF.

The sequential HDF module (io_hdf5) uses the serial HDF5 library.  The parallel HDF module (io_phdf5) uses parallel HDF5 (which requires MPI-IO).

Parallel HDF5-WRF IO module is inside WRF 2.0.

The installation for the two modules is similar.

Prerequisites

WRF 2.0

The HDF5 WRF IO modules require Version 2.0 of WRF.  Information and downloads are available at:

http://www.mmm.ucar.edu/wrf/users/user_main.html

HDF5-1.6 .2 or later

The HDF5 WRF IO modules require HDF5-1.6.2 or more recent. The parallel HDF5 WRF module requires parallel HDF5 (which requires MPI IO).

Installing HDF5
  1. To obtain HDF5, download from to http://hdf.ncsa.uiuc.edu/HDF5/release/obtain5.html. Install HDF5 according to the instructions. The HDF5 library must have he Fortran 90 interface installed. 
     
  2. For the parallel WRF module, parallel HDF5 must be installed (this requires MPI-IO).
    Set the environment variable PHDF5 = <<path where phdf5 is installed>>.  

    3.   If you use pre-release binaries of HDF5 library, you do need to install szip library in your system; and the szip library should be in the same directory of parallel   HDF5 library. You may go to ftp://ftp.ncsa.uiuc.edu/HDF/lib-external/szip/bin/ to download the corresponding szip binary for your system.


Platforms

This prototype has been tested on a few platforms. The HDF WRF IO modules should work on any platform that WRF2 and HDF5 support, although the details of the configuration may need to be worked out.

Module
Platforms
Notes
Parallel
NCSA IBM P690
NCAR IBM SP3




1. Download the parallel WRF-HDF5 IO module

The HDF WRF IO modules are available from:

2. Add parallel WRF-HDF5 IO module to the WRF source

The HDF5 WRF IO module is added as sub-directories in the 'external' directory of the WRF source.

contents of the parallel HDF WRF IO module:

  ./io_phdf5/
  ./io_phdf5/Makefile
  ./io_phdf5/wrf_status_codes.h
  ./io_phdf5/wrf-phdf5attr.F90
  ./io_phdf5/wrf-phdf5support.F90
  ./io_phdf5/wrf_io_flags.h
  ./io_phdf5/wrf-phdf5.F90


Last Modified: 14 June 2004