root/opal/mca/crs/base/crs_base_close.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. opal_crs_base_close

   1 /*
   2  * Copyright (c) 2004-2010 The Trustees of Indiana University.
   3  *                         All rights reserved.
   4  * Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
   5  *                         All rights reserved.
   6  * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
   7  *                         University of Stuttgart.  All rights reserved.
   8  * Copyright (c) 2004-2005 The Regents of the University of California.
   9  *                         All rights reserved.
  10  * $COPYRIGHT$
  11  *
  12  * Additional copyrights may follow
  13  *
  14  * $HEADER$
  15  */
  16 
  17 #include "opal_config.h"
  18 
  19 #include "opal/mca/mca.h"
  20 #include "opal/mca/base/base.h"
  21 #include "opal/constants.h"
  22 #include "opal/mca/crs/crs.h"
  23 #include "opal/mca/crs/base/base.h"
  24 
  25 int opal_crs_base_close(void)
  26 {
  27     if( !opal_cr_is_enabled ) {
  28         opal_output_verbose(10, opal_crs_base_framework.framework_output,
  29                             "crs:close: FT is not enabled, skipping!");
  30         return OPAL_SUCCESS;
  31     }
  32 
  33     /* Call the component's finalize routine */
  34     if( NULL != opal_crs.crs_finalize ) {
  35         opal_crs.crs_finalize();
  36     }
  37 
  38     /* Close all available modules that are open */
  39     return mca_base_framework_components_close (&opal_crs_base_framework,
  40                                                 NULL);
  41 }

/* [<][>][^][v][top][bottom][index][help] */