@gardhor, just noticed this thread -
FYI we’ve just completed templating the integer kind
for stdlib
’s internal BLAS
and LAPACK
implementation, so it now offers both 32- and 64-bit integer sizes for all procedures.
All interfaces are now templated, which means you can i.e. call gemm(...)
agnostically with either integer kind, and it will just work.
Then if you have an external library, you can link against it and then either the 32- or the 64-bit implementtaions will be replaced with calls to the external library.
Because there’s a lot more code, we’ve made a special branch that you can quickly check out with fpm as
[dependencies]
stdlib = { git="https://github.com/fortran-lang/stdlib", branch="stdlib-fpm-ilp64"}
or just use CMake (turning 64-bit integer support on), see readme.