2008-02-17 19:29:06 +00:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2010-09-17 23:04:06 +00:00
|
|
|
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
|
2008-02-17 19:29:06 +00:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2010-09-17 23:04:06 +00:00
|
|
|
#
|
|
|
|
# Set the config priority so that, if we can build,
|
|
|
|
# only ALPS component will build. This is set higher
|
|
|
|
# than the CNOS component to ensure we don't get both
|
|
|
|
# since the ALPS component will -only- build if specifically
|
|
|
|
# ordered to do so - which means we don't want the CNOS one
|
|
|
|
AC_DEFUN([MCA_orte_ess_alps_PRIORITY], [10])
|
|
|
|
|
2008-02-28 01:57:57 +00:00
|
|
|
# MCA_ess_alps_CONFIG([action-if-found], [action-if-not-found])
|
2008-02-17 19:29:06 +00:00
|
|
|
# -----------------------------------------------------------
|
2010-09-17 23:04:06 +00:00
|
|
|
AC_DEFUN([MCA_orte_ess_alps_CONFIG],[
|
|
|
|
AC_CONFIG_FILES([orte/mca/ess/alps/Makefile])
|
|
|
|
|
2009-11-09 14:26:24 +00:00
|
|
|
AC_CHECK_HEADERS([catamount/cnos_mpi_os.h], [],
|
|
|
|
[AC_CHECK_HEADERS([cnos_mpi_os.h], [], [$2],
|
|
|
|
[AC_INCLUDES_DEFAULT])],
|
|
|
|
[AC_INCLUDES_DEFAULT])
|
|
|
|
|
2009-10-24 01:04:35 +00:00
|
|
|
ORTE_CHECK_ALPS([ess_alps],
|
2008-02-17 19:29:06 +00:00
|
|
|
[AC_CHECK_FUNC([cnos_get_rank], [$1], [$2])],
|
|
|
|
[$2])
|
|
|
|
])dnl
|