Skip to content

Commit

Permalink
Renamed manage_case to query_case
Browse files Browse the repository at this point in the history
Renamed manage_case to query_case as per #1155. Additionally, changed all
references to manage_case to query_case.
  • Loading branch information
Erich L Foster committed May 5, 2017
1 parent ef7d0fe commit c8551d0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions scripts/create_newcase
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ OR

parser.add_argument("--compset", "-compset", required=True,
help="(required) Specify a compset. "
"To see list of current compsets, use the utility manage_case in this directory")
"To see list of current compsets, use the utility query_case in this directory")

parser.add_argument("--res", "-res", required=True,
help="(required) Specify a model grid resolution. "
"To see list of current compsets, use the utility manage_case in this directory")
"To see list of current compsets, use the utility query_case in this directory")

parser.add_argument("--machine", "-mach",
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"
"To see list of current machines, use the utility query_case in this directory"
)

parser.add_argument("--compiler", "-compiler",
help="Specify a compiler. "
"To see list of supported compilers for each machine, use the utility manage_case in this directory")
"To see list of supported compilers for each machine, use the utility query_case in this directory")

parser.add_argument("--ninst",default=1,
help="Specify number of component instances"
"Set the number of component instances in the case.")

parser.add_argument("--mpilib", "-mpilib",
help="Specify the mpilib. "
"To see list of supported mpilibs for each machine, use the utility manage_case in this directory. "
"To see list of supported mpilibs for each machine, use the utility query_case in this directory. "
"The default is the first listing in MPILIBS in config_machines.xml")

parser.add_argument("--project", "-project",
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_test
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ OR

parser.add_argument("--mpilib",
help="Specify the mpilib. "
"To see list of supported mpilibs for each machine, use the utility manage_case in this directory. "
"To see list of supported mpilibs for each machine, use the utility query_case in this directory. "
"The default is the first listing in MPILIBS in config_machines.xml")

if model == "cesm":
Expand Down
2 changes: 1 addition & 1 deletion scripts/lib/CIME/XML/grids.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _read_config_grids_v1(self, name, compset):
component_grids = self._get_component_grids(lname)
return lname, component_grids
expect (False,
"grid '%s' is not supported, use manage_case to determine supported grids " %name)
"grid '%s' is not supported, use query_case to determine supported grids " %name)

def _read_config_grids_v2(self, name, compset):
"""
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tools/Readme.configure
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ optional arguments:
defaults to the current working directory.
--compiler COMPILER, -compiler COMPILER
Specify a compiler. To see list of supported compilers
for each machine, use the utility manage_case in this
for each machine, use the utility query_case in this
directory
--mpilib MPILIB, -mpilib MPILIB
Specify the mpilib. To see list of supported mpilibs
for each machine, use the utility manage_case in this
for each machine, use the utility query_case in this
directory. The default is the first listing in MPILIBS
in config_machines.xml
--clean Remove old Macros and env files before attempting to
Expand Down
8 changes: 4 additions & 4 deletions tools/configure
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ def parse_command_line(args):

parser.add_argument("--compiler", "-compiler",
help="Specify a compiler. "
"To see list of supported compilers for each machine, use the utility manage_case in this directory")
"To see list of supported compilers for each machine, use the utility query_case in this directory")

parser.add_argument("--mpilib", "-mpilib",
help="Specify the mpilib. "
"To see list of supported mpilibs for each machine, use the utility manage_case in this directory. "
"To see list of supported mpilibs for each machine, use the utility query_case in this directory. "
"The default is the first listing in MPILIBS in config_machines.xml")

parser.add_argument("--clean", action="store_true",
parser.add_argument("--clean", action="store_true",
help="Remove old Macros and env files before attempting to create new ones")

argcnt = len(args)
Expand Down Expand Up @@ -135,7 +135,7 @@ def parse_command_line(args):


if args.clean:
files = ["Macros.make", "Macros.cmake", "env_mach_specific.xml", ".env_mach_specific.sh",
files = ["Macros.make", "Macros.cmake", "env_mach_specific.xml", ".env_mach_specific.sh",
".env_mach_specific.csh", "Depends.%s"%compiler, "Depends.%s"%args.machine,
"Depends.%s.%s"%(args.machine,compiler)]
for file_ in files:
Expand Down

0 comments on commit c8551d0

Please sign in to comment.