hb_io


hb_io, a C++ code which reads and writes files in the Harwell Boeing sparse matrix format.

A special feature of HB_IO is the routine HB_FILE_READ, which can read all the information from an HB file of arbitrary size.

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 information on this web page is distributed under the MIT license.

Languages:

hb_io is available in a C version and a C++ version and a Fortran90 version and a MATLAB version.

Related Data and Programs:

hb_io_test

ccs_io, a C++ code which reads and writes sparse linear systems stored in the Compressed Column Storage (CCS) format.

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

HB_IO_NEW, a C++ code which reads and writes sparse linear systems stored in the Harwell Boeing (HB) format for sparse matrices. This library is intended to handle the full range of HB formats. This is a version of HB_IO that has been revised and improved by Reinhard Resch.

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

HB_TO_ST, a Fortran77 code which converts the sparse matrix information stored in a Harwell-Boeing file into a sparse triplet file.

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

LINPLUS, a C++ code which includes routines to manipulate matrices stored in the HB sparse matrix format.

MM_IO, a Fortran90 code which reads and writes matrices in the Matrix Market format.

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

ST_IO, a C++ code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.

SUPERLU, a C code 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.
  2. Iain Duff, Roger Grimes, John Lewis,
    Sparse Matrix Test Problems,
    ACM Transactions on Mathematical Software,
    Volume 15, pages 1-14, March 1989.
  3. https://math.nist.gov/MatrixMarket/data/Harwell-Boeing/ the Matrix Market site.

Source Code:


Last revised on 31 May 2024.