HB_IO
HB Matrix Files
Read and Write Utilities


HB_IO is a MATLAB library which reads and writes files in the Harwell Boeing sparse matrix format.

Note that the most common "flavor" of HB 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.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

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

Related Data and Programs:

DLAP_IO, a FORTRAN90 library which reads and writes matrices in a variety of formats, and includes a routine for reading matrices in HB format.

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

HB_TO_MM, a MATLAB program which converts a sparse matrix from Harwell-Boeing to Matrix Market format.

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

HB_TO_ST, a MATLAB program which converts a sparse matrix from Harwell-Boeing to sparse triplet format.

HBSMC, a dataset directory which contains the Harwell Boeing Sparse Matrix Collection;

LINPLUS, a MATLAB library which includes routines to manipulate matrices stored in the HB sparse matrix format.

MM_IO, a MATLAB library which reads and writes matrices in the Matrix Market format.

MM_TO_HB, a MATLAB program which reads the sparse matrix information from an MM Matrix Market file and writes a corresponding HB Harwell Boeing file.

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

ST_TO_HB, a MATLAB program which converts a sparse matrix file from ST format to HB format (Harwell Boeing format);

SUPER_LU, a C library which 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,
    October 1992,
    Available online at ../../pdf/hb.pdf.
  2. http://math.nist.gov/MatrixMarket/data/Harwell-Boeing/ the Matrix Market web site.

Source Code:

Examples and Tests:

Data files you may copy include:

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


Last revised on 01 September 2005.