Reference BLAS 3.12.0 — Basic Linear Algebra Subprograms (source code)
Reference BLAS Authors · Zenodo (CERN European Organization for Nuclear Research) · 2026
Reference BLAS 3.12.0 — Basic Linear Algebra Subprograms, the reference implementation from netlib. The BLAS are the standard low-level routines for performing common linear algebra operations, and they are the foundation on which LAPACK and almost all numerical software is built. The reference implementation is written in Fortran 77 and is the canonical, portable definition of the BLAS interface against which optimized implementations (OpenBLAS, Intel MKL, ATLAS, BLIS) are measured. WHAT THIS PACKAGE CONTAINS. The source tarball is the complete reference BLAS 3.12.0 as served by netlib (blas.tgz, 331,158 bytes), with the full set of 157 files: the Level 1 BLAS (vector-vector operations: dot products, norms, vector updates, plane rotations), the Level 2 BLAS (matrix-vector operations: general, banded, triangular, symmetric and Hermitian matrix-vector products, rank-1 and rank-2 updates, triangular solves) and the Level 3 BLAS (matrix-matrix operations: general, symmetric, Hermitian and triangular matrix products and solves, including the GEMM routine at the heart of high-performance computing), plus the build files (Makefile, CMakeLists.txt, blas.pc.in) and the TESTING directory. SCOPE AND KEY TOPICS. Level 1: SDOT, DDOT, CDOT, ZDOT, SNRM2, DNRM2, SAXPY, DAXPY, SSCAL, DSCAL, SROT, DROT, SSWAP, DSWAP, ISAMAX, IDAMAX. Level 2: SGEMV, DGEMV, CGEMV, ZGEMV, SSYMV, DSYMV, CHEMV, ZHEMV, STRMV, DTRMV, STRSV, DTRSV, SGER, DGER, SSYR, DSYR, CHER, ZHER. Level 3: SGEMM, DGEMM, CGEMM, ZGEMM, SSYMM, DSYMM, CHEMM, ZHEMM, SSYRK, DSYRK, CHERK, ZHERK, SSYR2K, DSYR2K, STRMM, DTRMM, STRSM, DTRSM. Keywords: BLAS, Basic Linear Algebra Subprograms, linear algebra, Fortran, netlib, GEMM, matrix multiplication, numerical computing, scientific computing, high-performance computing. PROVENANCE. Source: netlib (https://www.netlib.org/blas/), the long-standing home of the reference BLAS. Note on archiving: Software Heritage's Save Code Now archives version-control repositories (Git, Mercurial, Subversion), not bare tarballs, so the BLAS tarball cannot be submitted there directly; the reference BLAS source is however included in the LAPACK repository (185 files under BLAS/), which has been submitted to Software Heritage. This record, and the companion Internet Archive item, preserve the standalone netlib tarball itself. LICENCE — PLEASE READ. The reference BLAS is copyrighted, not public domain, and it is distributed under netlib's free-use grant. The netlib BLAS page states: "The reference BLAS is a freely-available software package. It is available from netlib via anonymous ftp and the World Wide Web. Thus, it can be included in commercial software packages (and has been). We only ask that proper credit be given to the authors. Like all software, it is copyrighted. It is not trademarked, but we do ask the following: If you modify the source for these routines we ask that you change the name of the routine and comment the changes made to the original." In short: free to use and redistribute, including in commercial software, with credit to the authors; modified routines must be renamed and the changes commented. This record gives that credit. (An earlier curation note described the reference BLAS as public domain; that was incorrect and is corrected here.) INTENDED AUDIENCE AND USE. Numerical analysts, developers of BLAS implementations and of software built on BLAS, students learning the BLAS interface, and anyone who needs a reproducible, citable copy of the reference BLAS 3.12.0 source. Use it to build the reference BLAS, to study the canonical algorithms, or to reproduce results that depend on this exact version.