Fork me on GitHub


OpenBLAS is a library that provides low-level C and Fortran routines for linear algebra. It provides optimised versions of the routines described in the BLAS specification. It is based on GotoBLAS2 1.13 BSD version.


To make OpenBLAS’s shared libraries, static libraries and header files available you need to run:

module load libs/gcc/4.9.2/openblas/0.2.19

Note: this will also load GCC 4.9.2 as OpenBLAS depends on the libgfortran, libquadmath and libgcc_s libraries provided by that compiler.

You can then statically link with libopenblas.a or with -lopenblas if you want to use the shared library.

The library is multithreaded. You can the number of threads with using one of the following environment variables:

* ``export GOTO_NUM_THREADS=4``
* ``export OMP_NUM_THREADS=4``


Note: The build process console output indicates that the maximum number of threads is 12.

The library was compiled on and optimised for the Intel Nehalem architecture (inc. Intel Xeon X5650 CPUs) but should also run on the newer Intel Sandy Bridge-EP archtecture (Intel Xeon E5 2650/2660/2670 CPUs).


See the project website including the FAQ.

Installation notes

This section is primarily for administrators of the system.

Version 0.2.19

This was compiled with GCC 4.9.2 on an Intel Xeon X5650 CPU.

  1. First, download, configure, build, test and install using this script.
  2. The default makefile target runs a test suite. All tests should pass (see the build process console output.
  3. Next, install this modulefile as /usr/local/modulefiles/libs/gcc/4.9.2/openblas/0.2.19