Skip to content
Merged
6 changes: 6 additions & 0 deletions easybuild/easyblocks/s/superlu.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ def configure_step(self):
openblas_lib = os.path.join(get_software_root('OpenBLAS'), get_software_libdir('OpenBLAS'), "libopenblas.a")
self.cfg.update('configopts', '-DBLAS_LIBRARIES="%s;-pthread"' % openblas_lib)

elif toolchain_blas == 'FlexiBLAS':
# Unfortunately, FlexiBLAS is not recognized by FindBLAS from CMake,
Comment thread
ocaisa marked this conversation as resolved.
Outdated
# we have to specify the FlexiBLAS library manually
openblas_lib = os.path.join(get_software_root('FlexiBLAS'), get_software_libdir('FlexiBLAS'), "libflexiblas.so")
self.cfg.update('configopts', '-DBLAS_LIBRARIES="%s;-pthread"' % openblas_lib)
Comment thread
ocaisa marked this conversation as resolved.
Outdated

else:
# This BLAS library is not supported yet
raise EasyBuildError("BLAS library '%s' is not supported yet", toolchain_blas)
Expand Down