0629cdc2d7
command: svn merge -r 7567:7663 https://svn.open-mpi.org/svn/ompi/tmp/jjhursey-rmaps . (where "." is a trunk checkout) The logs from this branch are much more descriptive than I will put here (including a *really* long description from last night). Here's the short version: - fixed some broken implementations in ras and rmaps - "orterun --host ..." now works and has clearly defined semantics (this was the impetus for the branch and all these fixes -- LANL had a requirement for --host to work for 1.0) - there is still a little bit of cleanup left to do post-1.0 (we got correct functionality for 1.0 -- we did not fix bad implementations that still "work") - rds/hostfile and ras/hostfile handshaking - singleton node segment assignments in stage1 - remove the default hostfile (no need for it anymore with the localhost ras component) - clean up pls components to avoid duplicate ras mapping queries - [possible] -bynode/-byslot being specific to a single app context This commit was SVN r7664.
58 строки
1.5 KiB
C
58 строки
1.5 KiB
C
/*
|
|
* 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$
|
|
*/
|
|
|
|
#include "orte_config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "include/orte_constants.h"
|
|
|
|
#include "opal/mca/mca.h"
|
|
#include "opal/mca/base/base.h"
|
|
#include "orte/mca/ras/base/base.h"
|
|
|
|
|
|
int orte_ras_base_finalize(void)
|
|
{
|
|
opal_list_item_t* item;
|
|
|
|
/* Finalize all available modules */
|
|
if (orte_ras_base.ras_available_valid) {
|
|
while (NULL !=
|
|
(item = opal_list_remove_first(&orte_ras_base.ras_available))) {
|
|
orte_ras_base_cmp_t* cmp = (orte_ras_base_cmp_t*)item;
|
|
cmp->module->finalize();
|
|
OBJ_RELEASE(cmp);
|
|
}
|
|
OBJ_DESTRUCT(&orte_ras_base.ras_available);
|
|
}
|
|
|
|
return ORTE_SUCCESS;
|
|
}
|
|
|
|
|
|
int orte_ras_base_close(void)
|
|
{
|
|
/* Close all remaining available components (may be one if this is a
|
|
Open RTE program, or [possibly] multiple if this is ompi_info) */
|
|
|
|
mca_base_components_close(orte_ras_base.ras_output,
|
|
&orte_ras_base.ras_opened, NULL);
|
|
|
|
return ORTE_SUCCESS;
|
|
}
|
|
|