b661f160ba
any arbitrary command as a notifier, potentially allowing just about anything to be a notifier. This component forks a child during orte_init() to avoid forking problems with some OS-bypass networks. The following MCA parameters are available: notifier_command_cmd: Default: /sbin/initlog -f $s -n "Open MPI" -s "$S: $m (errorcode: $e)" Command to execute, with substitution. $s = integer severity; $S = string severity; $e = integer error code; $m = string message notifier_command_timeout: Default: 30 Timeout (in seconds) of the command This commit was SVN r21076.
19 строки
540 B
Plaintext
19 строки
540 B
Plaintext
# -*- command-script -*-
|
|
#
|
|
# Copyright (c) 2007 Sandia National Laboratories. All rights reserved.
|
|
# Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
# MCA_notifier_command_CONFIG([action-if-found], [action-if-not-found])
|
|
# -----------------------------------------------------------
|
|
AC_DEFUN([MCA_notifier_command_CONFIG], [
|
|
# We need fork() and pipe()
|
|
AC_CHECK_FUNC([fork],
|
|
[AC_CHECK_FUNC([pipe], [$1], [$2])], [$2])
|
|
])
|