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
- Website for CMAKE is http://www.cmake.org/
- Get Binary distribution, Win32 Installer
2. Download and install pre-built LAPACK binaries and headers
- Website for prebuilt binaries is http://icl.cs.utk.edu/lapack-for-windows/lapack/#libraries_mingw
- Get all of the win32 dll and lib files, as well as the header files
- Put header files into %USERPROFILE%/include
- Put lib and dll files into %USERPROFILE%/lib
3. Download manpages
- Website is from http://www.netlib.org/lapack/#_manpages
- Install manpage files into ~/man/man3 (e.g. in your Cygwin home directory)
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