DLAP_IO
DLAP Sparse Matrix Files
Read and Write Utilities
DLAP_IO
is a FORTRAN77 library which
reads and writes files in the DLAP sparse matrix format, used by
DLAP, the Sparse Linear Algebra Package.
Licensing:
The computer code and data files made available on this web page
are distributed under
the GNU LGPL license.
Languages:
DLAP_IO is available in
a FORTRAN77 version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
CC_IO,
a FORTRAN77 library which
reads and writes sparse linear systems
stored in the Compressed Column (CC) format.
DLAP,
a FORTRAN90 library which
solves sparse linear systems.
HB_IO,
a FORTRAN90 library which
reads and writes sparse linear
systems stored in the Harwell-Boeing Sparse Matrix format.
HB_READ,
a FORTRAN77 library 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_ST,
a FORTRAN77 program which
converts the sparse matrix information stored in a Harwell-Boeing
file into a sparse triplet file.
MM_IO,
a FORTRAN77 library which
reads and writes sparse linear systems stored in the Matrix Market (MM)
format.
ST_IO,
a FORTRAN77 library which
reads and writes sparse linear systems stored in the Sparse Triplet (ST) format.
Reference:
-
Iain Duff, Roger Grimes, John Lewis,
User's Guide for the Harwell-Boeing Sparse Matrix Collection,
October 1992.
Source Code:
Examples and Tests:
-
dlapb_io_prb.f,
a sample calling program.
-
dlapb_io_prb.sh,
commands to compile and run the sample program.
-
dlap_io_prb_output.txt,
the output file.
-
a5by5.dlap,
a 5 by 5 matrix, right hand side, and solution, created by one routine
in the calling program and read by another.
-
a5by5_sym.dlap,
a 5 by 5 symmetric matrix, right hand side, and solution, created by one routine
in the calling program and read by another.
List of Routines:
-
DLAP_FILE_PRINT prints a DLAP linear system that was stored in a file.
-
DLAP_FILE_READ reads in a DLAP matrix contained in a file.
-
DLAP_FILE_WRITE writes out DLAP Triad Format Linear System.
-
DLAP_HEADER_PRINT prints the header line of a DLAP file.
-
DLAP_HEADER_READ reads the header line from a DLAP file.
-
DLAP_HEADER_WRITE writes the header line to a DLAP file.
-
DLAP_RHS_PRINT prints the right hand side vector from a DLAP file.
-
DLAP_RHS_READ reads the right hand side vector from a DLAP file.
-
DLAP_RHS_WRITE writes a right hand side vector to a DLAP file.
-
DLAP_SOLN_PRINT prints the solution vector from a DLAP file.
-
DLAP_SOLN_READ reads the solution vector from a DLAP file.
-
DLAP_SOLN_WRITE writes a solution vector to a DLAP file.
-
DS3_PRINT prints a DS3 matrix.
-
DS3_PRINT_SOME prints some of a DS3 matrix.
-
GET_UNIT returns a free FORTRAN unit number.
-
R8VEC_PRINT prints an R8VEC.
-
R8VEC_PRINT_SOME prints "some" of an R8VEC.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
You can go up one level to
the FORTRAN77 source codes.
Last revised on 24 January 2014.