cc_staff
153
edits
mNo 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>. | 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]], 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.}} | ||