From f432d0784455284e915c05cb1fbfd140ab54a6fe Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 2 May 2018 14:53:34 -0600 Subject: [PATCH] mtl: reset ompi_mtl_base_selected_component on framework close Signed-off-by: Nathan Hjelm --- ompi/mca/mtl/base/mtl_base_frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ompi/mca/mtl/base/mtl_base_frame.c b/ompi/mca/mtl/base/mtl_base_frame.c index ea5784304a..757ad93ce7 100644 --- a/ompi/mca/mtl/base/mtl_base_frame.c +++ b/ompi/mca/mtl/base/mtl_base_frame.c @@ -10,7 +10,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2006 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2015 Los Alamos National Security, LLC. All rights + * Copyright (c) 2015-2018 Los Alamos National Security, LLC. All rights * reserved. * $COPYRIGHT$ * @@ -108,6 +108,7 @@ ompi_mtl_base_close(void) { /* NTH: Should we be freeing the mtl module here? */ ompi_mtl = NULL; + ompi_mtl_base_selected_component = NULL; /* Close all remaining available modules (may be one if this is a OMPI RTE program, or [possibly] multiple if this is ompi_info) */