corrected a couple places in orte where it said cpu_model when it should have been cpu_type.
This commit was SVN r24221.
Этот коммит содержится в:
родитель
56c03a3853
Коммит
f3aaa885a3
@ -9,7 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -224,7 +224,7 @@ int orte_odls_base_open(void)
|
|||||||
/* find our cpu model and type, save it for later */
|
/* find our cpu model and type, save it for later */
|
||||||
for (item = opal_list_get_first(&orte_odls_globals.sysinfo);
|
for (item = opal_list_get_first(&orte_odls_globals.sysinfo);
|
||||||
item != opal_list_get_end(&orte_odls_globals.sysinfo) &&
|
item != opal_list_get_end(&orte_odls_globals.sysinfo) &&
|
||||||
(NULL == orte_local_cpu_model || NULL == orte_local_cpu_model);
|
(NULL == orte_local_cpu_type || NULL == orte_local_cpu_model);
|
||||||
item = opal_list_get_next(item)) {
|
item = opal_list_get_next(item)) {
|
||||||
info = (opal_sysinfo_value_t*)item;
|
info = (opal_sysinfo_value_t*)item;
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ int orte_register_params(void)
|
|||||||
|
|
||||||
/* cluster hardware info detected by orte only */
|
/* cluster hardware info detected by orte only */
|
||||||
mca_base_param_reg_string_name("orte", "cpu_type",
|
mca_base_param_reg_string_name("orte", "cpu_type",
|
||||||
"cpu model detected in node",
|
"cpu type detected in node",
|
||||||
true, false, NULL, &orte_local_cpu_type);
|
true, false, NULL, &orte_local_cpu_type);
|
||||||
|
|
||||||
mca_base_param_reg_string_name("orte", "cpu_model",
|
mca_base_param_reg_string_name("orte", "cpu_model",
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user