|
|
@ -628,7 +628,9 @@ LTLIBOBJS
|
|
|
|
LIBOBJS
|
|
|
|
LIBOBJS
|
|
|
|
COMPILERULES
|
|
|
|
COMPILERULES
|
|
|
|
MODEXT
|
|
|
|
MODEXT
|
|
|
|
FDEFINES
|
|
|
|
AMGCXXDEFINES
|
|
|
|
|
|
|
|
AMGCDEFINES
|
|
|
|
|
|
|
|
AMGFDEFINES
|
|
|
|
SLUDIST_LIBS
|
|
|
|
SLUDIST_LIBS
|
|
|
|
SLUDIST_FLAGS
|
|
|
|
SLUDIST_FLAGS
|
|
|
|
UMF_LIBS
|
|
|
|
UMF_LIBS
|
|
|
@ -3758,7 +3760,7 @@ 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_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
if test -n "$ac_tool_prefix"; then
|
|
|
|
for ac_prog in xlc pgcc icc gcc cc
|
|
|
|
for ac_prog in cc xlc pgcc icc gcc
|
|
|
|
do
|
|
|
|
do
|
|
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
|
@ -3802,7 +3804,7 @@ fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$CC"; then
|
|
|
|
if test -z "$CC"; then
|
|
|
|
ac_ct_CC=$CC
|
|
|
|
ac_ct_CC=$CC
|
|
|
|
for ac_prog in xlc pgcc icc gcc cc
|
|
|
|
for ac_prog in cc xlc pgcc icc gcc
|
|
|
|
do
|
|
|
|
do
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
|
set dummy $ac_prog; ac_word=$2
|
|
|
@ -6398,6 +6400,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: PSBLAS size of LPK \"$pac_cv_psblas_lpk\"." >&5
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: PSBLAS size of LPK \"$pac_cv_psblas_lpk\"." >&5
|
|
|
|
$as_echo "$as_me: PSBLAS size of LPK \"$pac_cv_psblas_lpk\"." >&6;}
|
|
|
|
$as_echo "$as_me: PSBLAS size of LPK \"$pac_cv_psblas_lpk\"." >&6;}
|
|
|
|
|
|
|
|
if test x"$pac_cv_psblas_lpk" == x8"" ; then
|
|
|
|
|
|
|
|
CXXDEFINES="-DBIT_64 $CXXDEFINES";
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
# Parachute rules for ar and ranlib ... (could cause problems)
|
|
|
|
# Parachute rules for ar and ranlib ... (could cause problems)
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
@ -9289,50 +9295,9 @@ else
|
|
|
|
PSBLAS_INSTALL_MAKEINC="";
|
|
|
|
PSBLAS_INSTALL_MAKEINC="";
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$pac_cv_status_file" != "xNONE"; then
|
|
|
|
AMGFDEFINES="$FDEFINES"
|
|
|
|
COMPILERULES='';
|
|
|
|
AMGCDEFINES="$CDEFINES"
|
|
|
|
else
|
|
|
|
AMGCXXDEFINES="$CXXDEFINES"
|
|
|
|
COMPILERULES='
|
|
|
|
|
|
|
|
FLINK=$(MPFC)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These should be portable rules, arent they?
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
|
|
|
|
$(CC) $(CCOPT) $(CINCLUDES) $(CDEFINES) -c $< -o $@
|
|
|
|
|
|
|
|
.f90.o:
|
|
|
|
|
|
|
|
$(FC) $(FCOPT) $(FINCLUDES) -c $< -o $@
|
|
|
|
|
|
|
|
.F90.o:
|
|
|
|
|
|
|
|
$(FC) $(FCOPT) $(FINCLUDES) $(FDEFINES) -c $< -o $@'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COMPILERULES="
|
|
|
|
|
|
|
|
# The following ones are the variables used by the PSBLAS make scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FC=$FC
|
|
|
|
|
|
|
|
CC=$CC
|
|
|
|
|
|
|
|
FCOPT=$FCOPT
|
|
|
|
|
|
|
|
CCOPT=$CCOPT
|
|
|
|
|
|
|
|
FMFLAG=$FMFLAG
|
|
|
|
|
|
|
|
FIFLAG=$FIFLAG
|
|
|
|
|
|
|
|
EXTRA_OPT=$EXTRA_OPT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BASEMODNAME=$BASEMODNAME
|
|
|
|
|
|
|
|
PRECMODNAME=$PRECMODNAME
|
|
|
|
|
|
|
|
METHDMODNAME=$METHDMODNAME
|
|
|
|
|
|
|
|
UTILMODNAME=$UTILMODNAME
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LIBS=$LIBS
|
|
|
|
|
|
|
|
BLAS=$BLAS_LIBS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# These three should be always set!
|
|
|
|
|
|
|
|
MPFC=$MPFC
|
|
|
|
|
|
|
|
MPCC=$MPCC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AR=$AR
|
|
|
|
|
|
|
|
RANLIB=$RANLIB
|
|
|
|
|
|
|
|
PSBLDLIBS=$LAPACK $BLAS_LIBS $METIS_LIB $LIBS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$COMPILERULES"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
# Variable substitutions : the Make.inc.in will have these @VARIABLES@
|
|
|
|
# Variable substitutions : the Make.inc.in will have these @VARIABLES@
|
|
|
@ -9364,6 +9329,8 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|