GlobalArrays/ga

GAL_DSYEV 32-bit vs 64-bit integer issue

Closed this issue · 1 comments

Commit 764f266 can cause failure when -with-lapack argument is not supplied when configuring Global Arrays and --with-blas4 is used, instead
The run-time error is

**ONENTRYTO GAL_DSYEVPARAMETER NUMBER 8HADANILLEGALVALUE

The root cause of the problem is that LinAlg/lapack+blas/gal_dsyev.f is compiled with the fortran compiler option to promote all integers to 64-bit.

The fix I am suggesting is that if --with-blas4 is supplied, --with-lapack should be supplied, too, and autoconf should stop if only blas libraries are found and not lapack libraries

fixed