rust-math / intel-mkl-src

Redistribute Intel MKL as a crate
Other
78 stars 22 forks source link

Binding error for cblas_dgemm #56

Open rationalis opened 3 years ago

rationalis commented 3 years ago

I'm getting "Intel MKL ERROR: Parameter 11 was incorrect on entry to cblas_dgemm." I'm guessing that this is due to using version 2021.1 instead of 2020.1 but I can't seem to find a download for 2020.1 for Windows. For reference I have built ndarray, blas-src, and intel-mkl-src all from the most recent commits.

aleon1138 commented 3 years ago

This is a usage error, not a linking error. It seems that your ldb parameter is not correct. From the documentation:

On entry, LDB specifies the first dimension of B as declared in the calling (sub) program. When TRANSB = 'N' or 'n' then LDB must be at least max( 1, k ), otherwise LDB must be at least max( 1, n ).