1
1

Move the MPI MCA params into the "mpi" type (it's always bothered me

that they were listed under "base")

This commit was SVN r3156.
Этот коммит содержится в:
Jeff Squyres 2004-10-15 10:52:08 +00:00
родитель 530ae63e74
Коммит 6669e44107
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -35,8 +35,7 @@ int ompi_mpi_register_params(void)
/* Whether we want MPI API function parameter checking or not */
param_check_param =
mca_base_param_register_int("base", "mpi", "param_check",
"mpi_param_check",
mca_base_param_register_int("mpi", NULL, "param_check", NULL,
(int) ompi_mpi_param_check);
mca_base_param_lookup_int(param_check_param, &value);
ompi_mpi_param_check = (bool) value;
@ -55,8 +54,7 @@ int ompi_mpi_register_params(void)
/* Whether or not to show MPI handle leaks */
show_leaks_param =
mca_base_param_register_int("base", "mpi", "show_handle_leaks",
"mpi_show_handle_leaks",
mca_base_param_register_int("mpi", NULL, "show_handle_leaks", NULL,
(int) ompi_debug_show_handle_leaks);
mca_base_param_lookup_int(show_leaks_param, &value);
ompi_debug_show_handle_leaks = (bool) value;
@ -66,8 +64,7 @@ int ompi_mpi_register_params(void)
to free the handles. */
no_free_param =
mca_base_param_register_int("base", "mpi", "no_free_handles",
"mpi_no_free_handles",
mca_base_param_register_int("mpi", NULL, "no_free_handles", NULL,
(int) ompi_debug_no_free_handles);
mca_base_param_lookup_int(no_free_param, &value);
ompi_debug_no_free_handles = (bool) value;

Просмотреть файл

@ -117,6 +117,7 @@ int main(int argc, char *argv[])
mca_base_cmd_line_process_args(cmd_line);
ompi_info::mca_types.push_back("base");
ompi_info::mca_types.push_back("mpi");
ompi_info::mca_types.push_back("allocator");
ompi_info::mca_types.push_back("coll");