Skip to content

Commit

Permalink
Suggestions from Jim, add comment about machine name in manage_case a…
Browse files Browse the repository at this point in the history
…nd modify default for mach option in create_newcase
  • Loading branch information
ekluzek committed Aug 31, 2016
1 parent d3ea142 commit 7019fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/create_newcase
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ def parse_command_line(args, cimeroot):
"To see list of current compsets, use the utility manage_case in this directory")

parser.add_argument("--mach", "-mach",
help="Specify a machine (if not set, base it off of the hostname). "
"To see list of current machines, use the utility manage_case in this directory")
help="Specify a machine. default: match NODENAME_REGEX in config_machines.xml "
"To see list of current machines, use the utility manage_case in this directory"
)

parser.add_argument("--compiler", "-compiler",
help="Specify a compiler. "
Expand Down
1 change: 1 addition & 0 deletions scripts/manage_case
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def query_machines():
config_file = files.get_value("MACHINES_SPEC_FILE")
expect(os.path.isfile(config_file),
"Cannot find config_file %s on disk" %config_file)
# Provide a special machine name indicating no need for a machine name
machines = Machines(config_file,machine="Query")
machines.print_values()

Expand Down

0 comments on commit 7019fcb

Please sign in to comment.