|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated by GNU Autoconf 2.61 for MLD2P4 1.0.
|
|
|
|
|
# Generated by GNU Autoconf 2.61 for MLD2P4 1.0.1.
|
|
|
|
|
#
|
|
|
|
|
# Report bugs to <bugreport@mld2p4.it>.
|
|
|
|
|
#
|
|
|
|
@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
|
|
# Identity of this package.
|
|
|
|
|
PACKAGE_NAME='MLD2P4'
|
|
|
|
|
PACKAGE_TARNAME='mld2p4'
|
|
|
|
|
PACKAGE_VERSION='1.0'
|
|
|
|
|
PACKAGE_STRING='MLD2P4 1.0'
|
|
|
|
|
PACKAGE_VERSION='1.0.1'
|
|
|
|
|
PACKAGE_STRING='MLD2P4 1.0.1'
|
|
|
|
|
PACKAGE_BUGREPORT='bugreport@mld2p4.it'
|
|
|
|
|
|
|
|
|
|
ac_unique_file="mlprec/mld_prec_type.f90"
|
|
|
|
@ -1200,7 +1200,7 @@ if test "$ac_init_help" = "long"; then
|
|
|
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
|
|
cat <<_ACEOF
|
|
|
|
|
\`configure' configures MLD2P4 1.0 to adapt to many kinds of systems.
|
|
|
|
|
\`configure' configures MLD2P4 1.0.1 to adapt to many kinds of systems.
|
|
|
|
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
|
|
|
|
@ -1261,7 +1261,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
|
|
case $ac_init_help in
|
|
|
|
|
short | recursive ) echo "Configuration of MLD2P4 1.0:";;
|
|
|
|
|
short | recursive ) echo "Configuration of MLD2P4 1.0.1:";;
|
|
|
|
|
esac
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
|
|
|
@ -1375,7 +1375,7 @@ fi
|
|
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
|
|
if $ac_init_version; then
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
MLD2P4 configure 1.0
|
|
|
|
|
MLD2P4 configure 1.0.1
|
|
|
|
|
generated by GNU Autoconf 2.61
|
|
|
|
|
|
|
|
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
|
|
@ -1389,7 +1389,7 @@ cat >config.log <<_ACEOF
|
|
|
|
|
This file contains any messages produced by compilers while
|
|
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
|
|
|
|
It was created by MLD2P4 $as_me 1.0, which was
|
|
|
|
|
It was created by MLD2P4 $as_me 1.0.1, which was
|
|
|
|
|
generated by GNU Autoconf 2.61. Invocation command line was
|
|
|
|
|
|
|
|
|
|
$ $0 $@
|
|
|
|
@ -3055,10 +3055,6 @@ fi
|
|
|
|
|
# But PSBLAS examples could take advantage of these libraries, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
# BLACS library presence checks
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
# METIS, SuperLU, SuperLU_Dist UMFPack libraries presence checks
|
|
|
|
|
###############################################################################
|
|
|
|
@ -4817,10 +4813,183 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Note : We would like to detect PSBLAS, but this is complicated by the
|
|
|
|
|
# module symbols mangling rules, which are compiler specific !
|
|
|
|
|
#
|
|
|
|
|
# Moreover, the PSBLAS doesn't have an installer, currently.
|
|
|
|
|
###############################################################################
|
|
|
|
|
# PSBLAS library presence checks
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking fortran 90 modules inclusion flag" >&5
|
|
|
|
|
echo $ECHO_N "checking fortran 90 modules inclusion flag... $ECHO_C" >&6; }
|
|
|
|
|
if test "${ax_f90_modflag+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_ext=${ac_fc_srcext-f}
|
|
|
|
|
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
|
|
|
|
|
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
|
|
|
|
|
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
|
|
|
|
|
|
|
|
i=0
|
|
|
|
|
while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ; do
|
|
|
|
|
i=`expr $i + 1`
|
|
|
|
|
done
|
|
|
|
|
mkdir tmpdir_$i
|
|
|
|
|
cd tmpdir_$i
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
module conftest_module
|
|
|
|
|
contains
|
|
|
|
|
subroutine conftest_routine
|
|
|
|
|
write(*,'(a)') 'gotcha!'
|
|
|
|
|
end subroutine conftest_routine
|
|
|
|
|
end module conftest_module
|
|
|
|
|
|
|
|
|
|
_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 "echo \"\$as_me:$LINENO: $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
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_fc_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest.$ac_objext; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
cd ..
|
|
|
|
|
ax_f90_modflag="not found"
|
|
|
|
|
for ax_flag in "-I " "-M" "-p"; do
|
|
|
|
|
if test "$ax_f90_modflag" = "not found" ; then
|
|
|
|
|
ax_save_FCFLAGS="$FCFLAGS"
|
|
|
|
|
FCFLAGS="$ax_save_FCFLAGS ${ax_flag}tmpdir_$i"
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
program conftest_program
|
|
|
|
|
use conftest_module
|
|
|
|
|
call conftest_routine
|
|
|
|
|
end program conftest_program
|
|
|
|
|
|
|
|
|
|
_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 "echo \"\$as_me:$LINENO: $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
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && {
|
|
|
|
|
test -z "$ac_fc_werror_flag" ||
|
|
|
|
|
test ! -s conftest.err
|
|
|
|
|
} && test -s conftest.$ac_objext; then
|
|
|
|
|
ax_f90_modflag="$ax_flag"
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
FCFLAGS="$ax_save_FCFLAGS"
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
rm -fr tmpdir_$i
|
|
|
|
|
if test "$ax_flag" = "not found" ; then
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: unable to find compiler flag for modules inclusion" >&5
|
|
|
|
|
echo "$as_me: error: unable to find compiler flag for modules inclusion" >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
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
|
|
|
|
|
{ echo "$as_me:$LINENO: result: $ax_f90_modflag" >&5
|
|
|
|
|
echo "${ECHO_T}$ax_f90_modflag" >&6; }
|
|
|
|
|
FMFLAG="${ax_f90_modflag%% *}"
|
|
|
|
|
ac_objext='.o'
|
|
|
|
|
ac_ext='f90'
|
|
|
|
|
ac_compile='${MPIFC-$FC} -c -o conftest${ac_objext} $FMFLAG$PSBLAS_DIR/lib conftest.$ac_ext 1>&5'
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for working source dir of PSBLAS" >&5
|
|
|
|
|
echo $ECHO_N "checking for working source dir of PSBLAS... $ECHO_C" >&6; }
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
program test
|
|
|
|
|
use psb_base_mod
|
|
|
|
|
end program test
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && test -s conftest${ac_objext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
{ echo "$as_me:$LINENO: result: yes." >&5
|
|
|
|
|
echo "${ECHO_T}yes." >&6; }
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no.
|
|
|
|
|
Could not find working version of PSBLAS." >&5
|
|
|
|
|
echo "$as_me: error: no.
|
|
|
|
|
Could not find working version of PSBLAS." >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
|
|
ac_objext='.o'
|
|
|
|
|
ac_ext='f90'
|
|
|
|
|
ac_compile='${MPIFC-$FC} -c -o conftest${ac_objext} $FMFLAG$PSBLAS_DIR/lib conftest.$ac_ext 1>&5'
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for version of PSBLAS supporting psb_long_int_k_" >&5
|
|
|
|
|
echo $ECHO_N "checking for version of PSBLAS supporting psb_long_int_k_... $ECHO_C" >&6; }
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
program test
|
|
|
|
|
use psb_base_mod
|
|
|
|
|
integer(psb_long_int_k_) :: val
|
|
|
|
|
end program test
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } && test -s conftest${ac_objext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
{ echo "$as_me:$LINENO: result: yes." >&5
|
|
|
|
|
echo "${ECHO_T}yes." >&6; }
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: no.
|
|
|
|
|
Your version of PSBLAS appears to be old; pleas get version 2.3.1 or newer." >&5
|
|
|
|
|
echo "$as_me: error: no.
|
|
|
|
|
Your version of PSBLAS appears to be old; pleas get version 2.3.1 or newer." >&2;}
|
|
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
@ -5275,7 +5444,7 @@ exec 6>&1
|
|
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
|
|
# values after options handling.
|
|
|
|
|
ac_log="
|
|
|
|
|
This file was extended by MLD2P4 $as_me 1.0, which was
|
|
|
|
|
This file was extended by MLD2P4 $as_me 1.0.1, which was
|
|
|
|
|
generated by GNU Autoconf 2.61. Invocation command line was
|
|
|
|
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
|
@ -5318,7 +5487,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
|
|
|
|
_ACEOF
|
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
|
|
ac_cs_version="\\
|
|
|
|
|
MLD2P4 config.status 1.0
|
|
|
|
|
MLD2P4 config.status 1.0.1
|
|
|
|
|
configured by $0, generated by GNU Autoconf 2.61,
|
|
|
|
|
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
|
|
|
|
|
|
|