Overview
OpenBLAS is an optimized library for performing Basic Linear Algebra Subprograms (BLAS) and Linear Algebra operations. On SeaWulf, OpenBLAS is available in different versions, allowing you to choose the appropriate one based on your performance needs and cluster configuration.
Available Modules on SeaWulf
Below are the available OpenBLAS modules for Haswell nodes:
Haswell Nodes
- openblas/0.3.21
- openblas/dynamic/(default)
- openblas/dynamic/0.2.18
Loading a Module
To use the appropriate OpenBLAS module for your cluster, use the module load
command. For example, to load the default dynamic version of OpenBLAS, you can run:
module load openblas/dynamic/(default)
Make sure to load the version that suits your requirements.
Using OpenBLAS
Once the OpenBLAS module is loaded, you can compile and run your linear algebra programs. For example, here is how you might compile a program that uses OpenBLAS:
gcc -o my_openblas_program my_openblas_program.c -lopenblas
Make sure to link your program with the OpenBLAS library by using the -lopenblas
flag.
Important Notes
OpenBLAS is highly optimized for parallel computations. It is important to select the correct version of OpenBLAS that fits your application and environment to ensure the best performance.
Incompatible versions of OpenBLAS or incorrect MPI settings can lead to errors or suboptimal performance. Always ensure that you load the proper module for your use case.
Additional Resources
If you need assistance with OpenBLAS or encounter any issues, please consult the SeaWulf documentation or reach out to support for help with optimizing your use of the library.