1
1

initialize common symbols from opal

A few uninitialized common symbols are remaining:

common symbols generated by flex :
 * opal/util/keyval/keyval_lex.l: opal_util_keyval_yyleng
 * opal/util/keyval/keyval_lex.o: opal_util_keyval_yytext
 * opal/util/show_help_lex.l: opal_show_help_yyleng
 * opal/util/show_help_lex.l: opal_show_help_yytext

common symbol generated by "external" hwloc library:
 * opal/mca/hwloc/hwloc191/hwloc/src/components.o: component_map
Этот коммит содержится в:
Gilles Gouaillardet 2015-04-15 15:14:57 +09:00
родитель 286c018120
Коммит c809aace47
21 изменённых файлов: 65 добавлений и 35 удалений

Просмотреть файл

@ -15,6 +15,8 @@
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights * Copyright (c) 2013 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -75,7 +77,7 @@ OPAL_DECLSPEC const opal_datatype_t opal_datatype_bool = OPAL_DATATYPE_IN
OPAL_DECLSPEC const opal_datatype_t opal_datatype_wchar = OPAL_DATATYPE_INITIALIZER_WCHAR(0); OPAL_DECLSPEC const opal_datatype_t opal_datatype_wchar = OPAL_DATATYPE_INITIALIZER_WCHAR(0);
OPAL_DECLSPEC const opal_datatype_t opal_datatype_unavailable = OPAL_DATATYPE_INITIALIZER_UNAVAILABLE_NAMED(UNAVAILABLE, 0); OPAL_DECLSPEC const opal_datatype_t opal_datatype_unavailable = OPAL_DATATYPE_INITIALIZER_UNAVAILABLE_NAMED(UNAVAILABLE, 0);
OPAL_DECLSPEC dt_elem_desc_t opal_datatype_predefined_elem_desc[2 * OPAL_DATATYPE_MAX_PREDEFINED]; OPAL_DECLSPEC dt_elem_desc_t opal_datatype_predefined_elem_desc[2 * OPAL_DATATYPE_MAX_PREDEFINED] = {{{{0}}}};
/* /*
* NOTE: The order of this array *MUST* match the order in opal_datatype_basicDatatypes * NOTE: The order of this array *MUST* match the order in opal_datatype_basicDatatypes

Просмотреть файл

@ -12,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved. * Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -32,10 +34,10 @@
*/ */
bool opal_dss_initialized = false; bool opal_dss_initialized = false;
int opal_dss_verbose = -1; /* by default disabled */ int opal_dss_verbose = -1; /* by default disabled */
int opal_dss_initial_size; int opal_dss_initial_size = -1;
int opal_dss_threshold_size; int opal_dss_threshold_size = -1;
opal_pointer_array_t opal_dss_types; opal_pointer_array_t opal_dss_types = {{0}};
opal_data_type_t opal_dss_num_reg_types; opal_data_type_t opal_dss_num_reg_types = {0};
opal_dss_buffer_type_t default_buf_type = OPAL_DSS_BUFFER_NON_DESC; opal_dss_buffer_type_t default_buf_type = OPAL_DSS_BUFFER_NON_DESC;
/* variable group id */ /* variable group id */

Просмотреть файл

@ -11,6 +11,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2006-2007 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2006-2007 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -28,7 +30,7 @@
#include "opal/mca/btl/btl.h" #include "opal/mca/btl/btl.h"
#include "opal/mca/btl/base/base.h" #include "opal/mca/btl/base/base.h"
mca_btl_active_message_callback_t mca_btl_base_active_message_trigger[MCA_BTL_TAG_MAX]; mca_btl_active_message_callback_t mca_btl_base_active_message_trigger[MCA_BTL_TAG_MAX] = {{0}};
/* /*
* mca_btl_base_descriptor_t * mca_btl_base_descriptor_t
@ -69,7 +71,7 @@ OBJ_CLASS_INSTANCE(
char* mca_btl_base_include = NULL; char* mca_btl_base_include = NULL;
char* mca_btl_base_exclude = NULL; char* mca_btl_base_exclude = NULL;
int mca_btl_base_warn_component_unused = 1; int mca_btl_base_warn_component_unused = 1;
opal_list_t mca_btl_base_modules_initialized; opal_list_t mca_btl_base_modules_initialized = {{0}};
bool mca_btl_base_thread_multiple_override = false; bool mca_btl_base_thread_multiple_override = false;
static int mca_btl_base_register(mca_base_register_flag_t flags) static int mca_btl_base_register(mca_base_register_flag_t flags)

Просмотреть файл

@ -2,9 +2,10 @@
/* /*
* Copyright (c) 2004-2010 The Trustees of Indiana University. * Copyright (c) 2004-2010 The Trustees of Indiana University.
* All rights reserved. * All rights reserved.
*
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. * Copyright (c) 2011-2013 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -31,7 +32,7 @@ opal_compress_base_module_t opal_compress = {
NULL /* decompress_nb */ NULL /* decompress_nb */
}; };
opal_compress_base_component_t opal_compress_base_selected_component; opal_compress_base_component_t opal_compress_base_selected_component = {{0}};
static int opal_compress_base_register(mca_base_register_flag_t flags); static int opal_compress_base_register(mca_base_register_flag_t flags);

Просмотреть файл

@ -8,8 +8,9 @@
* Copyright (c) 2004-2005 The Regents of the University of California. * Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved. * All rights reserved.
* Copyright (c) 2007 Evergrid, Inc. All rights reserved. * Copyright (c) 2007 Evergrid, Inc. All rights reserved.
* * Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -45,9 +46,9 @@
#include "opal/mca/crs/crs.h" #include "opal/mca/crs/crs.h"
#include "opal/mca/crs/base/base.h" #include "opal/mca/crs/base/base.h"
opal_crs_base_self_checkpoint_fn_t crs_base_self_checkpoint_fn; opal_crs_base_self_checkpoint_fn_t crs_base_self_checkpoint_fn = NULL;
opal_crs_base_self_restart_fn_t crs_base_self_restart_fn; opal_crs_base_self_restart_fn_t crs_base_self_restart_fn = NULL;
opal_crs_base_self_continue_fn_t crs_base_self_continue_fn; opal_crs_base_self_continue_fn_t crs_base_self_continue_fn = NULL;
/****************** /******************
* Local Functions * Local Functions

Просмотреть файл

@ -11,6 +11,8 @@
* Copyright (c) 2007 Evergrid, Inc. All rights reserved. * Copyright (c) 2007 Evergrid, Inc. All rights reserved.
* Copyright (c) 2011-2013 Los Alamos National Security, LLC. * Copyright (c) 2011-2013 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -40,7 +42,7 @@ opal_crs_base_module_t opal_crs = {
NULL /* crs_reg_thread */ NULL /* crs_reg_thread */
}; };
opal_crs_base_component_t opal_crs_base_selected_component; opal_crs_base_component_t opal_crs_base_selected_component = {{0}};
extern bool opal_crs_base_do_not_select; extern bool opal_crs_base_do_not_select;
static int opal_crs_base_register(mca_base_register_flag_t flags); static int opal_crs_base_register(mca_base_register_flag_t flags);

Просмотреть файл

@ -2,7 +2,7 @@
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved. * Copyright (c) 2012-2013 Los Alamos National Security, Inc. All rights reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science * Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved. * and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -40,7 +40,7 @@ opal_dstore_base_API_t opal_dstore = {
opal_dstore_base_remove_data, opal_dstore_base_remove_data,
opal_dstore_base_get_handle opal_dstore_base_get_handle
}; };
opal_dstore_base_t opal_dstore_base; opal_dstore_base_t opal_dstore_base = {0};
int opal_dstore_internal = -1; int opal_dstore_internal = -1;
int opal_dstore_modex = -1; int opal_dstore_modex = -1;

Просмотреть файл

@ -1,6 +1,8 @@
/* /*
* Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Intel, Inc. All rights reserved. * Copyright (c) 2015 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -19,7 +21,7 @@
#include "opal/mca/if/base/static-components.h" #include "opal/mca/if/base/static-components.h"
/* instantiate the global list of interfaces */ /* instantiate the global list of interfaces */
opal_list_t opal_if_list; opal_list_t opal_if_list = {{0}};
bool opal_if_do_not_resolve = false; bool opal_if_do_not_resolve = false;
bool opal_if_retain_loopback = false; bool opal_if_retain_loopback = false;

Просмотреть файл

@ -3,6 +3,8 @@
* reserved. * reserved.
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2010 Sandia National Laboratories. All rights reserved. * Copyright (c) 2010 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -19,7 +21,7 @@
#include "opal/mca/installdirs/base/base.h" #include "opal/mca/installdirs/base/base.h"
#include "opal/mca/installdirs/base/static-components.h" #include "opal/mca/installdirs/base/static-components.h"
opal_install_dirs_t opal_install_dirs; opal_install_dirs_t opal_install_dirs = {0};
#define CONDITIONAL_COPY(target, origin, field) \ #define CONDITIONAL_COPY(target, origin, field) \
do { \ do { \

Просмотреть файл

@ -11,7 +11,7 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007-2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2013 NVIDIA Corporation. All rights reserved. * Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
* Copyright (c) 2014 Research Organization for Information Science * Copyright (c) 2014-2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved. * and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -51,10 +51,10 @@
/* whether we actually used the mem hooks or not */ /* whether we actually used the mem hooks or not */
int mca_mpool_base_used_mem_hooks = 0; int mca_mpool_base_used_mem_hooks = 0;
uint32_t mca_mpool_base_page_size; uint32_t mca_mpool_base_page_size = 0;
uint32_t mca_mpool_base_page_size_log; uint32_t mca_mpool_base_page_size_log = 0;
opal_list_t mca_mpool_base_modules; opal_list_t mca_mpool_base_modules = {{0}};
/** /**
* Function for finding and opening either all MCA components, or the one * Function for finding and opening either all MCA components, or the one

Просмотреть файл

@ -15,6 +15,8 @@
* Copyright (c) 2010 IBM Corporation. All rights reserved. * Copyright (c) 2010 IBM Corporation. All rights reserved.
* Copyright (c) 2012-2015 Los Alamos National Security, LLC. * Copyright (c) 2012-2015 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -48,8 +50,8 @@ OBJ_CLASS_INSTANCE(mca_mpool_base_tree_item_t, opal_free_list_item_t, NULL, NULL
/* /*
* use globals for the tree and the tree_item free list.. * use globals for the tree and the tree_item free list..
*/ */
opal_rb_tree_t mca_mpool_base_tree; opal_rb_tree_t mca_mpool_base_tree = {{0}};
opal_free_list_t mca_mpool_base_tree_item_free_list; opal_free_list_t mca_mpool_base_tree_item_free_list = {{{0}}};
static opal_mutex_t tree_lock; static opal_mutex_t tree_lock;
/* /*

Просмотреть файл

@ -100,7 +100,7 @@ const opal_pmix_base_module_t opal_pmix_native_module = {
// local variables // local variables
static int init_cntr = 0; static int init_cntr = 0;
opal_process_name_t native_pname; opal_process_name_t native_pname = {0};
static uint32_t sm_flag; static uint32_t sm_flag;
static void unpack_segment_info(opal_buffer_t *buf, opal_process_name_t *id, char** seg_info) static void unpack_segment_info(opal_buffer_t *buf, opal_process_name_t *id, char** seg_info)

Просмотреть файл

@ -11,6 +11,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2012-2013 Los Alamos National Security, LLC. * Copyright (c) 2012-2013 Los Alamos National Security, LLC.
* All rights reserved * All rights reserved
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -40,7 +42,7 @@
/* /*
* Global variables * Global variables
*/ */
opal_list_t mca_rcache_base_modules; opal_list_t mca_rcache_base_modules = {{0}};
OBJ_CLASS_INSTANCE(mca_rcache_base_selected_module_t, opal_list_item_t, NULL, NULL); OBJ_CLASS_INSTANCE(mca_rcache_base_selected_module_t, opal_list_item_t, NULL, NULL);

Просмотреть файл

@ -1,5 +1,7 @@
/* /*
* Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -26,7 +28,7 @@
#include "opal/mca/reachable/base/static-components.h" #include "opal/mca/reachable/base/static-components.h"
opal_reachable_base_module_t opal_reachable; opal_reachable_base_module_t opal_reachable = {0};
static int opal_reachable_base_frame_register(mca_base_register_flag_t flags) static int opal_reachable_base_frame_register(mca_base_register_flag_t flags)
{ {

Просмотреть файл

@ -1,5 +1,7 @@
/* /*
* Copyright (c) 2014-2015 Intel, Inc. All rights reserved. * Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -31,7 +33,7 @@ opal_sec_API_module_t opal_sec = {
opal_sec_base_get_cred, opal_sec_base_get_cred,
opal_sec_base_validate opal_sec_base_validate
}; };
opal_list_t opal_sec_base_actives; opal_list_t opal_sec_base_actives = {{0}};
static int opal_sec_base_close(void) static int opal_sec_base_close(void)
{ {

Просмотреть файл

@ -46,7 +46,7 @@ opal_timer_t (*opal_timer_base_get_cycles)(void) = opal_timer_base_get_cycles_sy
opal_timer_t (*opal_timer_base_get_usec)(void) = opal_timer_base_get_usec_sys_timer; opal_timer_t (*opal_timer_base_get_usec)(void) = opal_timer_base_get_usec_sys_timer;
#endif /* OPAL_HAVE_CLOCK_GETTIME */ #endif /* OPAL_HAVE_CLOCK_GETTIME */
opal_timer_t opal_timer_linux_freq; opal_timer_t opal_timer_linux_freq = {0};
static int opal_timer_linux_open(void); static int opal_timer_linux_open(void);

Просмотреть файл

@ -80,7 +80,7 @@ int opal_util_initialized = 0;
hwloc is available, this value will be overwritten when the hwloc is available, this value will be overwritten when the
hwloc data is loaded. */ hwloc data is loaded. */
int opal_cache_line_size = 128; int opal_cache_line_size = 128;
bool opal_warn_on_fork; bool opal_warn_on_fork = true;
static int static int
opal_err2str(int errnum, const char **errmsg) opal_err2str(int errnum, const char **errmsg)

Просмотреть файл

@ -17,6 +17,8 @@
* Copyright (c) 2010-2014 Los Alamos National Security, LLC. * Copyright (c) 2010-2014 Los Alamos National Security, LLC.
* All rights reserved. * All rights reserved.
* Copyright (c) 2014 Hochschule Esslingen. All rights reserved. * Copyright (c) 2014 Hochschule Esslingen. All rights reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -55,7 +57,7 @@ bool opal_timing_overhead = true;
#endif #endif
bool opal_built_with_cuda_support = OPAL_INT_TO_BOOL(OPAL_CUDA_SUPPORT); bool opal_built_with_cuda_support = OPAL_INT_TO_BOOL(OPAL_CUDA_SUPPORT);
bool opal_cuda_support; bool opal_cuda_support = false;
#if OPAL_ENABLE_FT_CR == 1 #if OPAL_ENABLE_FT_CR == 1
bool opal_base_distill_checkpoint_ready = false; bool opal_base_distill_checkpoint_ready = false;
#endif #endif

Просмотреть файл

@ -12,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights * Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* *
* $COPYRIGHT$ * $COPYRIGHT$
* *
@ -58,7 +60,7 @@ static size_t callbacks_len = 0;
static size_t callbacks_size = 0; static size_t callbacks_size = 0;
/* do we want to call sched_yield() if nothing happened */ /* do we want to call sched_yield() if nothing happened */
bool opal_progress_yield_when_idle; bool opal_progress_yield_when_idle = false;
#if OPAL_PROGRESS_USE_TIMERS #if OPAL_PROGRESS_USE_TIMERS
static opal_timer_t event_progress_last_time = 0; static opal_timer_t event_progress_last_time = 0;

Просмотреть файл

@ -12,6 +12,8 @@
* All rights reserved. * All rights reserved.
* Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -46,7 +48,7 @@ struct converter_info_t {
typedef struct converter_info_t converter_info_t; typedef struct converter_info_t converter_info_t;
/* all default to NULL */ /* all default to NULL */
converter_info_t converters[MAX_CONVERTERS]; converter_info_t converters[MAX_CONVERTERS] = {{0}};
static int static int
opal_strerror_int(int errnum, const char **str) opal_strerror_int(int errnum, const char **str)

Просмотреть файл

@ -13,6 +13,8 @@
* Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2007-2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights * Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved. * reserved.
* Copyright (c) 2015 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -101,7 +103,7 @@ static int output(int output_id, const char *format, va_list arglist);
/* global state */ /* global state */
bool opal_output_redirected_to_syslog = false; bool opal_output_redirected_to_syslog = false;
int opal_output_redirected_syslog_pri; int opal_output_redirected_syslog_pri = -1;
/* /*
* Local state * Local state