From d460264c79ba7618fcf7cbd95fbf675993a53350 Mon Sep 17 00:00:00 2001 From: Josh Hursey Date: Sat, 21 Feb 2009 13:42:17 +0000 Subject: [PATCH] Fix C/R support in response to r20586. This commit changed the way that bml/r2 finalized, so the C/R support needed to be updated otherwise the BTLs were not properly handled on restart. This commit was SVN r20617. The following SVN revision numbers were found above: r2 --> open-mpi/ompi@58fdc188553052bc2e893ba28fb28fddbe78435a r20586 --> open-mpi/ompi@14a83a6bbca703e8eca29b6f40e4cbe4a9cb7ffe --- ompi/mca/bml/r2/bml_r2_ft.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ompi/mca/bml/r2/bml_r2_ft.c b/ompi/mca/bml/r2/bml_r2_ft.c index a047476591..a0e169aca8 100644 --- a/ompi/mca/bml/r2/bml_r2_ft.c +++ b/ompi/mca/bml/r2/bml_r2_ft.c @@ -219,6 +219,10 @@ int mca_bml_r2_ft_event(int state) opal_output(0, "bml:r2: ft_event(Restart): Failed to finalize BML framework\n"); return ret; } + if( OMPI_SUCCESS != (ret = mca_btl_base_close()) ) { + opal_output(0, "bml:r2: ft_event(Restart): Failed to close BTL framework\n"); + return ret; + } } else if(OPAL_CRS_RESTART == state ) {