a0d5c80ce0
Add orte configuration option to control the use of the framework in the system. Although the code will build, it will not be active unless configured with --enable-bootstrap. If bootstrap is enabled and the new opal_sysinfo framework can successfully determine the cpu model, pass that info to the application as an MCA param to support some work at Sun. Also, have daemons report back the resources they find to guide process mapping in bootstrap operations (i.e., where the daemon starts at node boot as opposed to being launched at application start). Adjust some platform files to enable these capabilities. This commit was SVN r22244.
118 строки
4.3 KiB
Bash
118 строки
4.3 KiB
Bash
dnl -*- shell-script -*-
|
|
dnl
|
|
dnl Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
|
|
dnl University Research and Technology
|
|
dnl Corporation. All rights reserved.
|
|
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
dnl of Tennessee Research Foundation. All rights
|
|
dnl reserved.
|
|
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
dnl University of Stuttgart. All rights reserved.
|
|
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
|
dnl All rights reserved.
|
|
dnl Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved.
|
|
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
|
dnl Copyright (c) 2009 IBM Corporation. All rights reserved.
|
|
dnl Copyright (c) 2009 Los Alamos National Security, LLC. All rights
|
|
dnl reserved.
|
|
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
|
dnl
|
|
dnl $COPYRIGHT$
|
|
dnl
|
|
dnl Additional copyrights may follow
|
|
dnl
|
|
dnl $HEADER$
|
|
dnl
|
|
|
|
|
|
AC_DEFUN([ORTE_CONFIGURE_OPTIONS],[
|
|
ompi_show_subtitle "ORTE Configuration options"
|
|
|
|
#
|
|
# Minimal RTE support
|
|
#
|
|
AC_MSG_CHECKING([if want full RTE support])
|
|
AC_ARG_WITH([rte-support],
|
|
[AC_HELP_STRING([--without-rte-support],
|
|
[Build without RTE support for systems that do not require it (default: full RTE support built)])])
|
|
if test "$with_rte_support" = "no"; then
|
|
AC_MSG_RESULT([no])
|
|
orte_without_full_support=1
|
|
list_of_frameworks="errmgr,ess-singleton,ess-hnp,ess-tool,ess-env,filem,grpcomm-basic,grpcomm-bad,iof,odls,oob,plm,ras,rmaps,rml,routed,snapc,btl-sm,coll-sm,common-sm,mpool-sm,dpm-orte,pubsub-orte"
|
|
if test -z $enable_mca_no_build ; then
|
|
enable_mca_no_build="$list_of_frameworks"
|
|
else
|
|
enable_mca_no_build="$enable_mca_no_build,$list_of_frameworks"
|
|
fi
|
|
else
|
|
AC_MSG_RESULT([yes])
|
|
orte_without_full_support=0
|
|
fi
|
|
AC_DEFINE_UNQUOTED([ORTE_DISABLE_FULL_SUPPORT], [$orte_without_full_support],
|
|
[Build full RTE support])
|
|
AM_CONDITIONAL(ORTE_DISABLE_FULL_SUPPORT, test "$with_rte_support" = "no")
|
|
|
|
|
|
#
|
|
# Do we want orterun's --prefix behavior to be enabled by default?
|
|
#
|
|
AC_MSG_CHECKING([if want orterun "--prefix" behavior to be enabled by default])
|
|
AC_ARG_ENABLE([orterun-prefix-by-default],
|
|
[AC_HELP_STRING([--enable-orterun-prefix-by-default],
|
|
[Make "orterun ..." behave exactly the same as "orterun --prefix \$prefix" (where \$prefix is the value given to --prefix in configure)])])
|
|
AC_ARG_ENABLE([mpirun-prefix-by-default],
|
|
[AC_HELP_STRING([--enable-mpirun-prefix-by-default],
|
|
[Synonym for --enable-orterun-prefix-by-default])])
|
|
if test "$enable_orterun_prefix_by_default" = ""; then
|
|
enable_orterun_prefix_by_default=$enable_mpirun_prefix_by_default
|
|
fi
|
|
if test "$enable_orterun_prefix_by_default" = "yes"; then
|
|
AC_MSG_RESULT([yes])
|
|
orte_want_orterun_prefix_by_default=1
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
orte_want_orterun_prefix_by_default=0
|
|
fi
|
|
AC_DEFINE_UNQUOTED([ORTE_WANT_ORTERUN_PREFIX_BY_DEFAULT],
|
|
[$orte_want_orterun_prefix_by_default],
|
|
[Whether we want orterun to effect "--prefix $prefix" by default])
|
|
|
|
#
|
|
# Do we want reliable multicast enabled?
|
|
#
|
|
|
|
AC_MSG_CHECKING([if want reliable multicast])
|
|
AC_ARG_ENABLE([multicast],
|
|
[AC_HELP_STRING([--enable-multicast],
|
|
[Enable reliable multicast messaging (default: disabled)])])
|
|
if test "$enable_multicast" = "yes"; then
|
|
AC_MSG_RESULT([yes])
|
|
orte_want_multicast=1
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
orte_want_multicast=0
|
|
fi
|
|
AC_DEFINE_UNQUOTED([ORTE_ENABLE_MULTICAST], [$orte_want_multicast],
|
|
[Enable reliable multicast messaging])
|
|
|
|
#
|
|
# Do we want bootstrap of daemons enabled?
|
|
#
|
|
|
|
AC_MSG_CHECKING([if want bootstrap])
|
|
AC_ARG_ENABLE([bootstrap],
|
|
[AC_HELP_STRING([--enable-bootstrap],
|
|
[Enable bootstrap of daemons at node startup (default: disabled)])])
|
|
if test "$enable_bootstrap" = "yes"; then
|
|
AC_MSG_RESULT([yes])
|
|
orte_want_bootstrap=1
|
|
else
|
|
AC_MSG_RESULT([no])
|
|
orte_want_bootstrap=0
|
|
fi
|
|
AC_DEFINE_UNQUOTED([ORTE_ENABLE_BOOTSTRAP], [$orte_want_bootstrap],
|
|
[Enable bootstrap of daemons at node startup])
|
|
|
|
|
|
])dnl
|