File: README.Debian

package info (click to toggle)
openblas 0.2.19-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 44,272 kB
  • ctags: 76,509
  • sloc: asm: 1,086,998; ansic: 186,055; fortran: 74,181; makefile: 11,187; perl: 3,428; python: 661; sh: 81
file content (49 lines) | stat: -rw-r--r-- 1,501 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
How to switch between the various BLAS/LAPACK implementations
=============================================================

BLAS:
$ sudo update-alternatives --config libblas.so.3

LAPACK:
$ sudo update-alternatives --config liblapack.so.3

More information is available at:

 http://wiki.debian.org/DebianScience/LinearAlgebraLibraries


Building an optimized OpenBLAS package for your machine
=======================================================

On amd64 and i386, libopenblas-base provides a multiple architecture library.
All kernels are included in the library and the one matching your architecture
is selected at run time. Recompiling locally should bring minimal performance
improvement.

On the contrary, on non-x86 archs, the package is compiled with minimal
optimizations, so that it can run on all hardware. You may want to recompile it
locally for optimal performance.

If you want to create a custom OpenBLAS package, optimized for your specific
machine, proceed as follows.

Install the build dependencies:

$ sudo aptitude build-dep openblas
$ sudo aptitude install devscripts

Get the sources of the package:

$ apt-get source openblas

Compile the package:

$ cd openblas-<VERSION>
$ fakeroot debian/rules custom

It should produce a package that you can install with:

$ sudo dpkg -i ../libopenblas-base_<DEBVERSION>.deb

 -- S├ębastien Villemot <sebastien@debian.org>, Tue,  6 Sep 2016 11:36:05 +0200
 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 31 May 2011 13:56:22 +0200