From 9f3323a9608fd3e66ac85021c88ac458aae7524d Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Fri, 30 Aug 2024 17:08:03 +0200 Subject: [PATCH] debug 10 --- .github/workflows/build_ubuntu-22.04.sh | 2 +- configure | 8 ++++---- configure.ac | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_ubuntu-22.04.sh b/.github/workflows/build_ubuntu-22.04.sh index ee97a157ad8..aa4760580bc 100755 --- a/.github/workflows/build_ubuntu-22.04.sh +++ b/.github/workflows/build_ubuntu-22.04.sh @@ -52,7 +52,7 @@ export INSTALL_PREFIX=$1 --with-fftw \ --with-netcdf cat config.log -nm -g /usr/lib/x86_64-linux-gnu/libblas.so +nm -g /usr/lib/x86_64-linux-gnu/libblas.so.3 ls -l /usr/lib/x86_64-linux-gnu ls -l /usr/lib eval $makecmd diff --git a/configure b/configure index 700fdc37314..726e0c26d4b 100755 --- a/configure +++ b/configure @@ -13822,7 +13822,7 @@ printf "%s\n" "$blas_ok" >&6; } printf %s "checking for linking to BLAS dgemm_... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -char cblas_dgemm(); +char dgemm_(); int main (void) { @@ -13844,8 +13844,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $blas_ok" >&5 printf "%s\n" "$blas_ok" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linking to BLAS dgemm" >&5 -printf %s "checking for linking to BLAS dgemm... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linking to BLAS sgemm" >&5 +printf %s "checking for linking to BLAS sgemm... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ char sgemm(); @@ -13874,7 +13874,7 @@ printf "%s\n" "$blas_ok" >&6; } printf %s "checking for linking to BLAS dgemm... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -char sgemm(); +char dgemm(); int main (void) { diff --git a/configure.ac b/configure.ac index b60c5e1a807..bb07d555e80 100644 --- a/configure.ac +++ b/configure.ac @@ -1638,13 +1638,13 @@ dnl ]) AC_MSG_CHECKING([for linking to BLAS dgemm_]) AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[char cblas_dgemm();]], [[return dgemm_();]])], + [[char dgemm_();]], [[return dgemm_();]])], [blas_ok=yes] , [ [] ]) AC_MSG_RESULT($blas_ok) - AC_MSG_CHECKING([for linking to BLAS dgemm]) + AC_MSG_CHECKING([for linking to BLAS sgemm]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [[char sgemm();]], [[return sgemm();]])], [blas_ok=yes] , [ @@ -1654,7 +1654,7 @@ dnl ]) AC_MSG_CHECKING([for linking to BLAS dgemm]) AC_LINK_IFELSE([AC_LANG_PROGRAM( - [[char sgemm();]], [[return dgemm();]])], + [[char dgemm();]], [[return dgemm();]])], [blas_ok=yes] , [ [] ])