OpenBLAS: Problems with dsytrf and dsytri when OpenBLAS is built with INTERFACE64=1
Hello!
I have built OpenBLAS with options INTERFACE64=1 SYMBOLSUFFIX=64_ BINARY=64 USE_THREAD=1 DEBUG=1 and then successfully compiling my project with gcc 11.4.0. Although there is segmentation fault when running tests (it connected with dsytrf, dsytri and probably dsyev). You can see valgrind output at attached file. At the same time code works in right way when INTERFACE64=0 is used. Could you please assume what might have gone wrong? If more details are needed please tell.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15
This is an interesting question - a pure build of the Reference-LAPACK does not add
#define LAPACK_ILP64to its headers either, even when built as a strictly ILP64 version. (Recent Reference-LAPACK builds both ILP32 and suffixed ILP64 copies of all functions by default, but even then still relies on user code defining LAPACK_ILP64 and possibly LAPACKE_API64 before including the headers). Even the lapacke_config.h is evaluated only when HAVE_LAPACK_CONFIG_H is declared in a user’s code or compilation options.