|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated by GNU Autoconf 2.69 for PSBLAS 3.7.
|
|
|
|
|
# Generated by GNU Autoconf 2.69 for PSBLAS 3.7.0.
|
|
|
|
|
#
|
|
|
|
|
# Report bugs to <https://github.com/sfilippone/psblas3/issues>.
|
|
|
|
|
#
|
|
|
|
@ -580,8 +580,8 @@ MAKEFLAGS=
|
|
|
|
|
# Identity of this package.
|
|
|
|
|
PACKAGE_NAME='PSBLAS'
|
|
|
|
|
PACKAGE_TARNAME='psblas'
|
|
|
|
|
PACKAGE_VERSION='3.7'
|
|
|
|
|
PACKAGE_STRING='PSBLAS 3.7'
|
|
|
|
|
PACKAGE_VERSION='3.7.0'
|
|
|
|
|
PACKAGE_STRING='PSBLAS 3.7.0'
|
|
|
|
|
PACKAGE_BUGREPORT='https://github.com/sfilippone/psblas3/issues'
|
|
|
|
|
PACKAGE_URL=''
|
|
|
|
|
|
|
|
|
@ -626,6 +626,7 @@ ac_subst_vars='am__EXEEXT_FALSE
|
|
|
|
|
am__EXEEXT_TRUE
|
|
|
|
|
LTLIBOBJS
|
|
|
|
|
LIBOBJS
|
|
|
|
|
METISINCFILE
|
|
|
|
|
UTILLIBNAME
|
|
|
|
|
METHDLIBNAME
|
|
|
|
|
PRECLIBNAME
|
|
|
|
@ -1337,7 +1338,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 PSBLAS 3.7 to adapt to many kinds of systems.
|
|
|
|
|
\`configure' configures PSBLAS 3.7.0 to adapt to many kinds of systems.
|
|
|
|
|
|
|
|
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
|
|
|
|
|
|
|
@ -1403,7 +1404,7 @@ fi
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_init_help"; then
|
|
|
|
|
case $ac_init_help in
|
|
|
|
|
short | recursive ) echo "Configuration of PSBLAS 3.7:";;
|
|
|
|
|
short | recursive ) echo "Configuration of PSBLAS 3.7.0:";;
|
|
|
|
|
esac
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
|
|
|
@ -1546,7 +1547,7 @@ fi
|
|
|
|
|
test -n "$ac_init_help" && exit $ac_status
|
|
|
|
|
if $ac_init_version; then
|
|
|
|
|
cat <<\_ACEOF
|
|
|
|
|
PSBLAS configure 3.7
|
|
|
|
|
PSBLAS configure 3.7.0
|
|
|
|
|
generated by GNU Autoconf 2.69
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
|
|
@ -2182,7 +2183,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 PSBLAS $as_me 3.7, which was
|
|
|
|
|
It was created by PSBLAS $as_me 3.7.0, which was
|
|
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
|
|
|
|
$ $0 $@
|
|
|
|
@ -2533,7 +2534,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
# VERSION is the file containing the PSBLAS version code
|
|
|
|
|
# FIXME
|
|
|
|
|
psblas_cv_version="3.7"
|
|
|
|
|
psblas_cv_version="3.7.0"
|
|
|
|
|
|
|
|
|
|
# A sample source file
|
|
|
|
|
|
|
|
|
@ -5459,7 +5460,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# Define the identity of the package.
|
|
|
|
|
PACKAGE='psblas'
|
|
|
|
|
VERSION='3.7'
|
|
|
|
|
VERSION='3.7.0'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
@ -7363,10 +7364,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Optional features
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for Fortran VOLATILE" >&5
|
|
|
|
|
$as_echo_n "checking support for Fortran VOLATILE... " >&6; }
|
|
|
|
|
ac_ext=${ac_fc_srcext-f}
|
|
|
|
@ -7386,12 +7383,13 @@ _ACEOF
|
|
|
|
|
if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_VOLATILE $FDEFINES"
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
as_fn_error $? "Sorry, cannot build PSBLAS without support for VOLATILE" "$LINENO" 5
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
@ -7403,31 +7401,21 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking test GENERIC interfaces" >&5
|
|
|
|
|
$as_echo_n "checking test GENERIC interfaces... " >&6; }
|
|
|
|
|
ac_ext=${ac_fc_srcext-f}
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for ISO_FORTRAN_ENV" >&5
|
|
|
|
|
$as_echo_n "checking support for ISO_FORTRAN_ENV... " >&6; }
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
ac_exeext=''
|
|
|
|
|
ac_ext='F90'
|
|
|
|
|
ac_ext='f90'
|
|
|
|
|
ac_fc=${MPIFC-$FC};
|
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
module conftest
|
|
|
|
|
|
|
|
|
|
interface foo
|
|
|
|
|
subroutine i_sub_foo(v)
|
|
|
|
|
integer, intent(inout) :: v(:)
|
|
|
|
|
end subroutine i_sub_foo
|
|
|
|
|
end interface foo
|
|
|
|
|
|
|
|
|
|
interface bar
|
|
|
|
|
procedure i_sub_foo
|
|
|
|
|
end interface bar
|
|
|
|
|
|
|
|
|
|
end module conftest
|
|
|
|
|
program test
|
|
|
|
|
use iso_fortran_env
|
|
|
|
|
end program test
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
@ -7438,7 +7426,7 @@ else
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_BUGGY_GENERICS $FDEFINES"
|
|
|
|
|
as_fn_error $? "Sorry, cannot build PSBLAS without support for ISO_FORTRAN_ENV" "$LINENO" 5
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
@ -7450,8 +7438,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for Fortran FLUSH statement" >&5
|
|
|
|
|
$as_echo_n "checking support for Fortran FLUSH statement... " >&6; }
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for Fortran FINAL" >&5
|
|
|
|
|
$as_echo_n "checking support for Fortran FINAL... " >&6; }
|
|
|
|
|
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'
|
|
|
|
@ -7462,23 +7450,35 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
|
|
|
ac_fc=${MPIFC-$FC};
|
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
module conftest_mod
|
|
|
|
|
type foo
|
|
|
|
|
integer :: i
|
|
|
|
|
contains
|
|
|
|
|
final :: destroy_foo
|
|
|
|
|
end type foo
|
|
|
|
|
|
|
|
|
|
private destroy_foo
|
|
|
|
|
contains
|
|
|
|
|
subroutine destroy_foo(a)
|
|
|
|
|
type(foo) :: a
|
|
|
|
|
! Just a test
|
|
|
|
|
end subroutine destroy_foo
|
|
|
|
|
end module conftest_mod
|
|
|
|
|
program conftest
|
|
|
|
|
integer :: iunit=10
|
|
|
|
|
open(10)
|
|
|
|
|
write(10,*) 'Test '
|
|
|
|
|
flush(10)
|
|
|
|
|
close(10)
|
|
|
|
|
use conftest_mod
|
|
|
|
|
type(foo) :: foovar
|
|
|
|
|
end program conftest
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_FLUSH_STMT $FDEFINES"
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
as_fn_error $? "Sorry, cannot build PSBLAS without support for FINAL" "$LINENO" 5
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
@ -7490,31 +7490,48 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for ISO_FORTRAN_ENV" >&5
|
|
|
|
|
$as_echo_n "checking support for ISO_FORTRAN_ENV... " >&6; }
|
|
|
|
|
ac_ext=${ac_fc_srcext-f}
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Optional features
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking test GENERIC interfaces" >&5
|
|
|
|
|
$as_echo_n "checking test GENERIC interfaces... " >&6; }
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
ac_exeext=''
|
|
|
|
|
ac_ext='f90'
|
|
|
|
|
ac_ext='F90'
|
|
|
|
|
ac_fc=${MPIFC-$FC};
|
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
program test
|
|
|
|
|
use iso_fortran_env
|
|
|
|
|
end program test
|
|
|
|
|
module conftest
|
|
|
|
|
|
|
|
|
|
interface foo
|
|
|
|
|
subroutine i_sub_foo(v)
|
|
|
|
|
integer, intent(inout) :: v(:)
|
|
|
|
|
end subroutine i_sub_foo
|
|
|
|
|
end interface foo
|
|
|
|
|
|
|
|
|
|
interface bar
|
|
|
|
|
procedure i_sub_foo
|
|
|
|
|
end interface bar
|
|
|
|
|
|
|
|
|
|
end module conftest
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_ISO_FORTRAN_ENV $FDEFINES"
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_BUGGY_GENERICS $FDEFINES"
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
@ -7526,8 +7543,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for Fortran FINAL" >&5
|
|
|
|
|
$as_echo_n "checking support for Fortran FINAL... " >&6; }
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking support for Fortran FLUSH statement" >&5
|
|
|
|
|
$as_echo_n "checking support for Fortran FLUSH statement... " >&6; }
|
|
|
|
|
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'
|
|
|
|
@ -7538,29 +7555,18 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
|
|
|
|
ac_fc=${MPIFC-$FC};
|
|
|
|
|
cat > conftest.$ac_ext <<_ACEOF
|
|
|
|
|
|
|
|
|
|
module conftest_mod
|
|
|
|
|
type foo
|
|
|
|
|
integer :: i
|
|
|
|
|
contains
|
|
|
|
|
final :: destroy_foo
|
|
|
|
|
end type foo
|
|
|
|
|
|
|
|
|
|
private destroy_foo
|
|
|
|
|
contains
|
|
|
|
|
subroutine destroy_foo(a)
|
|
|
|
|
type(foo) :: a
|
|
|
|
|
! Just a test
|
|
|
|
|
end subroutine destroy_foo
|
|
|
|
|
end module conftest_mod
|
|
|
|
|
program conftest
|
|
|
|
|
use conftest_mod
|
|
|
|
|
type(foo) :: foovar
|
|
|
|
|
integer :: iunit=10
|
|
|
|
|
open(10)
|
|
|
|
|
write(10,*) 'Test '
|
|
|
|
|
flush(10)
|
|
|
|
|
close(10)
|
|
|
|
|
end program conftest
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_fc_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_FINAL $FDEFINES"
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_FLUSH_STMT $FDEFINES"
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
@ -8986,8 +8992,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
$as_echo_n "checking for METIS idx size... " >&6; }
|
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <$psblas_cv_metisincfile>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
#include "$psblas_cv_metisincfile"
|
|
|
|
|
void main(){
|
|
|
|
|
printf("%d\n",IDXTYPEWIDTH);
|
|
|
|
|
}
|
|
|
|
@ -9154,6 +9160,7 @@ if test "x$pac_cv_metis_idx" == "xunknown" ; then
|
|
|
|
|
elif test "x$psblas_cv_have_metis" == "xyes" ; then
|
|
|
|
|
FDEFINES="$psblas_cv_define_prepend-DHAVE_METIS $psblas_cv_define_prepend-DMETIS_$pac_cv_metis_idx $FDEFINES"
|
|
|
|
|
CDEFINES="-DHAVE_METIS_ $psblas_cv_metis_includes $CDEFINES -DMETIS_$pac_cv_metis_idx"
|
|
|
|
|
METISINCFILE=$psblas_cv_metisincfile
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -9418,7 +9425,6 @@ UTILLIBNAME=libpsb_util.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PSBLASRULES='
|
|
|
|
@ -9444,11 +9450,14 @@ FDEFINES=$(PSBFDEFINES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
# the following files will be created by Automake
|
|
|
|
|
|
|
|
|
|
ac_config_files="$ac_config_files Make.inc"
|
|
|
|
|
|
|
|
|
|
ac_config_files="$ac_config_files util/psb_metis_int.h"
|
|
|
|
|
|
|
|
|
|
cat >confcache <<\_ACEOF
|
|
|
|
|
# This file is a shell script that caches the results of configure
|
|
|
|
|
# tests run on this system so they can be shared between configure
|
|
|
|
@ -10015,7 +10024,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
|
|
# values after options handling.
|
|
|
|
|
ac_log="
|
|
|
|
|
This file was extended by PSBLAS $as_me 3.7, which was
|
|
|
|
|
This file was extended by PSBLAS $as_me 3.7.0, which was
|
|
|
|
|
generated by GNU Autoconf 2.69. Invocation command line was
|
|
|
|
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
|
@ -10072,7 +10081,7 @@ _ACEOF
|
|
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
|
|
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
|
|
|
ac_cs_version="\\
|
|
|
|
|
PSBLAS config.status 3.7
|
|
|
|
|
PSBLAS config.status 3.7.0
|
|
|
|
|
configured by $0, generated by GNU Autoconf 2.69,
|
|
|
|
|
with options \\"\$ac_cs_config\\"
|
|
|
|
|
|
|
|
|
@ -10192,6 +10201,7 @@ do
|
|
|
|
|
case $ac_config_target in
|
|
|
|
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
|
|
|
"Make.inc") CONFIG_FILES="$CONFIG_FILES Make.inc" ;;
|
|
|
|
|
"util/psb_metis_int.h") CONFIG_FILES="$CONFIG_FILES util/psb_metis_int.h" ;;
|
|
|
|
|
|
|
|
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
|
|
|
esac
|
|
|
|
|