HB_IO, a Fortran90 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 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.
The computer code and data files described and made available on this web page are distributed under the MIT license
hb_io is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.
cc_io, a Fortran90 code which reads and writes sparse linear systems stored in the Compressed Column (CC) format.
dlap_io, a Fortran90 code 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_read, a Fortran90 code which reads files in the Harwell Boeing (HB) sparse matrix format; This is a simplified interface intended to handle only the most common format, complex unsymmetric assembled (CUA) or real unsymmetric assembled (RUA).
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 Fortran90 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 Fortran90 code which contains some 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 program which takes a matrix in MATLAB's sparse matrix format and writes it out in the HB format.
st_io, a Fortran90 code which reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
superlu, a Fortran90 code which uses the SUPERLU library, which applies a fast direct solution method to solve sparse linear systems, by James Demmel, John Gilbert, and Xiaoye Li.