Skip to content

vrann/matrixgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MATRIXGEN

Installation

  1. Install gfortran brew install gfortran
  2. Download lapack-3.8.0 https://github.com/Reference-LAPACK/lapack/releases/tag/v3.8.0 and unpack
  3. Compile Lapack Testing Matgen
  • > cd ../lapack-3.8.0
  • > cp -rf make.inc.example make.inc
  • (For gcc 10 only) edit make.inc add -fallow-argument-mismatch to OPTS:
FORTRAN = gfortran
OPTS    = -O2 -frecursive -fallow-argument-mismatch
  • > cd TESTING/MATGEN
  • > make
  1. Compile reader and writer
gfortran ../lapack-3.8.0/TESTING/MATGEN/*.o MatrixReader.f90 -o reader -llapack -lblas -ffree-line-length-512 -g -fcheck=all -Wall
gfortran ../lapack-3.8.0/TESTING/MATGEN/*.o LinearEquations.f90 -o writer -llapack -lblas -ffree-line-length-512 -g -fcheck=all -Wall

Running

./writer
./reader

About

Fortran-based matrix generator for LAPACK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published