Permalink
Browse files

Fix several bugs in variable registration.

  • Loading branch information...
1 parent 689d7d5 commit 80338e741b1749bb235b9cf45e0db579efe4d61d @hjelmn committed Apr 5, 2013
Showing with 7 additions and 1 deletion.
  1. +1 −1 opal/mca/base/mca_base_var.c
  2. +6 −0 opal/runtime/opal_info_support.c
@@ -1585,7 +1585,7 @@ int mca_base_var_register_synonym (int synonym_for, const char *project_name,
}
return register_variable (project_name, framework_name, component_name,
- synonym_name, NULL, var->mbv_type, var->mbv_enumerator,
+ synonym_name, var->mbv_description, var->mbv_type, var->mbv_enumerator,
var->mbv_bind, var_flags, var->mbv_info_lvl, var->mbv_scope,
synonym_for, NULL);
}
@@ -285,6 +285,12 @@ int opal_info_register_framework_params(opal_pointer_array_t *component_map)
opal_info_registered = true;
+ /* Register mca/base parameters */
+ if( OPAL_SUCCESS != mca_base_open() ) {
+ opal_show_help("help-opal_info.txt", "lib-call-fail", true, "mca_base_open", __FILE__, __LINE__ );
+ return OPAL_ERROR;
+ }
+
/* Register the OPAL layer's MCA parameters */
if (OPAL_SUCCESS != (rc = opal_register_params())) {
fprintf(stderr, "opal_info_register: opal_register_params failed\n");

0 comments on commit 80338e7

Please sign in to comment.