1
1

mxm/yalla: disable MPI dynamic process functionality

Disable the MPI dynamic process functionality when these components
are selected to be used.
Этот коммит содержится в:
Jeff Squyres 2015-10-06 15:08:43 -07:00
родитель ac25505e03
Коммит 889d80a659
2 изменённых файлов: 8 добавлений и 0 удалений

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

@ -3,6 +3,7 @@
* Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -266,6 +267,8 @@ static int ompi_mtl_mxm_component_query(mca_base_module_t **module, int *priorit
* if we get here it means that mxm is available so give high priority
*/
ompi_mpi_dynamics_disable("the MXM MTL does not support MPI dynamic process functionality");
*priority = param_priority;
*module = (mca_base_module_t *)&ompi_mtl_mxm.super;
return OMPI_SUCCESS;

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

@ -3,6 +3,7 @@
* Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -12,6 +13,8 @@
#include "pml_yalla.h"
#include "ompi/runtime/mpiruntime.h"
static int mca_pml_yalla_component_register(void);
static int mca_pml_yalla_component_open(void);
@ -96,6 +99,8 @@ mca_pml_yalla_component_init(int* priority, bool enable_progress_threads,
return NULL;
}
ompi_mpi_dynamics_disable("the Yalla (MXM) PML does not support MPI dynamic process functionality");
*priority = ompi_pml_yalla.priority;
return &ompi_pml_yalla.super;
}