Montag, 24. Dezember 2012

Lapack

About

Lapack (short for Linear Algebra PACKage) is a library of mathematical functions for performing mathematical operations on real and complex scalars as well as matrices.

Website

http://www.netlib.org/lapack/

Installation Instructions and Quickstart

1. (Optional) Install CMAKE


 2. Download and install pre-built LAPACK binaries and headers


3. Download manpages


4. Read the C program example on http://www.netlib.org/lapack/lapacke.html

  • Type "man 3 DGELS" in a unix terminal to get the corresponding manpage for LAPACKE_dgels
  • Notice the difference in calling convention between Fortran and C functions
  • Compile program with "-lblas -llapack -llapacke"
  • NOTE: The required dll files (at least liblapack.dll) should be in the same directory as the EXE

-End of post-

Keine Kommentare:

Kommentar veröffentlichen