mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 12:52:14 +00:00
Fix configry to include OpenMP in link command
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ EXTRA_OPT=@EXTRA_OPT@
|
||||
MPFC=@MPIFC@
|
||||
MPCC=@MPICC@
|
||||
|
||||
FLINK=$(MPFC)
|
||||
FLINK=@FLINK@
|
||||
|
||||
LIBS=@LIBS@
|
||||
|
||||
|
||||
@@ -6895,6 +6895,7 @@ FDEFINES="$psblas_cv_define_prepend-DIPK${pac_cv_ipk_size} $FDEFINES";
|
||||
FDEFINES="$psblas_cv_define_prepend-DLPK${pac_cv_lpk_size} $FDEFINES";
|
||||
CDEFINES="-DIPK${pac_cv_ipk_size} -DLPK${pac_cv_lpk_size} $CDEFINES"
|
||||
|
||||
FLINK="$MPIFC"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we want openmp " >&5
|
||||
$as_echo_n "checking whether we want openmp ... " >&6; }
|
||||
# Check whether --enable-openmp was given.
|
||||
@@ -7077,6 +7078,7 @@ if test x"$pac_cv_openmp" == x"yes" ; then
|
||||
CDEFINES="-DOPENMP $CDEFINES";
|
||||
FCOPT="$FCOPT $pac_cv_openmp_fcopt";
|
||||
CCOPT="$CCOPT $pac_cv_openmp_ccopt";
|
||||
FLINK="$FLINK $pac_cv_openmp_fcopt";
|
||||
fi
|
||||
#
|
||||
# Tests for support of various Fortran features; some of them are critical,
|
||||
|
||||
@@ -498,12 +498,14 @@ FDEFINES="$psblas_cv_define_prepend-DIPK${pac_cv_ipk_size} $FDEFINES";
|
||||
FDEFINES="$psblas_cv_define_prepend-DLPK${pac_cv_lpk_size} $FDEFINES";
|
||||
CDEFINES="-DIPK${pac_cv_ipk_size} -DLPK${pac_cv_lpk_size} $CDEFINES"
|
||||
|
||||
FLINK="$MPIFC"
|
||||
PAC_ARG_OPENMP()
|
||||
if test x"$pac_cv_openmp" == x"yes" ; then
|
||||
FDEFINES="$psblas_cv_define_prepend-DOPENMP $FDEFINES";
|
||||
CDEFINES="-DOPENMP $CDEFINES";
|
||||
FCOPT="$FCOPT $pac_cv_openmp_fcopt";
|
||||
CCOPT="$CCOPT $pac_cv_openmp_ccopt";
|
||||
FLINK="$FLINK $pac_cv_openmp_fcopt";
|
||||
fi
|
||||
#
|
||||
# Tests for support of various Fortran features; some of them are critical,
|
||||
|
||||
Reference in New Issue
Block a user