.. _spkg_openblas:

openblas: An optimized implementation of BLAS (Basic Linear Algebra Subprograms)
================================================================================

Description
-----------

OpenBLAS is an optimized open library implementing the Basic Linear Algebra Subprograms
(BLAS) specification.

It is based on GotoBLAS2 1.13 BSD version.

License
-------

3-clause BSD license


SPKG Repository
---------------

https://www.openblas.net

GitHub page: https://github.com/xianyi/OpenBLAS

Releases: https://github.com/xianyi/OpenBLAS/releases


Upstream Contact
----------------

-  OpenBLAS users mailing list:

   https://groups.google.com/forum/#!forum/openblas-users

-  OpenBLAS developers mailing list:

   https://groups.google.com/forum/#!forum/openblas-dev

Type
----

standard


Dependencies
------------

- :ref:`spkg_gfortran`
- $(PYTHON)

Version Information
-------------------

package-version.txt::

    0.3.20


Equivalent System Packages
--------------------------

arch:

.. CODE-BLOCK:: bash

    $ sudo pacman -S  openblas lapack cblas


conda:

.. CODE-BLOCK:: bash

    $ conda install  openblas blas=2.*=openblas


cygwin:

.. CODE-BLOCK:: bash

    $ apt-cyg install liblapack-devel libopenblas


Debian/Ubuntu:

.. CODE-BLOCK:: bash

    $ sudo apt-get install  libopenblas-dev


Fedora/Redhat/CentOS:

.. CODE-BLOCK:: bash

    $ sudo yum install  openblas-devel


freebsd:

.. CODE-BLOCK:: bash

    $ sudo pkg install math/openblas


gentoo:

.. CODE-BLOCK:: bash

    $ sudo emerge sci-libs/openblas


homebrew:

.. CODE-BLOCK:: bash

    $ brew install openblas


macports:
install the following packages: OpenBLAS-devel

nix:

.. CODE-BLOCK:: bash

    $ nix-env --install blas lapack


opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install openblas-devel


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  openblas-devel


See https://repology.org/project/openblas/versions


If the system package is installed, ./configure will check whether it can be used.

