You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-25Lines changed: 20 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,8 @@
2
2
3
3
[](https://gitter.im/xianyi/OpenBLAS?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library based on GotoBLAS2 1.13 BSD version.
21
17
22
-
Please read the documentation on the OpenBLAS wiki pages: <https://github.com/xianyi/OpenBLAS/wiki>.
18
+
Please read the documentation in the OpenBLAS folder: <https://github.com/OpenMathLib/OpenBLAS/docs>.
23
19
24
20
For a general introduction to the BLAS routines, please refer to the extensive documentation of their reference implementation hosted at netlib:
25
21
<https://www.netlib.org/blas>. On that site you will likewise find documentation for the reference implementation of the higher-level library LAPACK - the **L**inear **A**lgebra **Pack**age that comes included with OpenBLAS. If you are looking for a general primer or refresher on Linear Algebra, the set of six
@@ -31,12 +27,12 @@ We provide official binary packages for the following platform:
31
27
32
28
* Windows x86/x86_64
33
29
34
-
You can download them from [file hosting on sourceforge.net](https://sourceforge.net/projects/openblas/files/) or from the Releases section of the github project page, [https://github.com/xianyi/OpenBLAS/releases](https://github.com/xianyi/OpenBLAS/releases).
30
+
You can download them from [file hosting on sourceforge.net](https://sourceforge.net/projects/openblas/files/) or from the Releases section of the github project page, [https://github.com/OpenMathLib/OpenBLAS/releases](https://github.com/OpenMathLib/OpenBLAS/releases).
35
31
36
32
## Installation from Source
37
33
38
-
Download from project homepage, https://xianyi.github.com/OpenBLAS/, or check out the code
39
-
using Git from https://github.com/xianyi/OpenBLAS.git. (If you want the most up to date version, be
34
+
Download from project homepage, https://github.com/OpenMathLib/OpenBLAS/, or check out the code
35
+
using Git from https://github.com/OpenMathLib/OpenBLAS.git. (If you want the most up to date version, be
40
36
sure to use the develop branch - master is several years out of date due to a change of maintainership.)
41
37
Buildtime parameters can be chosen in Makefile.rule, see there for a short description of each option.
42
38
Most can also be given directly on the make or cmake command line.
@@ -45,10 +41,10 @@ Most can also be given directly on the make or cmake command line.
45
41
46
42
Building OpenBLAS requires the following to be installed:
47
43
48
-
* GNU Make
44
+
* GNU Make or CMake
49
45
* A C compiler, e.g. GCC or Clang
50
46
* A Fortran compiler (optional, for LAPACK)
51
-
* IBM MASS (optional, see below)
47
+
52
48
53
49
### Normal compile
54
50
@@ -66,24 +62,22 @@ build options you plan to set.
66
62
67
63
### Cross compile
68
64
69
-
Set `CC` and `FC` to point to the cross toolchains, and set `HOSTCC` to your host C compiler.
65
+
Set `CC` and `FC` to point to the cross toolchains, and if you use `make`, also set `HOSTCC` to your host C compiler.
70
66
The target must be specified explicitly when cross compiling.
71
67
72
68
Examples:
73
69
74
-
* On an x86 box, compile this library for a loongson3a CPU:
70
+
* On a Linux system, cross-compiling to an older MIPS64 router board:
75
71
```sh
76
-
make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
72
+
make BINARY=64 CC=mipsisa64r6el-linux-gnuabi64-gcc FC=mipsisa64r6el-linux-gnuabi64-gfortran HOSTCC=gcc TARGET=P6600
77
73
```
78
-
or same with the newer mips-crosscompiler put out by Loongson that defaults to the 32bit ABI:
74
+
* or to a Windows x64 host:
79
75
```sh
80
-
make HOSTCC=gcc CC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gcc -mabi=64' FC='/opt/mips-loongson-gcc7.3-linux-gnu/2019.06-29/bin/mips-linux-gnu-gfortran -mabi=64' TARGET=LOONGSON3A
* On an x86 box, compile this library for a loongson3a CPU with loongcc (based on Open64) compiler:
84
-
```sh
85
-
make CC=loongcc FC=loongf95 HOSTCC=gcc TARGET=LOONGSON3A CROSS=1 CROSS_SUFFIX=mips64el-st-linux-gnu- NO_LAPACKE=1 NO_SHARED=1 BINARY=32
86
-
```
79
+
You can find instructions for other cases both in the "Supported Systems" section below and in the docs folder. The .yml scripts included with the sources (which contain the
80
+
build scripts for the "continuous integration" (CI) build tests automatically run on every proposed change to the sources) may also provide additional hints.
87
81
88
82
When compiling for a more modern CPU TARGET of the same architecture, e.g. TARGET=SKYLAKEX on a HASWELL host, option "CROSS=1" can be used to suppress the automatic invocation of the tests at the end of the build.
89
83
@@ -315,20 +309,21 @@ If you compile this library with `USE_OPENMP=1`, you should use the above functi
315
309
316
310
## Reporting bugs
317
311
318
-
Please submit an issue in https://github.com/xianyi/OpenBLAS/issues.
312
+
Please submit an issue in https://github.com/OpenMathLib/OpenBLAS/issues.
319
313
320
314
## Contact
321
315
316
+
+ Use github discussions: https://github.com/OpenMathLib/OpenBLAS/discussions
0 commit comments