You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 6.2 kB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. # LAPACK
  2. [![Build Status](https://travis-ci.org/Reference-LAPACK/lapack.svg?branch=master)](https://travis-ci.org/Reference-LAPACK/lapack)
  3. ![CMake](https://github.com/Reference-LAPACK/lapack/actions/workflows/cmake.yml/badge.svg)
  4. ![Makefile](https://github.com/Reference-LAPACK/lapack/actions/workflows/makefile.yml/badge.svg)
  5. [![Appveyor](https://ci.appveyor.com/api/projects/status/bh38iin398msrbtr?svg=true)](https://ci.appveyor.com/project/langou/lapack/)
  6. [![codecov](https://codecov.io/gh/Reference-LAPACK/lapack/branch/master/graph/badge.svg)](https://codecov.io/gh/Reference-LAPACK/lapack)
  7. [![Packaging status](https://repology.org/badge/tiny-repos/lapack.svg)](https://repology.org/metapackage/lapack/versions)
  8. [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/Reference-LAPACK/lapack/badge)](https://securityscorecards.dev/viewer/?uri=github.com/Reference-LAPACK/lapack)
  9. * VERSION 1.0 : February 29, 1992
  10. * VERSION 1.0a : June 30, 1992
  11. * VERSION 1.0b : October 31, 1992
  12. * VERSION 1.1 : March 31, 1993
  13. * VERSION 2.0 : September 30, 1994
  14. * VERSION 3.0 : June 30, 1999
  15. * VERSION 3.0 + update : October 31, 1999
  16. * VERSION 3.0 + update : May 31, 2000
  17. * VERSION 3.1 : November 2006
  18. * VERSION 3.1.1 : February 2007
  19. * VERSION 3.2 : November 2008
  20. * VERSION 3.2.1 : April 2009
  21. * VERSION 3.2.2 : June 2010
  22. * VERSION 3.3.0 : November 2010
  23. * VERSION 3.3.1 : April 2011
  24. * VERSION 3.4.0 : November 2011
  25. * VERSION 3.4.1 : April 2012
  26. * VERSION 3.4.2 : September 2012
  27. * VERSION 3.5.0 : November 2013
  28. * VERSION 3.6.0 : November 2015
  29. * VERSION 3.6.1 : June 2016
  30. * VERSION 3.7.0 : December 2016
  31. * VERSION 3.7.1 : June 2017
  32. * VERSION 3.8.0 : November 2017
  33. * VERSION 3.9.0 : November 2019
  34. * VERSION 3.9.1 : April 2021
  35. * VERSION 3.10.0 : June 2021
  36. * VERSION 3.10.1 : April 2022
  37. * VERSION 3.11.0 : November 2022
  38. * VERSION 3.12.0 : November 2023
  39. LAPACK is a library of Fortran subroutines for solving the most commonly
  40. occurring problems in numerical linear algebra.
  41. LAPACK is a freely-available software package. It can be included in commercial
  42. software packages (and has been). We only ask that that proper credit be given
  43. to the authors, for example by citing the LAPACK Users' Guide. The license used
  44. for the software is the [modified BSD license](https://github.com/Reference-LAPACK/lapack/blob/master/LICENSE).
  45. Like all software, it is copyrighted. It is not trademarked, but we do ask the
  46. following: if you modify the source for these routines we ask that you change
  47. the name of the routine and comment the changes made to the original.
  48. We will gladly answer any questions regarding the software. If a modification
  49. is done, however, it is the responsibility of the person who modified the
  50. routine to provide support.
  51. LAPACK is [available from GitHub](https://github.com/Reference-LAPACK/lapack).
  52. LAPACK releases are also [available on netlib](http://www.netlib.org/lapack/).
  53. The distribution contains (1) the Fortran source for LAPACK, and (2) its
  54. testing programs. It also contains (3) the Fortran reference implementation of
  55. the Basic Linear Algebra Subprograms (the Level 1, 2, and 3 BLAS) needed by
  56. LAPACK. However this code is intended for use only if there is no other
  57. implementation of the BLAS already available on your machine; the efficiency of
  58. LAPACK depends very much on the efficiency of the BLAS. It also contains (4)
  59. CBLAS, a C interface to the BLAS, and (5) LAPACKE, a C interface to LAPACK.
  60. ## Installation
  61. - LAPACK can be installed with `make`. The configuration must be set in the
  62. `make.inc` file. A `make.inc.example` for a Linux machine running GNU compilers
  63. is given in the main directory. Some specific `make.inc` are also available in
  64. the `INSTALL` directory.
  65. - LAPACK includes also the [CMake](https://cmake.org/) build. You will need
  66. to have CMake installed on your machine. CMake will allow an easy
  67. installation on a Windows Machine. An example CMake build to install the
  68. LAPACK library under `$HOME/.local/lapack/` is:
  69. ```sh
  70. mkdir build
  71. cd build
  72. cmake -DCMAKE_INSTALL_LIBDIR=$HOME/.local/lapack ..
  73. cmake --build . -j --target install
  74. ```
  75. - LAPACK can be built and installed using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
  76. ```sh
  77. git clone https://github.com/Microsoft/vcpkg.git
  78. cd vcpkg
  79. ./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows
  80. ./vcpkg integrate install
  81. ./vcpkg install lapack
  82. ```
  83. The lapack port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
  84. ## User Support
  85. LAPACK has been thoroughly tested, on many different types of computers. The
  86. LAPACK project supports the package in the sense that reports of errors or poor
  87. performance will gain immediate attention from the developers. Such reports,
  88. descriptions of interesting applications, and other comments should be sent by
  89. email to [the LAPACK team](mailto:lapack@icl.utk.edu).
  90. A list of known problems, bugs, and compiler errors for LAPACK is
  91. [maintained on netlib](http://www.netlib.org/lapack/release_notes.html).
  92. Please see as well the [GitHub issue tracker](https://github.com/Reference-LAPACK/lapack/issues).
  93. For further information on LAPACK please read our [FAQ](http://www.netlib.org/lapack/faq.html)
  94. and [Users' Guide](http://www.netlib.org/lapack/lug/lapack_lug.html).
  95. A [user forum](http://icl.cs.utk.edu/lapack-forum/) and specific information for
  96. [running LAPACK under Windows](http://icl.cs.utk.edu/lapack-for-windows/lapack/).
  97. is also available to help you with the LAPACK library.
  98. ## Testing
  99. LAPACK includes a thorough test suite. We recommend that, after compilation,
  100. you run the test suite.
  101. For complete information on the LAPACK Testing please consult LAPACK Working
  102. Note 41 "Installation Guide for LAPACK".
  103. ## LAPACKE
  104. LAPACK now includes the [LAPACKE](http://www.netlib.org/lapack/lapacke.html)
  105. package. LAPACKE is a Standard C language API for LAPACK that was born from a
  106. collaboration of the LAPACK and INTEL Math Kernel Library teams.