📄 orte_init_stage2.c
字号:
/* * 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. * 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 "orte/orte_constants.h"#include "opal/util/show_help.h"#include "orte/mca/errmgr/errmgr.h"#include "orte/runtime/params.h"#include "orte/mca/rml/rml.h"#include "orte/mca/ns/ns.h"#include "orte/mca/gpr/gpr.h"#include "orte/mca/iof/base/base.h"#include "orte/runtime/runtime.h"int orte_init_stage2(void){ int ret; char *error_str = NULL; if (orte_initialized) { return ORTE_SUCCESS; } /* * Initialize the selected modules now that all components/name are available. */ if (ORTE_SUCCESS != (ret = orte_ns.init())) { ORTE_ERROR_LOG(ret); error_str = "orte_ns.init"; goto return_error; } if (ORTE_SUCCESS != (ret = orte_gpr.init())) { ORTE_ERROR_LOG(ret); error_str = "orte_gpr.init"; goto return_error; } /* * setup I/O forwarding system */ if (ORTE_SUCCESS != (ret = orte_iof_base_open())) { ORTE_ERROR_LOG(ret); error_str = "orte_iof_base_open"; goto return_error; } if (ORTE_SUCCESS != (ret = orte_iof_base_select())) { ORTE_ERROR_LOG(ret); error_str = "orte_iof_base_select"; goto return_error; } /* Since we are now finished with init, change the state to running */ orte_universe_info.state = ORTE_UNIVERSE_STATE_RUNNING; /* All done */ orte_initialized = true; return ORTE_SUCCESS; return_error: opal_show_help("help-orte-runtime", "orte_init:startup:internal-failure", true, error_str, ret); return ret;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -