MATMUL
A Matrix Multiplication Benchmark


MATMUL is a FORTRAN77 program which compares various methods for computing the matrix product


        A * B = C.
      

MATMUL can do this for a variety of matrix sizes, and for different arithmetics (real, complex, double precision, integer, even logical!) There are many algorithms built in, including the simple triple DO loop (actually not so simple; there are 6 ways to set it up), some unrolling techniques, and the level 1 and 2 BLAS routines.

MATMUL is interactive, so the user can easily pursue any line of inquiry that seems promising. New algorithms or locally available methods are not to hard to add.

Related Data and Programs:

LINPACK_BENCH is a FORTRAN90 benchmark program which measures the time needed to factor and solve a linear system.

MATMUL is also available in a FORTRAN90 version.

MDBNCH is an executable FORTRAN77 program which is a benchmark code for a molecular dynamics calculation.

MEMORY_TEST is a FORTRAN90 program which declares and uses a sequence of larger and larger vectors, to see how big a vector can be used on a given machine and compiler.

TIMER is a set of FORTRAN90 example programs that demonstrate how to compute CPU time or elapsed time.

Reference:

  1. John Burkardt, Paul Puglielli,
    Pittsburgh Supercomputing Center,
    MATMUL: An Interactive Matrix Multiplication Benchmark

Source Code:

Examples and Tests:

List of Routines:

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


Last revised on 23 March 2008.