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

📄 configure

📁 mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环境
💻
📖 第 1 页 / 共 5 页
字号:
# VERSION=1.2.6# AC_MSG_RESULT([Configuring ROMIO Version $VERSION])CONFIGURE_ARGS="$*"if test -n "$CONFIGURE_ARGS" ; then    echo "Configuring with args $CONFIGURE_ARGS"fi          ac_config_headers="$ac_config_headers adio/include/romioconf.h"NOF77=0NOF90=0ARCH=""arch_IRIX=""MPI=""MPI_INCLUDE_DIR=""ROMIO_INCLUDE=""TEST_LIBNAME=""FILE_SYSTEM=""# Do not set variables to empty that may be communicated from the# outside environment (e.g., MPI_LIB, MPI_BIN_DIR, LIBNAME)DEBUG=noMIPS=0BITS=0FROM_MPICH=${FROM_MPICH:-no}FROM_MPICH2=${FROM_MPICH2:-no}if test "$FROM_MPICH" = yes -a "$FROM_MPICH2" = yes ; then    { echo "$as_me:$LINENO: WARNING: Both FROM_MPICH and FROM_MPICH set to yes; at most one should  be yes" >&5echo "$as_me: WARNING: Both FROM_MPICH and FROM_MPICH set to yes; at most one should  be yes" >&2;}fiFROM_LAM=${FROM_LAM:-no}if test "$FROM_LAM" = 1 ; then FROM_LAM=yes ; fiCFLAGS=${CFLAGS:-""}LL="lld"AR_LOCAL=""DEFINE_HAVE_MPI_GREQUEST="#undef HAVE_MPI_GREQUEST"HAVE_MPI_INFO=""BUILD_MPI_INFO=""MPI_FINFO1=""MPI_FINFO2=""MPI_FINFO3=""MPI_FINFO4=""MPI_FARRAY1=""MPI_FARRAY2=""MPI_FARRAY3=""MPI_FARRAY4=""MPI_FARRAY5=""MPI_FARRAY6=""MPI_FARRAY7=""DEFS=""ROMIO_LFLAGS=""ROMIO_LIBLIST=""ROMIO_TCFLAGS=""ROMIO_TCPPFLAGS=""ROMIO_TFFLAGS=""NOPROFILE=0MPIRUN=""FORTRAN_TEST=""MAKE=${MAKE:-"make"}# foll. needed for f77 test programsF77GETARG="call getarg(i,str)"F77IARGC="iargc()"F77MPIOINC=""FTESTDEFINE=""FORTRAN_MPI_OFFSET=""MPIOF_H_INCLUDED=0MPI_OFFSET_KIND1="!"MPI_OFFSET_KIND2="!"TEST_CC=""TEST_F77=""TRY_WEAK_SYMBOLS=1## Error handlers (not used with MPICH2, which provides its own routines)MPIO_EXTRA_OBJECTS="get_errh.o set_errh.o"MPIO_EXTRA_TMP_POBJECTS="get_errh.p set_errh.p"MPIO_EXTRA_REAL_POBJECTS="_get_errh.o _set_errh.o"## Completion routines for MPIO_Requests.  MPI Implementations with# generalized requests do not need these# ioreq_c2f and ioreq_f2c are not MPIO_Requests; rather, theyMPIO_REQOBJECTS="iotest.o iotestall.o iotestany.o iotestsome.o iowait.o iowaitall.o iowaitany.o iowaitsome.o ioreq_c2f.o ioreq_f2c.o"MPIO_REQ_TMP_POBJECTS="iotest.p iowait.p iowaitall.p iowaitany.p iotestall.p iotestany.p iowaitsome.p iotestsome.p"MPIO_REQ_REAL_POBJECTS="_iotest.o _iowait.o _iowaitall.o _iowaitany.o _iotestall.o _iotestany.o _iowaitsome.o _iotestsome.o"#have_aio=no#known_filesystems="nfs ufs pfs pvfs pvfs2 testfs xfs panfs gridftp"known_mpi_impls="mpich2_mpi mpich_mpi sgi_mpi hp_mpi cray_mpi lam_mpi"## Defaults# Check whether --enable-aio or --disable-aio was given.if test "${enable_aio+set}" = set; then  enableval="$enable_aio"  if test "x$enableval" = "xno" ; then    disable_aio=yes  else    disable_aio=no  fielse  disable_aio=nofi;# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then  enableval="$enable_echo"  set -xfi;# Check whether --enable-f77 or --disable-f77 was given.if test "${enable_f77+set}" = set; then  enableval="$enable_f77"else  enable_f77=yesfi;# Check whether --enable-f90 or --disable-f90 was given.if test "${enable_f90+set}" = set; then  enableval="$enable_f90"else  enable_f90=yesfi;# Check whether --enable-weak-symbols or --disable-weak-symbols was given.if test "${enable_weak_symbols+set}" = set; then  enableval="$enable_weak_symbols"else  enable_weak_symbols=yesfi;# Check whether --enable-debug or --disable-debug was given.if test "${enable_debug+set}" = set; then  enableval="$enable_debug"fi;# Check whether --with-file-system or --without-file-system was given.if test "${with_file_system+set}" = set; then  withval="$with_file_system"fi;# Check whether --with-mpi or --without-mpi was given.if test "${with_mpi+set}" = set; then  withval="$with_mpi"fi;if test "$enable_f77" != "yes" ; then   NOF77=1fiif test "$enable_f90" != "yes" ; then   NOF90=1fiif test "$enable_debug" = "yes" ; then    DEBUG=yesfiif test "$enable_weak_symbols" = "no" ; then    TRY_WEAK_SYMBOLS=0fiMPI=$with_mpiFILE_SYSTEM=$with_file_system#ac_aux_dir=for ac_dir in confdb $srcdir/confdb; do  if test -f $ac_dir/install-sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install-sh -c"    break  elif test -f $ac_dir/install.sh; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/install.sh -c"    break  elif test -f $ac_dir/shtool; then    ac_aux_dir=$ac_dir    ac_install_sh="$ac_aux_dir/shtool install -c"    break  fidoneif test -z "$ac_aux_dir"; then  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in confdb $srcdir/confdb" >&5echo "$as_me: error: cannot find install-sh or install.sh in confdb $srcdir/confdb" >&2;}   { (exit 1); exit 1; }; }fiac_config_guess="$SHELL $ac_aux_dir/config.guess"ac_config_sub="$SHELL $ac_aux_dir/config.sub"ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.## Check that an arch was set# If it wasn't set, try to guess using "util/tarch"## Sometimes tarch looses its execute bit (!)if test -s $srcdir/util/tarch -a ! -x $srcdir/util/tarch ; then    chmod a+x $srcdir/util/tarchfiif test -z "$ARCH" -a -x $srcdir/util/tarch ; then    echo "$as_me:$LINENO: checking for architecture" >&5echo $ECHO_N "checking for architecture... $ECHO_C" >&6    ARCH=`$srcdir/util/tarch | sed s/-/_/g`    if test -z "$ARCH" ; then       echo "$as_me:$LINENO: result: Unknown!" >&5echo "${ECHO_T}Unknown!" >&6       { { echo "$as_me:$LINENO: error: Error: Couldn\'t guess target architecture, you mustset an architecture type with the environment variable ARCH" >&5echo "$as_me: error: Error: Couldn\'t guess target architecture, you mustset an architecture type with the environment variable ARCH" >&2;}   { (exit 1); exit 1; }; }    fi    eval "arch_$ARCH=1"    echo "$as_me:$LINENO: result: $ARCH" >&5echo "${ECHO_T}$ARCH" >&6fi## check for valid architecture.  Use __ so that _ALPHA_ does not match# LINUX_ALPHA_#### WE SHOULD REMOVE THIS SOONgrep __"$ARCH"_ $srcdir/.config_params > /dev/null 2>&1if test $? != 0 ; then   { echo "$as_me:$LINENO: WARNING: Unknown architecture $arch... proceeding anyway" >&5echo "$as_me: WARNING: Unknown architecture $arch... proceeding anyway" >&2;}fi### Find the home directory if not specifiedif test "X$srcdir" != "X." -a -s $srcdir/mpi-io/Makefile.in ; then    ROMIO_HOME_TRIAL=$srcdirelse    # Take advantage of autoconf2 features    if test -n "$ac_confdir" ; then        ROMIO_HOME_TRIAL=$ac_confdir    else        if test -s configure ; then	    ROMIO_HOME_TRIAL=`pwd`	else	    ac_confdir=`dirname "$0" 2>/dev/null`	    if test -n "$ac_confdir" ; then	        ROMIO_HOME_TRIAL=$ac_confdir	    fi	fi    fifiecho "$as_me:$LINENO: result: ROMIO home directory is $ROMIO_HOME_TRIAL" >&5echo "${ECHO_T}ROMIO home directory is $ROMIO_HOME_TRIAL" >&6ROMIO_HOME=$ROMIO_HOME_TRIAL# get a fully qualified pathname for our build directorytop_build_dir=`pwd`# used in romioinstall## Create the "autoconf" style directory names...# Most of these are done for us; add the documentation directories## mandir is the root for the man pagesif test -z "$mandir" ; then mandir='${prefix}/man' ; fiif test -z "$docdir" ; then docdir='${prefix}/doc' ; fiif test -z "$htmldir" ; then htmldir='${prefix}/www' ; fi## check for valid file systemif test -n "$FILE_SYSTEM" ; then   # if multiple filesystems are passed in, they are '+'-delimited   # we could set the IFS to tokenize FILE_SYSTEM, but the FILE_SYSTEM env var   # is used in multiple places in the build system: get rid of the '+'s so we   # can use the 'for x in $FILE_SYSTEM ...' idiom   FILE_SYSTEM=`echo $FILE_SYSTEM|sed -e 's/\+/ /g'`   for x in $FILE_SYSTEM   do      found=no      # We could also do test -d "ad_$y" to test for known file systems      # based on having access to the adio code.  Then adding a file      # system would not require changing configure to change known_filesystems      for y in $known_filesystems ; do          if test $x = $y ; then	      found=yes	      eval "file_system_`echo $x`=1"	      break	  fi      done      if test "$found" = "no" ; then         { echo "$as_me:$LINENO: WARNING: Unknown file system $x... proceeding anyway" >&5echo "$as_me: WARNING: Unknown file system $x... proceeding anyway" >&2;}      fi   donefi## If we are building within a known MPI implementation, we must avoid the# tests about an existing implementationif test "$FROM_MPICH" != no -o "$FROM_MPICH2" != no -o "$FROM_LAM" != no ; then    WITHIN_KNOWN_MPI_IMPL=yeselse    WITHIN_KNOWN_MPI_IMPL=nofi# check for valid MPI implementationif test -n "$MPI" ; then   found=no   for mpi in $known_mpi_impls ; do      if test "${MPI}_mpi" = "$mpi" ; then          found=yes	  break      fi   done   if test $found = no ; then      { echo "$as_me:$LINENO: WARNING: Unknown MPI implementation $MPI... proceeding anyway" >&5echo "$as_me: WARNING: Unknown MPI implementation $MPI... proceeding anyway" >&2;}   fifi## check for valid MPI include directory if specifiedif test $WITHIN_KNOWN_MPI_IMPL = no ; then   if test -n "$MPI_INCLUDE_DIR"; then      if test ! -f "$MPI_INCLUDE_DIR/mpi.h" ; then         { { echo "$as_me:$LINENO: error: Include file $MPI_INCLUDE_DIR/mpi.h not found" >&5echo "$as_me: error: Include file $MPI_INCLUDE_DIR/mpi.h not found" >&2;}   { (exit 1); exit 1; }; }      fi   else#     assume that mpi.h is in the default path#     set MPI_INCLUDE_DIR to ".", so that it translates to -I. in the#     compile command. Some compilers complain if it's only -I      MPI_INCLUDE_DIR=.   fielse   MPI_INCLUDE_DIR=.fi## check for valid MPI library if specifiedif test $WITHIN_KNOWN_MPI_IMPL = no ; then   if test -n "$MPI_LIB" ; then      if test ! -f "$MPI_LIB" ; then         { { echo "$as_me:$LINENO: error: MPI library $MPI_LIB not found" >&5echo "$as_me: error: MPI library $MPI_LIB not found" >&2;}   { (exit 1); exit 1; }; }      fi   fifi##AR="${AR:-ar} cr$AR_LOCAL"if test -z "$RANLIB" ; then    if test -n "$ac_tool_prefix"; then  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.set dummy ${ac_tool_prefix}ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_RANLIB+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$RANLIB"; then  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  for ac_exec_ext in '' $ac_executable_extensions; do  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedonefifiRANLIB=$ac_cv_prog_RANLIBif test -n "$RANLIB"; then  echo "$as_me:$LINENO: result: $RANLIB" >&5echo "${ECHO_T}$RANLIB" >&6else  echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6fifiif test -z "$ac_cv_prog_RANLIB"; then  ac_ct_RANLIB=$RANLIB  # Extract the first word of "ranlib", so it can be a program name with args.set dummy ranlib; ac_word=$2echo "$as_me:$LINENO: checking for $ac_word" >&5echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then  echo $ECHO_N "(cached) $ECHO_C" >&6else  if test -n "$ac_ct_RANLIB"; then  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.elseas_save_IFS=$IFS; IFS=$PATH_SEPARATORfor as_dir in $PATHdo  IFS=$as_save_IFS  test -z "$as_dir" && as_dir=.  for ac_exec_ext in '' $ac_executable_extensions; do  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then    ac_cv_prog_ac_ct_RANLIB="ranlib"    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5    break 2  fidonedone  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"fifiac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIBif test -n "$ac_ct_RANLIB"; then  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5echo "${ECHO_T}$ac_ct_RANLIB" >&6else  echo "$as_me:$LINENO: result: no" >&5echo "${ECHO_T}no" >&6

⌨️ 快捷键说明

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