629b95a2fe
Fix race conditions in abnormal terminations. We had done a first-cut at this in a prior commit. However, the window remained partially open due to the fact that the HNP has multiple paths leading to orte_finalize. Most of our frameworks don't care if they are finalized more than once, but one of them does, which meant we segfaulted if orte_finalize got called more than once. Besides, we really shouldn't be doing that anyway. So we now introduce a set of atomic locks that prevent us from multiply calling abort, attempting to call orte_finalize, etc. My initial tests indicate this is working cleanly, but since it is a race condition issue, more testing will have to be done before we know for sure that this problem has been licked. Also, some updates relevant to the tool comm library snuck in here. Since those also touched the orted code (as did the prior changes), I didn't want to attempt to separate them out - besides, they are coming in soon anyway. More on them later as that functionality approaches completion. This commit was SVN r17843.
51 строка
1.8 KiB
Makefile
51 строка
1.8 KiB
Makefile
# -*- makefile -*-
|
|
#
|
|
# Copyright (c) 2004-2007 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$
|
|
#
|
|
|
|
# This makefile.am does not stand on its own - it is included from orte/Makefile.am
|
|
|
|
dist_pkgdata_DATA += runtime/help-orte-runtime.txt
|
|
|
|
headers += \
|
|
runtime/orte_wait.h \
|
|
runtime/orte_wakeup.h \
|
|
runtime/orte_locks.h \
|
|
runtime/runtime.h \
|
|
runtime/orte_globals.h \
|
|
runtime/orte_globals_class_instances.h \
|
|
runtime/orte_cr.h \
|
|
runtime/orte_data_server.h \
|
|
runtime/data_type_support/orte_dt_support.h
|
|
|
|
libopen_rte_la_SOURCES += \
|
|
runtime/orte_finalize.c \
|
|
runtime/orte_init.c \
|
|
runtime/orte_globals.c \
|
|
runtime/data_type_support/orte_dt_compare_fns.c \
|
|
runtime/data_type_support/orte_dt_copy_fns.c \
|
|
runtime/data_type_support/orte_dt_print_fns.c \
|
|
runtime/data_type_support/orte_dt_release_fns.c \
|
|
runtime/data_type_support/orte_dt_size_fns.c \
|
|
runtime/data_type_support/orte_dt_packing_fns.c \
|
|
runtime/data_type_support/orte_dt_unpacking_fns.c \
|
|
runtime/orte_wait.c \
|
|
runtime/orte_wakeup.c \
|
|
runtime/orte_locks.c \
|
|
runtime/orte_cr.c \
|
|
runtime/orte_data_server.c
|