- 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:
ccavazzoni 2012-08-15 21:05:04 +00:00
parent 56efea0de9
commit 72706502d9
1 changed files with 70 additions and 3 deletions

73
install/configure vendored
View File

@ -2799,7 +2799,7 @@ ppc64-bg | ppc64-bgq )
try_f90="bgxlf90_r" try_f90="bgxlf90_r"
fi fi
try_arflags="ruv" 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 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $arch : unsupported architecture?" >&5
@ -5155,11 +5155,11 @@ ppc64-bgq:*xlf* )
else else
try_fflags="-qalias=noaryovrlp:nointptr -O3 -qstrict -qdpc=e -qarch=qp -qtune=qp" try_fflags="-qalias=noaryovrlp:nointptr -O3 -qstrict -qdpc=e -qarch=qp -qtune=qp"
fi fi
try_fflags_openmp="-qsmp=omp -qtm -qthreaded" try_fflags_openmp="-qsmp=noauto:omp -qtm -qthreaded"
try_f90flags="\$(FFLAGS) -qsuffix=cpp=f90" try_f90flags="\$(FFLAGS) -qsuffix=cpp=f90"
try_fflags_noopt="-O0" try_fflags_noopt="-O0"
try_ldflags="" try_ldflags=""
try_ldflags_openmp="-qstatic -qsmp=omp -qtm -qthreaded" try_ldflags_openmp="-qstatic -qsmp=noauto:omp -qtm -qthreaded"
pre_fdflags="-WF," pre_fdflags="-WF,"
xlf_flags=1 xlf_flags=1
;; ;;
@ -8120,6 +8120,73 @@ fi
if test "$ac_cv_search_vexp" != "no" ; then break ; fi if test "$ac_cv_search_vexp" != "no" ; then break ; fi
done 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* ) ppc64* )
# check for mass (in several directories) # check for mass (in several directories)