1
1
openmpi/orte/mca/smr/bproc/configure.m4
Ralph Castain 8c7f0ed9ae Change the SOH to the new State Monitoring and Reporting (SMR) framework. New API's will be appearing in the new framework shortly - this just gets the name change into the system.
Other changes:

1. Remove the old xcpu components as they are not functional.

2. Fix a "bug" in orterun whereby we called dump_aborted_procs even when we normally terminated. There is still some kind of bug in this procedure, however, as we appear to be calling the orterun job_state_callback function every time a process terminates (instead of only once when they have all terminated). I'll continue digging into that one.

This will require an autogen/configure, I'm afraid.

This commit was SVN r11228.
2006-08-16 16:35:09 +00:00

49 строки
1.8 KiB
Bash

# -*- 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.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# MCA_smr_bproc_CONFIG([action-if-found], [action-if-not-found])
# -----------------------------------------------------------
AC_DEFUN([MCA_smr_bproc_CONFIG],[
OMPI_CHECK_BPROC([smr_bproc], [smr_bproc_good=1],
[smr_bproc_good=0], [smr_bproc_good=0])
#BPROC_API_VERSION was added in bproc 4.0.0, and this component
#will only compile with >= bproc 4.0.0
AS_IF([test "$smr_bproc_good" = "1"],
[AC_MSG_CHECKING(for BPROC_API_VERSION)
AC_TRY_COMPILE([#include <sys/bproc.h>],
[int foo = BPROC_API_VERSION;],
have_bproc_api_ver_msg=yes smr_bproc_good=1,
have_bproc_api_ver_msg=no smr_bproc_good=0)
AC_MSG_RESULT([$have_bproc_api_ver_msg])])
# if check worked, set wrapper flags if so.
# Evaluate succeed / fail
AS_IF([test "$smr_bproc_good" = "1"],
[smr_bproc_WRAPPER_EXTRA_LDFLAGS="$smr_bproc_LDFLAGS"
smr_bproc_WRAPPER_EXTRA_LIBS="$smr_bproc_LIBS"
$1],
[$2])
# set build flags to use in makefile
AC_SUBST([smr_bproc_CPPFLAGS])
AC_SUBST([smr_bproc_LDFLAGS])
AC_SUBST([smr_bproc_LIBS])
])dnl