1
1
openmpi/ompi/tools/ompi_info
Jeff Squyres 97b3603036 A bunch of fixes and improvements to Open MPI's various command line tools.
* fixed some bugs where "unknown" tokens were allowed on the command
   line (which should really only be used for ortertun).
 * if an unknown token is encountered, print a short error to stderr
   and quit with a nonzero exit status
 * if we don't find the right number of parameters to an option, print
   a short error to stderr and quit with a nonzero exit status
 * when --help is given, print the help message to stdout (not stderr)
   and quit with a zero exit status
 * added --showme:help option to the wrapper compilers
 * updated docs in opal/util/cmd_line.h
 * other small/miscellaneous CLI parsing bugs in various tools

I won't bore you with what we did before.  :-)  Here's some examples
of what the new behavior looks like:

{{{
% ompi_info --bogus
ompi_info: Error: unknown option "--bogus"
Type 'ompi_info --help' for usage.
% ompi_info --param bogus
ompi_info: Error: option "--param" did not have enough parameters (2)
Type 'ompi_info --help' for usage.
%
}}}

This commit was SVN r26072.
2012-02-29 17:52:38 +00:00
..
CMakeLists.txt Complete the MinGW build support on Windows. 2011-08-15 09:47:23 +00:00
components.c My apologies for doing this outside of the usual time restrictions, but we need to get this in so we can make progress. 2012-01-11 15:53:09 +00:00
help-ompi_info.txt Have ompi_info output a better error message when a requested framework cannot be found, either because it doesn't exist or support wasn't configured into OMPI. 2009-09-29 13:56:14 +00:00
Makefile.am Do not use $(RM); BSD-flavored "make"s don't understand it. Instead, 2012-02-13 22:13:38 +00:00
ompi_info.1in Putback for all changes to automate man page updates to strings of 2008-08-01 21:14:37 +00:00
ompi_info.c A bunch of fixes and improvements to Open MPI's various command line tools. 2012-02-29 17:52:38 +00:00
ompi_info.h Cleanup a define to separate it from the info.h file 2009-06-30 22:56:25 +00:00
output.c Missed this free/re-strdup 2011-11-03 11:31:37 +00:00
param.c Roll in Java bindings per telecon discussion. Man pages still under revision 2012-02-20 22:12:43 +00:00
version.c Add the MPI API version to the ompi_info output. How did we never 2011-11-04 23:30:59 +00:00