mirror of https://gitlab.com/QEF/q-e.git
- configure re-processed (with autotools 2.65) to
include further details of BG/Q machines git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9313 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
56efea0de9
commit
72706502d9
|
@ -2799,7 +2799,7 @@ ppc64-bg | ppc64-bgq )
|
|||
try_f90="bgxlf90_r"
|
||||
fi
|
||||
try_arflags="ruv"
|
||||
try_dflags="-D__AIX -D__XLF"
|
||||
try_dflags="-D__XLF"
|
||||
;;
|
||||
* )
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arch : unsupported architecture?" >&5
|
||||
|
@ -5155,11 +5155,11 @@ ppc64-bgq:*xlf* )
|
|||
else
|
||||
try_fflags="-qalias=noaryovrlp:nointptr -O3 -qstrict -qdpc=e -qarch=qp -qtune=qp"
|
||||
fi
|
||||
try_fflags_openmp="-qsmp=omp -qtm -qthreaded"
|
||||
try_fflags_openmp="-qsmp=noauto:omp -qtm -qthreaded"
|
||||
try_f90flags="\$(FFLAGS) -qsuffix=cpp=f90"
|
||||
try_fflags_noopt="-O0"
|
||||
try_ldflags=""
|
||||
try_ldflags_openmp="-qstatic -qsmp=omp -qtm -qthreaded"
|
||||
try_ldflags_openmp="-qstatic -qsmp=noauto:omp -qtm -qthreaded"
|
||||
pre_fdflags="-WF,"
|
||||
xlf_flags=1
|
||||
;;
|
||||
|
@ -8120,6 +8120,73 @@ fi
|
|||
if test "$ac_cv_search_vexp" != "no" ; then break ; fi
|
||||
done
|
||||
;;
|
||||
ppc64-bgq )
|
||||
# check for mass (in several directories)
|
||||
try_libdirs="/opt/ibmcmp/xlmass/bg/7.3/bglib64"
|
||||
try_libdirs="$libdirs $try_libdirs $ld_library_path"
|
||||
|
||||
for dir in none $try_libdirs
|
||||
do
|
||||
unset ac_cv_search_vexp # clear cached value
|
||||
if test "$dir" = "none"
|
||||
then
|
||||
try_loption=
|
||||
else
|
||||
echo $ECHO_N "in $dir: " $ECHO_C
|
||||
try_loption="-L$dir"
|
||||
fi
|
||||
FFLAGS="$test_fflags"
|
||||
LDFLAGS="$test_ldflags $try_loption"
|
||||
LIBS=""
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing vexp" >&5
|
||||
$as_echo_n "checking for library containing vexp... " >&6; }
|
||||
if test "${ac_cv_search_vexp+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_func_search_save_LIBS=$LIBS
|
||||
cat > conftest.$ac_ext <<_ACEOF
|
||||
program main
|
||||
call vexp
|
||||
end
|
||||
_ACEOF
|
||||
for ac_lib in '' massv; do
|
||||
if test -z "$ac_lib"; then
|
||||
ac_res="none required"
|
||||
else
|
||||
ac_res=-l$ac_lib
|
||||
LIBS="-l$ac_lib -lmass_simd $ac_func_search_save_LIBS"
|
||||
fi
|
||||
if ac_fn_f77_try_link "$LINENO"; then :
|
||||
ac_cv_search_vexp=$ac_res
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext
|
||||
if test "${ac_cv_search_vexp+set}" = set; then :
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test "${ac_cv_search_vexp+set}" = set; then :
|
||||
|
||||
else
|
||||
ac_cv_search_vexp=no
|
||||
fi
|
||||
rm conftest.$ac_ext
|
||||
LIBS=$ac_func_search_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_vexp" >&5
|
||||
$as_echo "$ac_cv_search_vexp" >&6; }
|
||||
ac_res=$ac_cv_search_vexp
|
||||
if test "$ac_res" != no; then :
|
||||
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
||||
|
||||
fi
|
||||
|
||||
if test "$ac_cv_search_vexp" = "-lmassv"
|
||||
then mass_libs="$try_loption $ac_cv_search_vexp -lmass_simd"
|
||||
fi
|
||||
if test "$ac_cv_search_vexp" != "no" ; then break ; fi
|
||||
done
|
||||
;;
|
||||
|
||||
ppc64* )
|
||||
# check for mass (in several directories)
|
||||
|
|
Loading…
Reference in New Issue