|
|
|
@ -12662,7 +12662,7 @@ else
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }; pac_sludist_version="2_3";
|
|
|
|
|
$as_echo "no" >&6; }; pac_sludist_version="3";
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
@ -12672,7 +12672,68 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
if test "x$pac_sludist_version" == "x4" ; then
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: checking for superlu_dist version 5" >&5
|
|
|
|
|
$as_echo_n "checking for superlu_dist version 5... " >&6; }
|
|
|
|
|
ac_ext=c
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
ac_cc=${MPICC-$CC}
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* confdefs.h. */
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include "superlu_ddefs.h"
|
|
|
|
|
int testdslud()
|
|
|
|
|
{ superlu_dist_options_t options;
|
|
|
|
|
int n;
|
|
|
|
|
set_default_options_dist(&options);
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (ac_try="$ac_compile"
|
|
|
|
|
case "(($ac_try" in
|
|
|
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
|
*) ac_try_echo=$ac_try;;
|
|
|
|
|
esac
|
|
|
|
|
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
|
|
$as_echo "$ac_try_echo") >&5
|
|
|
|
|
(eval "$ac_compile") 2>conftest.er1
|
|
|
|
|
ac_status=$?
|
|
|
|
|
grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
|
|
rm -f conftest.er1
|
|
|
|
|
cat conftest.err >&5
|
|
|
|
|
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_c_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest.$ac_objext; then
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }; pac_sludist_version="5";
|
|
|
|
|
else
|
|
|
|
|
$as_echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }; pac_sludist_version="4";
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
ac_ext=c
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
LIBS="$save_LIBS";
|
|
|
|
|
CPPFLAGS="$save_CPPFLAGS";
|
|
|
|
|
CC="$save_CC";
|
|
|
|
|