Description
I'm installing LAPACK 3.8.0 with GCC (gfortran) 8.2.1. I have added the flag -fcheck=all in the make.inc so I know what happened at runtime, because there are some errors reported by the test code during installation. Run "make all", at the end I got
...
./LIN/xlintsts < stest.in > stest.out 2>&1
make[1]: *** [stest.out] Error 2
make[1]: Leaving directory.`../.../lapack-3.8.0/TESTING'
The beginning part of "stest.out" shows:
At line 216 of file ssytrs_aa.f
Fortran runtime error: Index '2' of dimension 1 of array 'b' above upper bound of 1
Error termination. Backtrace:
#0 0x3fff80d4ddaf in ???
#1 0x3fff80d4f7e7 in ???
#2 0x3fff80d5019b in ???
#3 0x1013d71b in ???
#4 0x1003591f in ???
#5 0x1001a42f in ???
#6 0x10001433 in ???
#7 0x3fff80554bf7 in ???
#8 0x3fff80554e03 in ???
#9 0xffffffffffffffff in ???
Tests of the REAL LAPACK routines
LAPACK VERSION 3.8.0
...
The source code location is ./SRC/ssytrs_aa.f. I believe that in this code (lines 215, 216), when the STRSM is called, the value of LDB is 1, which is in conflict with B( 2,1), because B array is declared as B(LDB, *). So we got the out of bound issue. Can you confirm it?
Thanks!