Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Mar 1, 2016

This commit adds two m4 macros: OPAL_SUMMARY_ADD, OPAL_SUMMARY_PRINT.
OPAL_SUMMARY_ADD adds an item to a section in the summary. For example
OPAL_SUMMARY_ADD([[Transports]],[[Foo]],...,[yes]) will add the
following to the summary:

Transports
-----------------------
Foo: yes

With this commit two sections are added: Transports, Resource Managers.

The OPAL_SUMMARY_PRINT macro is called after AC_OUTPUT and prints out
some information about the build (version, projects, etc) and then
the summarys sections. It will additionally print a warning if
internal debugging is enabled.

Example output:

Open MPI configuration:
-----------------------
Version: 3.0.0 a1
Build Open Platform Abstration project: yes
Build Open Runtime project: yes
Build Open MPI project: yes
Build Open SHMEM project: no
MPI C++ bindings (deprecated): no
MPI Fortran bindings: mpif.h, use mpi, use mpi_f08
Debug build: yes

Transports
-----------------------
Cray uGNI (Gemini/Aries): no
Intel Omnipath (PSM2): no
KNEM Shared Memory: no
Linux CMA IPC: no
Mellanox MXM: no
Open UCX: no
OpenFabrics libfabric: no
OpenFabrics Verbs: no
portals4: no
QLogic Infinipath (PSM): no
tcp: yes
XPMEM Shared Memory: no

Resource Managers
-----------------------
Cray Alps: no
Grid Engine: no
LSF: no
Slurm: yes
Torque: yes

INTERNAL DEBUGGING IS ENABLED. DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS!

Signed-off-by: Nathan Hjelm hjelmn@me.com

@hjelmn
Copy link
Member Author

hjelmn commented Mar 1, 2016

@jsquyres, @bosilca, @rhc54 This is as discussed in the developer meeting in Feb 2016. Please give feedback.

@hjelmn hjelmn force-pushed the configure_summary branch from 829de50 to c9894e4 Compare March 1, 2016 18:11
@hjelmn
Copy link
Member Author

hjelmn commented Mar 1, 2016

Screwed something up. Fixing now.

@hjelmn hjelmn force-pushed the configure_summary branch 4 times, most recently from c0484e6 to 9574d40 Compare March 1, 2016 19:46
@hppritcha hppritcha added this to the v2.1.0 milestone Mar 1, 2016
@hjelmn hjelmn force-pushed the configure_summary branch 4 times, most recently from 1c5b053 to 982c3cb Compare March 2, 2016 18:08
@hjelmn
Copy link
Member Author

hjelmn commented Mar 2, 2016

:bot:retest:

1 similar comment
@hjelmn
Copy link
Member Author

hjelmn commented Mar 2, 2016

:bot:retest:

@hjelmn hjelmn force-pushed the configure_summary branch from 982c3cb to 4903b8d Compare March 2, 2016 20:56
@hjelmn
Copy link
Member Author

hjelmn commented Mar 8, 2016

@jsquyres I think this is ready to go.

This commit adds two m4 macros: OPAL_SUMMARY_ADD, OPAL_SUMMARY_PRINT.
OPAL_SUMMARY_ADD adds an item to a section in the summary. For example
OPAL_SUMMARY_ADD([[Transports]],[[Foo]],...,[yes]) will add the
following to the summary:

Transports
-----------------------
Foo: yes

With this commit two sections are added: Transports, Resource Managers.

The OPAL_SUMMARY_PRINT macro is called after AC_OUTPUT and prints out
some information about the build (version, projects, etc) and then
the summarys sections. It will additionally print a warning if
internal debugging is enabled.

Example output:

Open MPI configuration:
-----------------------
Version: 3.0.0 a1
Build Open Platform Abstration project: yes
Build Open Runtime project: yes
Build Open MPI project: yes
Build Open SHMEM project: no
MPI C++ bindings (deprecated): no
MPI Fortran bindings: mpif.h, use mpi, use mpi_f08
Debug build: yes

Transports
-----------------------
Cray uGNI (Gemini/Aries): no
Intel Omnipath (PSM2): no
KNEM Shared Memory: no
Linux CMA IPC: no
Mellanox MXM: no
Open UCX: no
OpenFabrics libfabric: no
OpenFabrics Verbs: no
portals4: no
QLogic Infinipath (PSM): no
tcp: yes
XPMEM Shared Memory: no

Resource Managers
-----------------------
Cray Alps: no
Grid Engine: no
LSF: no
Slurm: yes
Torque: yes

INTERNAL DEBUGGING IS ENABLED. DO NOT USE THIS BUILD FOR PERFORMANCE MEASUREMENTS!

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
@hjelmn hjelmn force-pushed the configure_summary branch from 4903b8d to d2f5fca Compare March 8, 2016 17:04
hjelmn added a commit that referenced this pull request Mar 9, 2016
configure: add a summary section at the end of configure output
@hjelmn hjelmn merged commit f8469de into open-mpi:master Mar 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants