2005-05-19 17:33:55 +04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
* All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
* 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$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file **/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
|
|
|
|
#include "include/orte_constants.h"
|
2005-07-03 20:06:07 +04:00
|
|
|
#include "opal/class/opal_object.h"
|
2005-07-04 03:31:27 +04:00
|
|
|
#include "opal/util/output.h"
|
2005-07-04 05:36:20 +04:00
|
|
|
#include "opal/util/malloc.h"
|
2005-05-19 17:33:55 +04:00
|
|
|
#include "mca/base/base.h"
|
2005-05-22 22:40:03 +04:00
|
|
|
#include "runtime/opal.h"
|
2005-05-19 17:33:55 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Finalize the OPAL utilities
|
|
|
|
*
|
|
|
|
* @retval ORTE_SUCCESS Upon success.
|
|
|
|
* @retval ORTE_ERROR Upon failure.
|
|
|
|
*
|
|
|
|
* This function performs
|
|
|
|
*/
|
|
|
|
int opal_finalize(void)
|
|
|
|
{
|
|
|
|
|
|
|
|
/* finalize the mca */
|
|
|
|
mca_base_close();
|
|
|
|
|
|
|
|
/* finalize the output system */
|
2005-07-04 03:31:27 +04:00
|
|
|
opal_output_finalize();
|
2005-05-19 17:33:55 +04:00
|
|
|
|
|
|
|
/* finalize the class/object system */
|
2005-07-03 20:06:07 +04:00
|
|
|
opal_class_finalize();
|
2005-05-19 17:33:55 +04:00
|
|
|
|
|
|
|
/* finalize the memory allocator */
|
2005-07-04 05:36:20 +04:00
|
|
|
opal_malloc_finalize();
|
2005-05-19 17:33:55 +04:00
|
|
|
|
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|