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.
73 строки
2.5 KiB
Plaintext
73 строки
2.5 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) 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]
|
|
ompi-restart GLOBAL_SNAPSHOT_REF
|
|
Open MPI Parallel Job Restart Tool
|
|
|
|
%s
|
|
#
|
|
[usage-no-cr]
|
|
This build of Open MPI does *not* include Checkpoint/Restart functionality.
|
|
If you require this functionality re-configure Open MPI with the proper
|
|
Checkpoint/Restart options.
|
|
|
|
ompi-restart GLOBAL_SNAPSHOT_REF
|
|
Open MPI Parallel Job Restart Tool
|
|
|
|
%s
|
|
#
|
|
[invalid_filename]
|
|
Error: The filename provided (referenced below) could not be used for
|
|
restarting the job. This could be for a variety of reasons:
|
|
- The filename/handle is invalid,
|
|
- The snapshot directory no longer exisits, or
|
|
- There are no stable checkpoint sequences in this global snapshot.
|
|
Please see --help for usage.
|
|
|
|
Filename: %s
|
|
#
|
|
[restart_cmd_failure]
|
|
Error: Unable to obtain the proper restart command to restart from the
|
|
checkpoint file (%s). Returned %d.
|
|
#
|
|
[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.
|
|
#
|
|
[restart_failure]
|
|
Error: The restart command:
|
|
shell$ %s
|
|
returned an error code %d, and was unable to restart properly.
|
|
#
|
|
[invalid_seq_num]
|
|
Error: The filename (%s) and sequence number (%d) could not be used.
|
|
This may be caused by an invalid sequence number. Try using the
|
|
'-i' option to determine a correct value.
|
|
#
|
|
[amca_param_not_found]
|
|
Warning: Unable to find the AMCA parameter in the checkpoint metadata.
|
|
This is the option supplied to mpirun as '-am '. Restart will
|
|
assume this value to be '%s'.
|