I can confirm the problem. checking for sgemm_ in -L/d2/home/dima/src/xianyi-OpenBLAS-e552452 -lopenblas... yes checking whether LSAME is called correctly from Fortran... no checking whether ISAMAX is called correctly from Fortran... no
checking whether SDOT is called correctly from Fortran... no checking whether DDOT is called correctly from Fortran... no checking whether CDOTU is called correctly from Fortran... no checking whether ZDOTU is called correctly from Fortran... no
checking whether the integer size is correct... no checking for sgemm_ in -L/d2/home/dima/src/xianyi-OpenBLAS-e552452 -lopenblas... yes checking whether LSAME is called correctly from Fortran... no checking whether ISAMAX is called correctly from Fortran... no
checking whether SDOT is called correctly from Fortran... no checking whether DDOT is called correctly from Fortran... no checking whether CDOTU is called correctly from Fortran... no checking whether ZDOTU is called correctly from Fortran... no
checking whether the integer size is correct... no configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.
I moved out all the static libraries from this directory: