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.
50 строки
1.6 KiB
Makefile
50 строки
1.6 KiB
Makefile
#
|
|
# 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 (c) 2009 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
dist_pkgdata_DATA = \
|
|
help-orte-notifier-command.txt
|
|
|
|
sources = \
|
|
notifier_command.h \
|
|
notifier_command_fd.c \
|
|
notifier_command_child.c \
|
|
notifier_command_module.c \
|
|
notifier_command_component.c
|
|
|
|
# Make the output library in this directory, and name it either
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
# (for static builds).
|
|
|
|
if OMPI_BUILD_notifier_command_DSO
|
|
component_noinst =
|
|
component_install = mca_notifier_command.la
|
|
else
|
|
component_noinst = libmca_notifier_command.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(pkglibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_notifier_command_la_SOURCES = $(sources)
|
|
mca_notifier_command_la_LDFLAGS = -module -avoid-version
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_notifier_command_la_SOURCES =$(sources)
|
|
libmca_notifier_command_la_LDFLAGS = -module -avoid-version
|