HB_IO
Harwell Boeing Matrix File
Read and Write Utilities


HB_IO is a FORTRAN90 library, using double precision arithmetic, which can read and write files in the Harwell Boeing sparse matrix format, used by the Harwell Boeing Sparse Matrix Collection.

A special feature of HB_IO is the routine HB_FILE_READ, which can read all the information from an HBSMC file of arbitrary size. The data can then be accessed by the user by "using" the module HB_FILE_MODULE. Suggestions on how to compile, store and access the module are sketched out in the sample problem source code and in the command files.

Note that the most common "flavor" of HBSMC file is an assembled sparse matrix, but that there are some lesser used options, including storage of the matrix as unassembled finite element matrices, and corresponding storage of vectors. These secondary options are less well documented, and are only marginally supported in this package.

Related Data and Programs:

DLAP_IO is a package of routines for reading and writing matrices in a variety of formats, and includes a routine for reading matrices in HB format.

The HB dataset directory contains a collection of sparse matrices in the HB format.

HB_IO is also available in a C++ version and a MATLAB version.

HB_TO_MSM is a MATLAB script which reads an HB file and converts the matrix to MATLAB's sparse matrix format.

HB_TO_ST is an executable FORTRAN77 program which converts the sparse matrix information stored in a Harwell-Boeing file into a sparse triplet file.

LINPLUS is a linear algebra package which contains some routines to manipulate matrices stored in the HB sparse matrix format.

MM_IO is a FORTRAN90 library for reading and writing matrices in the Matrix Market format.

MSM_TO_HB is a MATLAB script which takes a matrix in MATLAB's sparse matrix format and writes it out in the HB format.

SUPER_LU includes routines which can read and write matrices in the HB format.

Reference:

  1. Iain Duff, Roger Grimes, John Lewis,
    User's Guide for the Harwell-Boeing Sparse Matrix Collection,
    Technical Report TR/PA/92/86, CERFACS,
    October 1992,
    Available online at ../../pdf/hbsmc.pdf.
  2. Iain Duff, Roger Grimes, John Lewis,
    Sparse Matrix Test Problems,
    ACM Transactions on Mathematical Software,
    Volume 15, pages 1-14, March 1989.
  3. http://math.nist.gov/MatrixMarket/data/Harwell-Boeing/ the Harwell-Boeing area of the MatrixMarket web site.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 21 October 2006.