openblas
- Version:
0.3.20, 0.3.7
- Category:
math
- Cluster:
Vali
Description
OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) and LAPACK library implementation based on GotoBLAS2. It provides high-performance matrix and vector math routines for scientific computing and is tuned for modern CPU architectures.
Documentation
OpenBLAS is a library and does not provide standalone CLI tools.
It is linked into applications requiring BLAS/LAPACK functionality.
Example compile and link command:
gcc my_program.c -I$OPENBLAS_INC -L$OPENBLAS_LIB -lopenblas -o my_program
Environment variable (optional):
OPENBLAS_NUM_THREADS=4 # Control number of threads
Full documentation:
https://github.com/xianyi/OpenBLAS/wiki
Examples/Usage
List available modules:
$ module avail openblas
Load the openblas module:
$ module load numlib/OpenBLAS/0.3.20-GCC-11.3.0
Check the loaded modules:
$ module list
Unload the openblas module:
$ module unload numlib/OpenBLAS/0.3.20-GCC-11.3.0
Installation
Source code is obtained from openblas