Skip to content

Commit 900994f

Browse files
authored
Merge pull request #7849 from jsquyres/pr/ompi-info-tweaks
ompi_info: trim some redundant output
2 parents a3e276f + 1395c02 commit 900994f

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

ompi/runtime/ompi_info_support.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ void ompi_info_show_ompi_version(const char *scope)
123123
opal_info_out("Open MPI release date", tmp, OMPI_RELEASE_DATE);
124124
free(tmp);
125125

126-
/* show the opal version */
127-
opal_info_show_opal_version(scope);
128-
129126
tmp2 = opal_info_make_version_str(scope,
130127
MPI_VERSION, MPI_SUBVERSION,
131128
0, "", "");

ompi/tools/ompi_info/ompi_info.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ int main(int argc, char *argv[])
167167
ompi_info_show_ompi_version(opal_info_ver_full);
168168
opal_info_show_path(opal_info_path_prefix, opal_install_dirs.prefix);
169169
opal_info_do_arch();
170-
opal_info_do_hostname();
171170
ompi_info_do_config(false);
172171
opal_info_show_component_version(&mca_types, &component_map, opal_info_type_all,
173172
opal_info_component_all, opal_info_ver_full,

ompi/tools/ompi_info/param.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ void ompi_info_do_config(bool want_all)
308308
/* output values */
309309
opal_info_out("Configured by", "config:user", OPAL_CONFIGURE_USER);
310310
opal_info_out("Configured on", "config:timestamp", OPAL_CONFIGURE_DATE);
311-
opal_info_out("Configure host", "config:host", OPAL_CONFIGURE_HOST);
311+
opal_info_do_hostname();
312312
opal_info_out("Configure command line", "config:cli", OPAL_CONFIGURE_CLI);
313313

314314
opal_info_out("Built by", "build:user", OMPI_BUILD_USER);

0 commit comments

Comments
 (0)