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

📄 configure.in

📁 fortran并行计算包
💻 IN
字号:
AC_PREREQ(2.59)AC_INIT()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 Definitions will be placed in this file rather than in the DEFS variableAC_CONFIG_HEADER(pmiconf.h)AH_TOP([/* -*- Mode: C; c-basic-offset:4 ; -*- *//*   *  (C) 2008 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. */#ifndef PMICONF_H_INCLUDED#define PMICONF_H_INCLUDED])AH_BOTTOM([#endif])echo "RUNNING CONFIGURE FOR THE SLURM PMI"PAC_ARG_CACHINGPAC_VPATH_CHECK()PAC_LOAD_BASE_CACHEPAC_PROG_MAKEAC_ARG_WITH(slurm,    AS_HELP_STRING([--with-slurm], [path to the slurm package]),    [SLURM_LDFLAGS="-L${with_slurm}/lib"SLURM_CPPFLAGS="-I${with_slurm}/include"],    [])LDFLAGS="$SLURM_LDFLAGS $LDFLAGS"CPPFLAGS="$SLURM_CPPFLAGS $CPPFLAGS"AC_CHECK_HEADER([slurm/pmi.h], [], [AC_MSG_ERROR([could not find slurm/pmi.h.  Configure aborted])])saveLIBS="$LIBS"LIBS=""AC_CHECK_LIB([pmi], [PMI_Init], [], AC_MSG_ERROR([could not find libpmi.  Configure aborted]))SLURM_LIBS="$SLURM_LIBS $LIBS"LIBS="$LIBS $saveLIBS"AC_SUBST(SLURM_LIBS)AC_SUBST(SLURM_LDFLAGS)AC_SUBST(SLURM_CPPFLAGS)dnl Place holder macro for finalizationPAC_SUBCONFIG_FINALIZE()AC_OUTPUT(localdefs)AC_OUTPUT(Makefile)

⌨️ 快捷键说明

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