97b3603036
* 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.
86 строки
2.8 KiB
Plaintext
86 строки
2.8 KiB
Plaintext
# -*- text -*-
|
|
#
|
|
# Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# Copyright (c) 2007 Evergrid, Inc. All rights reserved.
|
|
# Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
|
|
#
|
|
# Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
# This is the US/English help file for Open MPI checkpoint tool
|
|
#
|
|
[usage]
|
|
opal-restart -r FILENAME
|
|
Open PAL Single Process Restart Tool
|
|
|
|
%s
|
|
#
|
|
[invalid_filename]
|
|
Error: The filename is invalid because either you have not provided a filename
|
|
or provided an invalid filename.
|
|
|
|
Filename: %s
|
|
|
|
Please see --help for usage.
|
|
#
|
|
[invalid_metadata]
|
|
Error: The local checkpoint contains invalid or incomplete metadata.
|
|
This usually indicates that the original checkpoint was invalid.
|
|
Check the metadata file (%s) in the following directory:
|
|
%s
|
|
#
|
|
[restart_cmd_failure]
|
|
Error: Unable to obtain the proper restart command to restart from the
|
|
checkpoint file (%s). Returned %d.
|
|
Check the installation of the %s checkpoint/restart service
|
|
on all of the machines in your system.
|
|
#
|
|
[comp_open_failure]
|
|
Error: Unable to open the %s framework.
|
|
#
|
|
[comp_select_failure]
|
|
Error: Unable to select the %s component needed to restart this
|
|
application. (Returned %d)
|
|
This likely indicates that the checkpointer needed is not
|
|
available on this machine. You should move to a machine that
|
|
has this checkpointer enabled.
|
|
#
|
|
[comp_select_mismatch]
|
|
Error: For an unknown reason the selected and requested components do
|
|
not match.
|
|
|
|
Expected Component: %s
|
|
Selected Component: %s
|
|
#
|
|
[restart_failure]
|
|
Error: The restart command:
|
|
shell$ %s
|
|
returned an error code %d, and was unable to restart properly.
|
|
#
|
|
[failed-to-exec]
|
|
Error: The restart command failed to properly exec the process per
|
|
the user's request. It is possible that the incorrect OPAL CRS
|
|
component was selected. Please confirm the following:
|
|
|
|
Expected Component: %s
|
|
Selected Component: %s
|
|
#
|
|
[cache_not_avail]
|
|
Warning: Recommended cache directory could not be accessed. Falling back
|
|
to the snapshot location.
|
|
Cache Dir : %s
|
|
Snapshot Dir: %s
|