Fix white spaces in configry

master
Salvatore Filippone 2 years ago
parent de37e3602a
commit e6d1a1a085

@ -1256,7 +1256,7 @@ if test $pac_blas_ok = no; then
[AC_LANG([C]) [AC_LANG([C])
AC_CHECK_LIB(cblas, cblas_dgemm, AC_CHECK_LIB(cblas, cblas_dgemm,
[pac_blas_ok=yes [pac_blas_ok=yes
BLAS_LIBS="-lcblas -lf77blas -latlas $BLAS_LIBDIR"], BLAS_LIBS="-lcblas -lf77blas -latlas"],
[], [-lf77blas -latlas])], [], [-lf77blas -latlas])],
[], [-latlas])]) [], [-latlas])])
@ -1269,7 +1269,7 @@ if test $pac_blas_ok = no; then
[AC_LANG([C]) [AC_LANG([C])
AC_CHECK_LIB(satlas, cblas_dgemm, AC_CHECK_LIB(satlas, cblas_dgemm,
[pac_blas_ok=yes [pac_blas_ok=yes
BLAS_LIBS="-lsatlas $BLAS_LIBDIR"], BLAS_LIBS="-lsatlas"],
[], [-lsatlas])], [], [-lsatlas])],
[], [-lsatlas])]) [], [-lsatlas])])
@ -1281,7 +1281,7 @@ if test $pac_blas_ok = no; then
AC_CHECK_LIB(blas, sgemm, AC_CHECK_LIB(blas, sgemm,
[AC_CHECK_LIB(dgemm, dgemm, [AC_CHECK_LIB(dgemm, dgemm,
[AC_CHECK_LIB(sgemm, sgemm, [AC_CHECK_LIB(sgemm, sgemm,
[pac_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas $BLAS_LIBDIR"], [pac_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"],
[], [-lblas])], [], [-lblas])],
[], [-lblas])]) [], [-lblas])])
fi fi
@ -1290,7 +1290,7 @@ fi
# BLAS in OpenBLAS? # BLAS in OpenBLAS?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_LANG([Fortran]) AC_LANG([Fortran])
AC_CHECK_LIB(openblas, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lopenblas $BLAS_LIBDIR"]) AC_CHECK_LIB(openblas, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lopenblas"])
fi fi
# BLAS in Intel MKL library? # BLAS in Intel MKL library?
sgemm="sgemm"; sgemm="sgemm";
@ -1300,12 +1300,12 @@ if test $pac_blas_ok = no; then
# 64 bit # 64 bit
if test $host_cpu = x86_64; then if test $host_cpu = x86_64; then
AC_CHECK_LIB(mkl_gf_lp64, $sgemm, AC_CHECK_LIB(mkl_gf_lp64, $sgemm,
[pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR"],, [pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread"],,
[-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread]) [-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread])
# 32 bit # 32 bit
elif test $host_cpu = i686; then elif test $host_cpu = i686; then
AC_CHECK_LIB(mkl_gf, $sgemm, AC_CHECK_LIB(mkl_gf, $sgemm,
[pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR"],, [pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread"],,
[-lmkl_gf -lmkl_sequential -lmkl_core -lpthread]) [-lmkl_gf -lmkl_sequential -lmkl_core -lpthread])
fi fi
# MKL for other compilers (Intel, PGI, ...?) # MKL for other compilers (Intel, PGI, ...?)
@ -1313,37 +1313,37 @@ if test $pac_blas_ok = no; then
# 64-bit # 64-bit
if test $host_cpu = x86_64; then if test $host_cpu = x86_64; then
AC_CHECK_LIB(mkl_intel_lp64, $sgemm, AC_CHECK_LIB(mkl_intel_lp64, $sgemm,
[pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR"],, [pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread"],,
[-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread]) [-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread])
# 32-bit # 32-bit
elif test $host_cpu = i686; then elif test $host_cpu = i686; then
AC_CHECK_LIB(mkl_intel, $sgemm, AC_CHECK_LIB(mkl_intel, $sgemm,
[pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR"],, [pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel -lmkl_sequential -lmkl_core -lpthread"],,
[-lmkl_intel -lmkl_sequential -lmkl_core -lpthread]) [-lmkl_intel -lmkl_sequential -lmkl_core -lpthread])
fi fi
fi fi
fi fi
# Old versions of MKL # Old versions of MKL
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(mkl, $sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread $BLAS_LIBDIR"],,[-lguide -lpthread]) AC_CHECK_LIB(mkl, $sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread"],,[-lguide -lpthread])
fi fi
# BLAS in Apple vecLib library? # BLAS in Apple vecLib library?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS" save_LIBS="$LIBS"; LIBS="-framework vecLib $LIBS"
AC_MSG_CHECKING([for $sgemm in -framework vecLib]) AC_MSG_CHECKING([for $sgemm in -framework vecLib])
AC_TRY_LINK_FUNC($sgemm, [pac_blas_ok=yes;BLAS_LIBS="-framework vecLib $BLAS_LIBDIR"]) AC_TRY_LINK_FUNC($sgemm, [pac_blas_ok=yes;BLAS_LIBS="-framework vecLib"])
AC_MSG_RESULT($pac_blas_ok) AC_MSG_RESULT($pac_blas_ok)
LIBS="$save_LIBS" LIBS="$save_LIBS"
fi fi
# BLAS in Alpha CXML library? # BLAS in Alpha CXML library?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(cxml, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lcxml $BLAS_LIBDIR"]) AC_CHECK_LIB(cxml, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-lcxml"])
fi fi
# BLAS in Alpha DXML library? (now called CXML, see above) # BLAS in Alpha DXML library? (now called CXML, see above)
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(dxml, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-ldxml $BLAS_LIBDIR"]) AC_CHECK_LIB(dxml, sgemm, [pac_blas_ok=yes;BLAS_LIBS="-ldxml"])
fi fi
@ -1352,7 +1352,7 @@ if test $pac_blas_ok = no; then
if test "x$GCC" != xyes; then # only works with Sun CC if test "x$GCC" != xyes; then # only works with Sun CC
AC_CHECK_LIB(sunmath, acosp, AC_CHECK_LIB(sunmath, acosp,
[AC_CHECK_LIB(sunperf, sgemm, [AC_CHECK_LIB(sunperf, sgemm,
[BLAS_LIBS="-xlic_lib=sunperf -lsunmath $BLAS_LIBDIR" [BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
pac_blas_ok=yes],[],[-lsunmath])]) pac_blas_ok=yes],[],[-lsunmath])])
fi fi
@ -1360,26 +1360,26 @@ fi
# BLAS in SCSL library? (SGI/Cray Scientific Library) # BLAS in SCSL library? (SGI/Cray Scientific Library)
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(scs, sgemm, [pac_blas_ok=yes; BLAS_LIBS="-lscs $BLAS_LIBDIR"]) AC_CHECK_LIB(scs, sgemm, [pac_blas_ok=yes; BLAS_LIBS="-lscs"])
fi fi
# BLAS in SGIMATH library? # BLAS in SGIMATH library?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(complib.sgimath, $sgemm, AC_CHECK_LIB(complib.sgimath, $sgemm,
[pac_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath $BLAS_LIBDIR"]) [pac_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"])
fi fi
# BLAS in IBM ESSL library? (requires generic BLAS lib, too) # BLAS in IBM ESSL library? (requires generic BLAS lib, too)
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_CHECK_LIB(blas, $sgemm, AC_CHECK_LIB(blas, $sgemm,
[AC_CHECK_LIB(essl, sgemm, [AC_CHECK_LIB(essl, sgemm,
[pac_blas_ok=yes; BLAS_LIBS="-lessl -lblas $BLAS_LIBDIR"], [pac_blas_ok=yes; BLAS_LIBS="-lessl -lblas"],
[], [-lblas $FLIBS])]) [], [-lblas $FLIBS])])
fi fi
# BLAS in generic BLAS library? # BLAS in generic BLAS library?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_LANG([Fortran]) AC_LANG([Fortran])
AC_CHECK_LIB(blas, sgemm, , [pac_blas_ok=yes;BLAS_LIBS="-lblas $BLAS_LIBDIR"]) AC_CHECK_LIB(blas, sgemm, , [pac_blas_ok=yes;BLAS_LIBS="-lblas"])
fi fi
# BLAS linked to by default? (happens on some supercomputers) # BLAS linked to by default? (happens on some supercomputers)
@ -1391,7 +1391,7 @@ fi
# Generic BLAS library? # Generic BLAS library?
if test $pac_blas_ok = no; then if test $pac_blas_ok = no; then
AC_LANG([Fortran]) AC_LANG([Fortran])
AC_CHECK_LIB(blas, sgemm, [pac_blas_ok=yes; BLAS_LIBS="-lblas $BLAS_LIBDIR"]) AC_CHECK_LIB(blas, sgemm, [pac_blas_ok=yes; BLAS_LIBS="-lblas"])
fi fi
dnl AC_SUBST(BLAS_LIBS) dnl AC_SUBST(BLAS_LIBS)
@ -1400,6 +1400,9 @@ LIBS="$pac_blas_save_LIBS"
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$pac_blas_ok" = xyes; then if test x"$pac_blas_ok" = xyes; then
if test "x$BLAS_LIBDIR" != "x" ; then
BLAS_LIBS="$BLAS_LIBS $BLAS_LIBDIR";
fi
ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1]) ifelse([$1],,AC_DEFINE(HAVE_BLAS,1,[Define if you have a BLAS library.]),[$1])
: :
else else
@ -1812,7 +1815,11 @@ fi
if test "x$pac_amd_header_ok" == "xyes" ; then if test "x$pac_amd_header_ok" == "xyes" ; then
psblas_cv_amd_includes="$AMD_INCLUDES" psblas_cv_amd_includes="$AMD_INCLUDES"
AMD_LIBS="$psblas_cv_amd $AMD_LIBDIR" if test "x$AMD_LIBDIR" == "x" ; then
AMD_LIBS="$psblas_cv_amd"
else
AMD_LIBS="$psblas_cv_amd $AMD_LIBDIR"
fi
LIBS="$AMD_LIBS -lm $LIBS"; LIBS="$AMD_LIBS -lm $LIBS";
AC_MSG_CHECKING([for amd_order in $AMD_LIBS]) AC_MSG_CHECKING([for amd_order in $AMD_LIBS])
AC_TRY_LINK_FUNC(amd_order, AC_TRY_LINK_FUNC(amd_order,
@ -1958,7 +1965,11 @@ fi
if test "x$pac_metis_header_ok" = "xyes" ; then if test "x$pac_metis_header_ok" = "xyes" ; then
psblas_cv_metis_includes="$METIS_INCLUDES" psblas_cv_metis_includes="$METIS_INCLUDES"
METIS_LIBS="$psblas_cv_metis $METIS_LIBDIR" if test "x$METIS_LIBDIR" == "x" ; then
METIS_LIBS="$psblas_cv_metis"
else
METIS_LIBS="$psblas_cv_metis $METIS_LIBDIR"
fi
LIBS="$METIS_LIBS -lm $LIBS"; LIBS="$METIS_LIBS -lm $LIBS";
AC_MSG_CHECKING([for METIS_PartGraphKway in $METIS_LIBS]) AC_MSG_CHECKING([for METIS_PartGraphKway in $METIS_LIBS])
AC_TRY_LINK_FUNC(METIS_PartGraphKway, AC_TRY_LINK_FUNC(METIS_PartGraphKway,

59
configure vendored

@ -4676,11 +4676,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then : then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
printf %s "checking for $CXX option to enable C++11 features... " >&6; } printf %s "checking for $CXX option to enable C++11 features... " >&6; }
if test ${ac_cv_prog_cxx_11+y} if test ${ac_cv_prog_cxx_cxx11+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
ac_cv_prog_cxx_11=no ac_cv_prog_cxx_cxx11=no
ac_save_CXX=$CXX ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
@ -4722,11 +4722,11 @@ if test x$ac_prog_cxx_stdcxx = xno
then : then :
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
printf %s "checking for $CXX option to enable C++98 features... " >&6; } printf %s "checking for $CXX option to enable C++98 features... " >&6; }
if test ${ac_cv_prog_cxx_98+y} if test ${ac_cv_prog_cxx_cxx98+y}
then : then :
printf %s "(cached) " >&6 printf %s "(cached) " >&6
else $as_nop else $as_nop
ac_cv_prog_cxx_98=no ac_cv_prog_cxx_cxx98=no
ac_save_CXX=$CXX ac_save_CXX=$CXX
cat confdefs.h - <<_ACEOF >conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */ /* end confdefs.h. */
@ -8912,7 +8912,7 @@ printf "%s\n" "$ac_cv_lib_cblas_cblas_dgemm" >&6; }
if test "x$ac_cv_lib_cblas_cblas_dgemm" = xyes if test "x$ac_cv_lib_cblas_cblas_dgemm" = xyes
then : then :
pac_blas_ok=yes pac_blas_ok=yes
BLAS_LIBS="-lcblas -lf77blas -latlas $BLAS_LIBDIR" BLAS_LIBS="-lcblas -lf77blas -latlas"
fi fi
fi fi
@ -9041,7 +9041,7 @@ printf "%s\n" "$ac_cv_lib_satlas_cblas_dgemm" >&6; }
if test "x$ac_cv_lib_satlas_cblas_dgemm" = xyes if test "x$ac_cv_lib_satlas_cblas_dgemm" = xyes
then : then :
pac_blas_ok=yes pac_blas_ok=yes
BLAS_LIBS="-lsatlas $BLAS_LIBDIR" BLAS_LIBS="-lsatlas"
fi fi
fi fi
@ -9139,7 +9139,7 @@ fi
printf "%s\n" "$ac_cv_lib_sgemm_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_sgemm_sgemm" >&6; }
if test "x$ac_cv_lib_sgemm_sgemm" = xyes if test "x$ac_cv_lib_sgemm_sgemm" = xyes
then : then :
pac_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas $BLAS_LIBDIR" pac_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"
fi fi
fi fi
@ -9183,7 +9183,7 @@ fi
printf "%s\n" "$ac_cv_lib_openblas_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_openblas_sgemm" >&6; }
if test "x$ac_cv_lib_openblas_sgemm" = xyes if test "x$ac_cv_lib_openblas_sgemm" = xyes
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lopenblas $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lopenblas"
fi fi
fi fi
@ -9223,7 +9223,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf_lp64 -lmkl_sequential -lmkl_core -lpthread"
fi fi
# 32 bit # 32 bit
@ -9257,7 +9257,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lmkl_gf -lmkl_sequential -lmkl_core -lpthread"
fi fi
fi fi
@ -9294,7 +9294,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread"
fi fi
# 32-bit # 32-bit
@ -9328,7 +9328,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel -lmkl_sequential -lmkl_core -lpthread $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lmkl_intel -lmkl_sequential -lmkl_core -lpthread"
fi fi
fi fi
@ -9365,7 +9365,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lmkl -lguide -lpthread"
fi fi
fi fi
@ -9382,7 +9382,7 @@ printf %s "checking for $sgemm in -framework vecLib... " >&6; }
_ACEOF _ACEOF
if ac_fn_fc_try_link "$LINENO" if ac_fn_fc_try_link "$LINENO"
then : then :
pac_blas_ok=yes;BLAS_LIBS="-framework vecLib $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-framework vecLib"
fi fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \ rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext conftest$ac_exeext conftest.$ac_ext
@ -9419,7 +9419,7 @@ fi
printf "%s\n" "$ac_cv_lib_cxml_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_cxml_sgemm" >&6; }
if test "x$ac_cv_lib_cxml_sgemm" = xyes if test "x$ac_cv_lib_cxml_sgemm" = xyes
then : then :
pac_blas_ok=yes;BLAS_LIBS="-lcxml $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lcxml"
fi fi
fi fi
@ -9453,7 +9453,7 @@ fi
printf "%s\n" "$ac_cv_lib_dxml_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_dxml_sgemm" >&6; }
if test "x$ac_cv_lib_dxml_sgemm" = xyes if test "x$ac_cv_lib_dxml_sgemm" = xyes
then : then :
pac_blas_ok=yes;BLAS_LIBS="-ldxml $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-ldxml"
fi fi
@ -9516,7 +9516,7 @@ fi
printf "%s\n" "$ac_cv_lib_sunperf_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_sunperf_sgemm" >&6; }
if test "x$ac_cv_lib_sunperf_sgemm" = xyes if test "x$ac_cv_lib_sunperf_sgemm" = xyes
then : then :
BLAS_LIBS="-xlic_lib=sunperf -lsunmath $BLAS_LIBDIR" BLAS_LIBS="-xlic_lib=sunperf -lsunmath"
pac_blas_ok=yes pac_blas_ok=yes
fi fi
@ -9555,7 +9555,7 @@ fi
printf "%s\n" "$ac_cv_lib_scs_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_scs_sgemm" >&6; }
if test "x$ac_cv_lib_scs_sgemm" = xyes if test "x$ac_cv_lib_scs_sgemm" = xyes
then : then :
pac_blas_ok=yes; BLAS_LIBS="-lscs $BLAS_LIBDIR" pac_blas_ok=yes; BLAS_LIBS="-lscs"
fi fi
fi fi
@ -9591,7 +9591,7 @@ eval ac_res=\$$as_ac_Lib
printf "%s\n" "$ac_res" >&6; } printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_ac_Lib"\" = x"yes" if eval test \"x\$"$as_ac_Lib"\" = x"yes"
then : then :
pac_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath $BLAS_LIBDIR" pac_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"
fi fi
fi fi
@ -9654,7 +9654,7 @@ fi
printf "%s\n" "$ac_cv_lib_essl_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_essl_sgemm" >&6; }
if test "x$ac_cv_lib_essl_sgemm" = xyes if test "x$ac_cv_lib_essl_sgemm" = xyes
then : then :
pac_blas_ok=yes; BLAS_LIBS="-lessl -lblas $BLAS_LIBDIR" pac_blas_ok=yes; BLAS_LIBS="-lessl -lblas"
fi fi
fi fi
@ -9699,7 +9699,7 @@ then :
LIBS="-lblas $LIBS" LIBS="-lblas $LIBS"
else $as_nop else $as_nop
pac_blas_ok=yes;BLAS_LIBS="-lblas $BLAS_LIBDIR" pac_blas_ok=yes;BLAS_LIBS="-lblas"
fi fi
fi fi
@ -9755,7 +9755,7 @@ fi
printf "%s\n" "$ac_cv_lib_blas_sgemm" >&6; } printf "%s\n" "$ac_cv_lib_blas_sgemm" >&6; }
if test "x$ac_cv_lib_blas_sgemm" = xyes if test "x$ac_cv_lib_blas_sgemm" = xyes
then : then :
pac_blas_ok=yes; BLAS_LIBS="-lblas $BLAS_LIBDIR" pac_blas_ok=yes; BLAS_LIBS="-lblas"
fi fi
fi fi
@ -9765,6 +9765,9 @@ LIBS="$pac_blas_save_LIBS"
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$pac_blas_ok" = xyes; then if test x"$pac_blas_ok" = xyes; then
if test "x$BLAS_LIBDIR" != "x" ; then
BLAS_LIBS="$BLAS_LIBS $BLAS_LIBDIR";
fi
printf "%s\n" "#define HAVE_BLAS 1" >>confdefs.h printf "%s\n" "#define HAVE_BLAS 1" >>confdefs.h
@ -10225,7 +10228,11 @@ fi
if test "x$pac_metis_header_ok" = "xyes" ; then if test "x$pac_metis_header_ok" = "xyes" ; then
psblas_cv_metis_includes="$METIS_INCLUDES" psblas_cv_metis_includes="$METIS_INCLUDES"
METIS_LIBS="$psblas_cv_metis $METIS_LIBDIR" if test "x$METIS_LIBDIR" == "x" ; then
METIS_LIBS="$psblas_cv_metis"
else
METIS_LIBS="$psblas_cv_metis $METIS_LIBDIR"
fi
LIBS="$METIS_LIBS -lm $LIBS"; LIBS="$METIS_LIBS -lm $LIBS";
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for METIS_PartGraphKway in $METIS_LIBS" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for METIS_PartGraphKway in $METIS_LIBS" >&5
printf %s "checking for METIS_PartGraphKway in $METIS_LIBS... " >&6; } printf %s "checking for METIS_PartGraphKway in $METIS_LIBS... " >&6; }
@ -10492,7 +10499,11 @@ fi
if test "x$pac_amd_header_ok" == "xyes" ; then if test "x$pac_amd_header_ok" == "xyes" ; then
psblas_cv_amd_includes="$AMD_INCLUDES" psblas_cv_amd_includes="$AMD_INCLUDES"
AMD_LIBS="$psblas_cv_amd $AMD_LIBDIR" if test "x$AMD_LIBDIR" == "x" ; then
AMD_LIBS="$psblas_cv_amd"
else
AMD_LIBS="$psblas_cv_amd $AMD_LIBDIR"
fi
LIBS="$AMD_LIBS -lm $LIBS"; LIBS="$AMD_LIBS -lm $LIBS";
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for amd_order in $AMD_LIBS" >&5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for amd_order in $AMD_LIBS" >&5
printf %s "checking for amd_order in $AMD_LIBS... " >&6; } printf %s "checking for amd_order in $AMD_LIBS... " >&6; }

Loading…
Cancel
Save