BLAS and LAPACK: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 15: Line 15:
= How do I compile against FlexiBLAS ? = <!--T:5-->
= How do I compile against FlexiBLAS ? = <!--T:5-->
Unfortunately, FlexiBLAS is relatively new, and not all build systems will recognize it by default. This can generally be fixed by setting the linking options to use <tt>-lflexiblas</tt> for BLAS and for LAPACK. You will typically find these options in your Makefile, or be able to pass them as parameters to <tt>configure</tt> or <tt>cmake</tt>. Versions 3.19 and higher of CMake can find FlexiBLAS automatically; you must load one of the <tt>cmake/3.20.1</tt> or <tt>cmake/3.21.4</tt> modules to use such a version.
Unfortunately, FlexiBLAS is relatively new, and not all build systems will recognize it by default. This can generally be fixed by setting the linking options to use <tt>-lflexiblas</tt> for BLAS and for LAPACK. You will typically find these options in your Makefile, or be able to pass them as parameters to <tt>configure</tt> or <tt>cmake</tt>. Versions 3.19 and higher of CMake can find FlexiBLAS automatically; you must load one of the <tt>cmake/3.20.1</tt> or <tt>cmake/3.21.4</tt> modules to use such a version.
{{Note|On [[Narval]], the <tt>flexiblas</tt> module is loaded by default. On other clusters, you may need to load the <tt>flexiblas</tt> module before being able to use it.}}
{{Note|On [[Narval/en|Narval]], the <tt>flexiblas</tt> module is loaded by default. On other clusters, you may need to load the <tt>flexiblas</tt> module before being able to use it.}}


= How do I change which implementation of BLAS/LAPACK is used at run time ? = <!--T:6-->
= How do I change which implementation of BLAS/LAPACK is used at run time ? = <!--T:6-->
rsnt_translations
56,430

edits

Navigation menu