⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 The example for Boor USING MPI2
💻
📖 第 1 页 / 共 5 页
字号:
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \  | --no-cr | --no-c) ;;  -no-recursion | --no-recursion | --no-recursio | --no-recursi \  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)  ac_configure_args="$ac_configure_args '$ac_arg'" ;;  *) ac_configure_args="$ac_configure_args $ac_arg" ;;  esacdone# NLS nuisances.# Only set these to C if already set.  These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# A filename unique to this package, relative to the directory that# configure is in, which we can look for to find out if srcdir is correct.ac_unique_file=Makefile.in# Find the source files, if location was not specified.if test -z "$srcdir"; then  ac_srcdir_defaulted=yes  # Try the directory containing this script, then its parent.  ac_prog=$0  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  srcdir=$ac_confdir  if test ! -r $srcdir/$ac_unique_file; then    srcdir=..  fielse  ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then  if test "$ac_srcdir_defaulted" = yes; then    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }  else    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }  fifisrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`# Prefer explicitly selected file to automatically selected ones.if test -z "$CONFIG_SITE"; then  if test "x$prefix" != xNONE; then    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"  else    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"  fififor ac_site_file in $CONFIG_SITE; do  if test -r "$ac_site_file"; then    echo "loading site script $ac_site_file"    . "$ac_site_file"  fidoneif test "X$cache_system" = "X" ; then    if test "$cache_file" != "/dev/null" ; then        # Get the directory for the cache file, if any	        cache_system=`echo $cache_file | sed -e 's%^\(.*/\)[^/]*%\1/config.system%'`	        test "x$cache_system" = "x$cache_file" && cache_system="config.system"    fifiif test "X$enable_cache" = "Xnotgiven" -o "X$enable_cache" = "X" ; then    # check for valid cache file    if uname -srm >/dev/null 2>&1 ; then		cleanargs=`echo "$CC $F77 $CXX $F90" | tr '"' ' '`        testval="`uname -srm` $cleanargs"        if test -f "$cache_system" -a -n "$testval" ; then	    if test "$testval" = "`cat $cache_system`" ; then	        enable_cache="yes"	    fi        elif test ! -f "$cache_system" -a -n "$testval" ; then	    echo "$testval" > $cache_system	    # remove the cache file because it may not correspond to our	    # system	    rm -f $cache_file	    enable_cache="yes"        fi    fifiif test "X$enable_cache" = "Xyes" ; then  if test -r "$cache_file" ; then    echo "loading cache $cache_file"    . $cache_file  else    echo "creating cache $cache_file"    > $cache_file    rm -f $cache_system    cleanargs=`echo "$CC $F77 $CXX" | tr '"' ' '`    testval="`uname -srm` $cleanargs"    echo "$testval" > $cache_system  fielse  cache_file="/dev/null"fiac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossac_exeext=ac_objext=oif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fi # Check whether --enable-cache or --disable-cache was given.if test "${enable_cache+set}" = set; then  enableval="$enable_cache"  enable_cache="$enableval"else  enable_cache="notgiven"fi# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then  enableval="$enable_echo"  set -xfi# Check whether --with-mpich or --without-mpich was given.if test "${with_mpich+set}" = set; then  withval="$with_mpich"  ac_mpi_type=mpichfi# Check whether --with-lammpi or --without-lammpi was given.if test "${with_lammpi+set}" = set; then  withval="$with_lammpi"  ac_mpi_type=lammpifi# Check whether --with-ibmmpi or --without-ibmmpi was given.if test "${with_ibmmpi+set}" = set; then  withval="$with_ibmmpi"  ac_mpi_type=ibmmpifi# Check whether --with-sgimpi or --without-sgimpi was given.if test "${with_sgimpi+set}" = set; then  withval="$with_sgimpi"  ac_mpi_type=sgimpifiif test "X$ac_mpi_type" = "X" ; then    if test "X" != "X" ; then        ac_mpi_type=    else        ac_mpi_type=unknown    fificase $ac_mpi_type in	mpich)                                if test "X$pac_lib_mpi_is_building" != "Xyes" ; then            save_PATH="$PATH"            if test "$with_mpich" != "yes" -a "$with_mpich" != "no" ; then 		# Look for commands; if not found, try adding bin to the		# path		if test ! -x $with_mpich/mpicc -a -x $with_mpich/bin/mpicc ; then			with_mpich="$with_mpich/bin"		fi                PATH=$with_mpich:${PATH}            fi            # Extract the first word of "mpicc", so it can be a program name with args.set dummy mpicc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:643: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPICC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPICC" in  /*)  ac_cv_path_MPICC="$MPICC" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPICC="$MPICC" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPICC="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPICC="$ac_cv_path_MPICC"if test -n "$MPICC"; then  echo "$ac_t""$MPICC" 1>&6else  echo "$ac_t""no" 1>&6fi            TESTCC=${CC-cc}            CC="$MPICC"            # Extract the first word of "mpif77", so it can be a program name with args.set dummy mpif77; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:680: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPIF77'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPIF77" in  /*)  ac_cv_path_MPIF77="$MPIF77" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPIF77="$MPIF77" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPIF77="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPIF77="$ac_cv_path_MPIF77"if test -n "$MPIF77"; then  echo "$ac_t""$MPIF77" 1>&6else  echo "$ac_t""no" 1>&6fi            TESTF77=${F77-f77}            F77="$MPIF77"            # Extract the first word of "mpif90", so it can be a program name with args.set dummy mpif90; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:717: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPIF90'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPIF90" in  /*)  ac_cv_path_MPIF90="$MPIF90" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPIF90="$MPIF90" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPIF90="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPIF90="$ac_cv_path_MPIF90"if test -n "$MPIF90"; then  echo "$ac_t""$MPIF90" 1>&6else  echo "$ac_t""no" 1>&6fi            TESTF90=${F90-f90}            F90="$MPIF90"            # Extract the first word of "mpiCC", so it can be a program name with args.set dummy mpiCC; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:754: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPICXX'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPICXX" in  /*)  ac_cv_path_MPICXX="$MPICXX" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPICXX="$MPICXX" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPICXX="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPICXX="$ac_cv_path_MPICXX"if test -n "$MPICXX"; then  echo "$ac_t""$MPICXX" 1>&6else  echo "$ac_t""no" 1>&6fi            TESTCXX=${CXX-CC}            CXX="$MPICXX"	    PATH="$save_PATH"  	    MPILIBNAME="mpich"        else 	    # All of the above should have been passed in the environment!	    :        fi	;;	lammpi)	                        save_PATH="$PATH"        if test "$with_mpich" != "yes" -a "$with_mpich" != "no" ; then 	    # Look for commands; if not found, try adding bin to the path		if test ! -x $with_lammpi/mpicc -a -x $with_lammpi/bin/mpicc ; then			with_lammpi="$with_lammpi/bin"		fi                PATH=$with_lammpi:${PATH}        fi        # Extract the first word of "mpicc", so it can be a program name with args.set dummy mpicc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:807: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPICC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPICC" in  /*)  ac_cv_path_MPICC="$MPICC" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPICC="$MPICC" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPICC="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPICC="$ac_cv_path_MPICC"if test -n "$MPICC"; then  echo "$ac_t""$MPICC" 1>&6else  echo "$ac_t""no" 1>&6fi        TESTCC=${CC-cc}        CC="$MPICC"        # Extract the first word of "mpif77", so it can be a program name with args.set dummy mpif77; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:844: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_MPIF77'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  case "$MPIF77" in  /*)  ac_cv_path_MPIF77="$MPIF77" # Let the user override the test with a path.  ;;  ?:/*)			   ac_cv_path_MPIF77="$MPIF77" # Let the user override the test with a dos path.  ;;  *)  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"  ac_dummy="$PATH"  for ac_dir in $ac_dummy; do     test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_path_MPIF77="$ac_dir/$ac_word"      break    fi  done  IFS="$ac_save_ifs"  ;;esacfiMPIF77="$ac_cv_path_MPIF77"if test -n "$MPIF77"; then  echo "$ac_t""$MPIF77" 1>&6else  echo "$ac_t""no" 1>&6fi        TESTF77=${F77-f77}        F77="$MPIF77"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -