github.com/gonum/lapack@v0.0.0-20181123203213-e4cdc5a0bff9/README.md (about)

     1  Gonum LAPACK  [![Build Status](https://travis-ci.org/gonum/lapack.svg?branch=master)](https://travis-ci.org/gonum/lapack)  [![Coverage Status](https://coveralls.io/repos/gonum/lapack/badge.svg?branch=master&service=github)](https://coveralls.io/github/gonum/lapack?branch=master) [![GoDoc](https://godoc.org/github.com/gonum/lapack?status.svg)](https://godoc.org/github.com/gonum/lapack)
     2  ======
     3  
     4  # This repository is no longer maintained. Development has moved to https://github.com/gonum/gonum.
     5  
     6  A collection of packages to provide LAPACK functionality for the Go programming
     7  language (http://golang.org). This provides a partial implementation in native go
     8  and a wrapper using cgo to a c-based implementation.
     9  
    10  ## Installation
    11  
    12  ```
    13    go get github.com/gonum/lapack
    14  ```
    15  
    16  
    17  Install OpenBLAS:
    18  ```
    19    git clone https://github.com/xianyi/OpenBLAS
    20    cd OpenBLAS
    21    make
    22  ```
    23  
    24  Then install the lapack/cgo package:
    25  ```sh
    26    CGO_LDFLAGS="-L/path/to/OpenBLAS -lopenblas" go install github.com/gonum/lapack/cgo
    27  ```
    28  
    29  For Windows you can download binary packages for OpenBLAS at
    30  http://sourceforge.net/projects/openblas/files/
    31  
    32  If you want to use a different BLAS package such as the Intel MKL you can
    33  adjust the `CGO_LDFLAGS` variable:
    34  ```sh
    35    CGO_LDFLAGS="-lmkl_rt" go install github.com/gonum/lapack/cgo
    36  ```
    37  
    38  ## Packages
    39  
    40  ### lapack
    41  
    42  Defines the LAPACK API based on http://www.netlib.org/lapack/lapacke.html
    43  
    44  ### lapack/lapacke
    45  
    46  Binding to a C implementation of the lapacke interface (e.g. OpenBLAS or intel MKL)
    47  
    48  The linker flags (i.e. path to the BLAS library and library name) might have to be adapted.
    49  
    50  The recommended (free) option for good performance on both linux and darwin is OpenBLAS.
    51  
    52  ## Issues
    53  
    54  If you find any bugs, feel free to file an issue on the github [issue tracker for gonum/gonum](https://github.com/gonum/gonum/issues) or [gonum/netlib for the CGO implementation](https://github.com/gonum/netlib/issues) if the bug exists in that reposity; no code changes will be made to this repository. Other discussions should be taken to the gonum-dev Google Group.
    55  
    56  https://groups.google.com/forum/#!forum/gonum-dev
    57  
    58  ## License
    59  
    60  Please see github.com/gonum/license for general license information, contributors, authors, etc on the Gonum suite of packages.