BLAS and LAPACK ExternalLibraries ignore BLAS_DIR and LAPACK_DIR
Git hash 22ffa3c "BLAS: use bash_utils.sh to search for library" of ExternalLibraries-BLAS and git hash 4e216f4 "LAPACK: use bash_utils.sh to search for library" of ExternalLibraries-LAPACK changed BLAS and LAPACK to use bash_utils’s find_lib
to look for library files.
However in this process multiple bugs were introduced (by me). One was reported by @{5b59c8ffe288ee2d9b4ba7ba} in #2464, @Steven R. Brandt just found another one due to using an incorrect variable name in the find_lib
call, which went unnoticed on systems where LAPACK / BLAS are found in “standard” locations via pkg-config, which is the majority of systems where it is used it seems.
Fixed in git hash 6e55384 "BLAS: fix typo making BLAS_DIR being ignored" of ExternalLibraries-BLAS and git hash 6284631 "LAPACK: fix typo causing LAPACK_DIR to be ignored" of ExternalLibraries-LAPACK but needs testing.
Comments (5)
-
reporter -
reporter Reverted as git hash e9514e7 "Revert "LAPACK: use bash_utils.sh to search for library"" of ExternalLibraries-LAPACK
Reverted as git hash e670eac "Revert "BLAS: use bash_utils.sh to search for library"" of ExternalLibraries-BLAS
-
reporter - removed milestone
-
assigned issue to
- marked as task
-
reporter - changed status to on hold
-
reporter - changed title to BLAS and LAPACK ExternalLibraries ignore BLAS_DIR and LAPACK_DIR
- Log in to comment
Most likely I will revert git hash 22ffa3c "BLAS: use bash_utils.sh to search for library" of ExternalLibraries-BLAS and git hash 4e216f4 "LAPACK: use bash_utils.sh to search for library" of ExternalLibraries-LAPACK since BLAS and LAPACK handle
BLAS_DIR
andLAPACK_DIR
in a way not supported by bash_utils. After the 2020_11 release I will propose to change howBLAS_DIR
andLAPACK_DIR
are handled along with proposing a better defined behaviour for ExternalLibraries.