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

📄 configure.in

📁 fortran并行计算包
💻 IN
字号:
AC_PREREQ(2.59)AC_INIT(configure.in)dnl The MPICH2 top-level configure adds a bunch of flags to thednl user-defined CFLAGS by processing different configure command-linednl arguments (--enable-g, --enable-default-optimization). These updateddnl flags are passed down as a separate flag. Here, we don't care aboutdnl the user-defined flags, but rather this updated flags, so we justdnl overwrite CFLAGS with them.PAC_SUBCONFIG_INIT()dnl This is not completely implemented yet.dnl AC_ARG_WITH(libatomic,dnl [--with-libatomic=name - Specify the location of the libatomic package],dnl with_libatomic=no)dnldnl Set the directory that contains support scripts such as install-sh anddnl config.guessdnlAC_CONFIG_AUX_DIR(../../../../confdb)dnldnl Definitions will be placed in this file rather than in the DEFS variablednlAC_CONFIG_HEADER(mpid_locksconf.h)AH_TOP([/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef MPID_LOCKSCONF_H_INCLUDED#define MPID_LOCKSCONF_H_INCLUDED])AH_BOTTOM([#endif])echo "RUNNING CONFIGURE FOR LOCKS"dnldnl First check that we have a clean build if we are doing a VPATH buildPAC_VPATH_CHECK()PAC_PROG_MAKEAC_CHECK_PROGS(AR,ar)if test -z "$AR" ; then    AC_MSG_ERROR([The program ar is required for building MPICH2.  Make sure that your path includes ar])fi# Note that we set RANLIB to true if we don't find it (some systems neither# need it nor provide it)AC_CHECK_PROGS(RANLIB,ranlib,true)AC_CHECK_FUNCS( yield sched_yield usleep sleep select )AC_CHECK_FUNCS( mutex_init compare_and_swap )AC_CHECK_FUNCS( pthread_mutexattr_init pthread_mutexattr_setpshared )AC_CHECK_HEADERS( pthread.h sched.h )if test "$HAVE_SPARC_INLINE_PROCESS_LOCKS" = "yes" ; then    AC_DEFINE(HAVE_SPARC_INLINE_PROCESS_LOCKS, 1, [Use inline spin locks on SPARC architectures])    # The current code design adds a .il file to CFLAGS, which (a) doesn't     # always reach all of the necessary files (I saw failures in ch3_progress.c    # where the inline file was not in the Makefile) and (a) adds the inline    # where it should not be, such as in mpicc.    CFLAGS="$CFLAGS $LOCKCFLAGS"dnl     AC_MSG_ERROR([Use of inline process locks is not supported.  Please volunteer to fix this code])fi# Add the MPICH2 include flags to CPPFLAGS.  CPPFLAGS="$CPPFLAGS $MPICH2_INCLUDE_FLAGS"AC_SUBST(AR)AC_SUBST(RANLIB)AC_SUBST(MPILIBNAME)AC_SUBST(CC)AC_SUBST(CFLAGS)AC_SUBST(CPPFLAGS)PAC_CC_SUBDIR_SHLIBSAC_SUBST(master_top_srcdir)dnl EtagsAC_SUBST(ETAGS)AC_SUBST(ETAGSADD)export ETAGSexport ETAGSADDdnldnl Dependency handlingAC_SUBST(MAKE_DEPEND_C)dnl Place holder macro for finalizationPAC_SUBCONFIG_FINALIZE()AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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