https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121161
Bug ID: 121161
Summary: Please add an option to make -fexternal-blas
compatible with ILP64 BLAS implementation
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: sebastien at debian dot org
Target Milestone: ---
Currently, -fexternal-blas only works with BLAS implementations that use 32-bit
integers for indexing.
Using -fexternal-blas with a BLAS implementation that use 64-bit integers for
indexing (abusively called ILP64), such as Intel MKL, is not possible without
also adding -fdefault-integer-8.
However that latter option brings many other problems with it, and its use is
generally discouraged, so it would be better if there were a dedicated option
for this use case (e.g. -fexternal-blas64).