
Cleanup the configury so we properly check for Singularity under the various typical use-cases Bring the Singularity support online. We have to turn "off" the sm BTL as it segfaults from inside the container - root cause remains unclear. Also turned "off" the various OPAL shmem components in case they are involved and someone else tries to use them. Happily, the vader BTL works just fine!
48 строки
1.2 KiB
C
48 строки
1.2 KiB
C
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
|
/*
|
|
* Copyright (c) 2016 Intel, Inc. All rights reserved.
|
|
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
|
|
* reserved.
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#include "orte_config.h"
|
|
#include "orte/types.h"
|
|
#include "opal/types.h"
|
|
|
|
#include "opal/util/show_help.h"
|
|
|
|
#include "orte/mca/schizo/schizo.h"
|
|
#include "schizo_ompi.h"
|
|
|
|
static int component_query(mca_base_module_t **module, int *priority);
|
|
|
|
/*
|
|
* Struct of function pointers and all that to let us be initialized
|
|
*/
|
|
orte_schizo_base_component_t mca_schizo_ompi_component = {
|
|
.base_version = {
|
|
MCA_SCHIZO_BASE_VERSION_1_0_0,
|
|
.mca_component_name = "ompi",
|
|
MCA_BASE_MAKE_VERSION(component, ORTE_MAJOR_VERSION, ORTE_MINOR_VERSION,
|
|
ORTE_RELEASE_VERSION),
|
|
.mca_query_component = component_query,
|
|
},
|
|
.base_data = {
|
|
/* The component is checkpoint ready */
|
|
MCA_BASE_METADATA_PARAM_CHECKPOINT
|
|
},
|
|
};
|
|
|
|
static int component_query(mca_base_module_t **module, int *priority)
|
|
{
|
|
*module = (mca_base_module_t*)&orte_schizo_ompi_module;
|
|
*priority = 10;
|
|
return ORTE_SUCCESS;
|
|
}
|
|
|