2005-03-14 20:57:21 +00:00
|
|
|
/*
|
2005-11-05 19:57:48 +00:00
|
|
|
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-03-14 20:57:21 +00:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2005-03-14 20:57:21 +00:00
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** @file **/
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
|
|
|
|
|
|
|
#include "include/orte_constants.h"
|
2005-05-22 18:40:03 +00:00
|
|
|
#include "runtime/opal.h"
|
2005-03-14 20:57:21 +00:00
|
|
|
#include "runtime/runtime.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Leave ORTE.
|
|
|
|
*
|
|
|
|
* @retval ORTE_SUCCESS Upon success.
|
|
|
|
* @retval ORTE_ERROR Upon failure.
|
|
|
|
*
|
|
|
|
* This function performs
|
|
|
|
*/
|
|
|
|
int orte_finalize(void)
|
|
|
|
{
|
2005-09-02 21:07:21 +00:00
|
|
|
|
|
|
|
/* We have now entered the finalization stage */
|
|
|
|
orte_universe_info.state = ORTE_UNIVERSE_STATE_FINALIZE;
|
|
|
|
|
2005-05-19 13:33:55 +00:00
|
|
|
/* finalize the orte system */
|
|
|
|
orte_system_finalize();
|
2005-05-18 16:31:03 +00:00
|
|
|
|
2005-05-19 13:33:55 +00:00
|
|
|
/* finalize the opal utilities */
|
|
|
|
opal_finalize();
|
2005-05-18 16:31:03 +00:00
|
|
|
|
2005-03-14 20:57:21 +00:00
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|
|
|
|
|