btl/sm: remove the deprecation-notice shell
The SM BTL was effectively removed a long time ago. All that was left was a shell that warned people if they tried to use the SM BTL. For v5.0, we plan to finally remove this ancient shell (and possibly replace it with vader). Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
207b267135
Коммит
cdf478e963
@ -1,48 +0,0 @@
|
||||
#
|
||||
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
||||
# University Research and Technology
|
||||
# Corporation. All rights reserved.
|
||||
# Copyright (c) 2004-2009 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2004-2009 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-2017 Cisco Systems, Inc. All rights reserved
|
||||
# Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
|
||||
# Copyright (c) 2017 IBM Corporation. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
dist_opaldata_DATA = help-mpi-btl-sm.txt
|
||||
|
||||
libmca_btl_sm_la_sources = btl_sm_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 MCA_BUILD_opal_btl_sm_DSO
|
||||
component_noinst =
|
||||
component_install = mca_btl_sm.la
|
||||
else
|
||||
component_noinst = libmca_btl_sm.la
|
||||
component_install =
|
||||
endif
|
||||
|
||||
mcacomponentdir = $(opallibdir)
|
||||
mcacomponent_LTLIBRARIES = $(component_install)
|
||||
mca_btl_sm_la_SOURCES = $(libmca_btl_sm_la_sources)
|
||||
mca_btl_sm_la_LDFLAGS = -module -avoid-version
|
||||
mca_btl_sm_la_LIBADD = $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la
|
||||
mca_btl_sm_la_CPPFLAGS = $(btl_sm_CPPFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = $(component_noinst)
|
||||
libmca_btl_sm_la_SOURCES = $(libmca_btl_sm_la_sources)
|
||||
libmca_btl_sm_la_LDFLAGS = -module -avoid-version
|
||||
libmca_btl_sm_la_CPPFLAGS = $(btl_sm_CPPFLAGS)
|
@ -1,87 +0,0 @@
|
||||
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
||||
/*
|
||||
* Copyright (c) 2004-2011 The Trustees of Indiana University and Indiana
|
||||
* University Research and Technology
|
||||
* Corporation. All rights reserved.
|
||||
* Copyright (c) 2004-2009 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) 2006-2007 Voltaire. All rights reserved.
|
||||
* Copyright (c) 2009-2018 Cisco Systems, Inc. All rights reserved
|
||||
* Copyright (c) 2010-2015 Los Alamos National Security, LLC.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2011-2014 NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2010-2017 IBM Corporation. All rights reserved.
|
||||
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2014-2017 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*/
|
||||
#include "opal_config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "opal/mca/btl/btl.h"
|
||||
#include "opal/mca/btl/base/base.h"
|
||||
#include "opal/util/output.h"
|
||||
#include "opal/util/show_help.h"
|
||||
#include "opal/util/argv.h"
|
||||
#include "opal/constants.h"
|
||||
|
||||
static int mca_btl_sm_component_register(void);
|
||||
|
||||
/*
|
||||
* The "sm" BTL has been completely replaced by the "vader" BTL.
|
||||
*
|
||||
* The only purpose for this component is to print a show_help message
|
||||
* to inform the user that they should be using the vader BTL.
|
||||
*/
|
||||
mca_btl_base_component_3_0_0_t mca_btl_sm_component = {
|
||||
/* First, the mca_base_component_t struct containing meta information
|
||||
about the component itself */
|
||||
.btl_version = {
|
||||
MCA_BTL_DEFAULT_VERSION("sm"),
|
||||
.mca_register_component_params = mca_btl_sm_component_register,
|
||||
},
|
||||
.btl_data = {
|
||||
/* The component is checkpoint ready */
|
||||
.param_field = MCA_BASE_METADATA_PARAM_CHECKPOINT
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
static int mca_btl_sm_component_register(void)
|
||||
{
|
||||
// If the sm component was explicitly requested, print a show_help
|
||||
// message and return an error (which will cause the process to
|
||||
// abort).
|
||||
if (NULL != opal_btl_base_framework.framework_selection) {
|
||||
char **names;
|
||||
names = opal_argv_split(opal_btl_base_framework.framework_selection,
|
||||
',');
|
||||
if (NULL != names) {
|
||||
for (int i = 0; NULL != names[i]; ++i) {
|
||||
if (strcmp(names[i], "sm") == 0) {
|
||||
opal_show_help("help-mpi-btl-sm.txt", "btl sm is dead",
|
||||
true);
|
||||
opal_argv_free(names);
|
||||
return OPAL_ERROR;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
opal_argv_free(names);
|
||||
}
|
||||
|
||||
// Tell the framework that we don't want this component to be
|
||||
// considered.
|
||||
return OPAL_ERR_NOT_AVAILABLE;
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# -*- shell-script -*-
|
||||
#
|
||||
# Copyright (c) 2009 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved
|
||||
# Copyright (c) 2010-2012 IBM Corporation. All rights reserved.
|
||||
# Copyright (c) 2014 Los Alamos National Security, LLC. All rights
|
||||
# reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# The "sm" BTL is effectively dead; it has been wholly replaced
|
||||
# by the "vader" BTL. This BTL now only exists to provide a help
|
||||
# message to users advising them to use the "vader" BTL.
|
||||
|
||||
# MCA_btl_sm_CONFIG([action-if-can-compile],
|
||||
# [action-if-cant-compile])
|
||||
# ------------------------------------------------
|
||||
AC_DEFUN([MCA_opal_btl_sm_CONFIG],[
|
||||
AC_CONFIG_FILES([opal/mca/btl/sm/Makefile])
|
||||
])dnl
|
@ -1,24 +0,0 @@
|
||||
# -*- text -*-
|
||||
#
|
||||
# Copyright (c) 2004-2009 The University of Tennessee and The University
|
||||
# of Tennessee Research Foundation. All rights
|
||||
# reserved.
|
||||
# Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved
|
||||
# Copyright (c) 2012-2013 Los Alamos National Security, LLC.
|
||||
# All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
# This is the US/English help file for the deprecated "sm" BTL.
|
||||
#
|
||||
[btl sm is dead]
|
||||
As of version 3.0.0, the "sm" BTL is no longer available in Open MPI.
|
||||
|
||||
Efficient, high-speed same-node shared memory communication support in
|
||||
Open MPI is available in the "vader" BTL. To use the vader BTL, you
|
||||
can re-run your job with:
|
||||
|
||||
mpirun --mca btl vader,self,... your_mpi_application
|
@ -1,7 +0,0 @@
|
||||
#
|
||||
# owner/status file
|
||||
# owner: institution that is responsible for this package
|
||||
# status: e.g. active, maintenance, unmaintained
|
||||
#
|
||||
owner:UTK
|
||||
status:active
|
Загрузка…
x
Ссылка в новой задаче
Block a user