a few more opps to get the cellid...
This fixes a compilation error on bproc machines.. This commit was SVN r12631.
Этот коммит содержится в:
родитель
33affed09c
Коммит
c06b740220
@ -313,14 +313,23 @@ int orte_smr_bproc_module_init(void)
|
||||
{
|
||||
int rc;
|
||||
struct bproc_node_set_t ns = BPROC_EMPTY_NODESET;
|
||||
|
||||
char *cellid_string;
|
||||
|
||||
if (mca_smr_bproc_component.debug)
|
||||
opal_output(0, "init smr_bproc_module\n");
|
||||
|
||||
if (ORTE_SUCCESS != (rc = orte_ns.get_cellid(&mca_smr_bproc_component.cellid, orte_process_info.my_name))) {
|
||||
if (ORTE_SUCCESS != (rc = orte_ns.get_cellid_string(&cellid_string, orte_process_info.my_name))) {
|
||||
|
||||
ORTE_ERROR_LOG(rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (ORTE_SUCCESS != (rc = orte_ns.convert_string_to_cellid(&mca_smr_bproc_component.cellid, cellid_string))) {
|
||||
|
||||
ORTE_ERROR_LOG(rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
mca_smr_bproc_component.node_set.size = 0;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user