|
|
|
@ -628,7 +628,9 @@ LTLIBOBJS
|
|
|
|
|
LIBOBJS
|
|
|
|
|
COMPILERULES
|
|
|
|
|
MODEXT
|
|
|
|
|
FDEFINES
|
|
|
|
|
AMGCXXDEFINES
|
|
|
|
|
AMGCDEFINES
|
|
|
|
|
AMGFDEFINES
|
|
|
|
|
SLUDIST_LIBS
|
|
|
|
|
SLUDIST_FLAGS
|
|
|
|
|
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_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
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
|
|
|
|
|
# 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
|
|
|
|
@ -3802,7 +3804,7 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
if test -z "$CC"; then
|
|
|
|
|
ac_ct_CC=$CC
|
|
|
|
|
for ac_prog in xlc pgcc icc gcc cc
|
|
|
|
|
for ac_prog in cc xlc pgcc icc gcc
|
|
|
|
|
do
|
|
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
|
|
|
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: 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)
|
|
|
|
|
###############################################################################
|
|
|
|
@ -9289,50 +9295,9 @@ else
|
|
|
|
|
PSBLAS_INSTALL_MAKEINC="";
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "x$pac_cv_status_file" != "xNONE"; then
|
|
|
|
|
COMPILERULES='';
|
|
|
|
|
else
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
AMGFDEFINES="$FDEFINES"
|
|
|
|
|
AMGCDEFINES="$CDEFINES"
|
|
|
|
|
AMGCXXDEFINES="$CXXDEFINES"
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
# Variable substitutions : the Make.inc.in will have these @VARIABLES@
|
|
|
|
@ -9364,6 +9329,8 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|