1
1
openmpi/orte/mca/ess/base/ess_base_close.c

52 строки
1.6 KiB
C
Исходник Обычный вид История

/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2008 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.
* 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 (c) 2009 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "orte_config.h"
#include "orte/constants.h"
#include <stdio.h>
#include "opal/mca/mca.h"
#include "opal/util/output.h"
#include "opal/mca/base/base.h"
#include "orte/mca/ess/base/base.h"
extern opal_list_t orte_ess_base_components_available;
int
orte_ess_base_close(void)
{
/* Close all open components */
mca_base_components_close (orte_ess_base_output,
&orte_ess_base_components_available,
NULL);
OBJ_DESTRUCT(&orte_ess_base_components_available);
/* Close the framework output */
opal_output_close (orte_ess_base_output);
orte_ess_base_output = -1;
return ORTE_SUCCESS;
}