Skip to content

Commit

Permalink
Merge pull request #4694 from jedwards4b/clarify_prereq_option
Browse files Browse the repository at this point in the history
clarify prereq option in case.submit
  • Loading branch information
jedwards4b authored Oct 11, 2024
2 parents 4de5fc2 + f7f2970 commit 2df4aa2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions CIME/Tools/case.submit
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def parse_command_line(args, description):
parser.add_argument(
"--prereq",
help="Specify a prerequisite job id, this job will not start until the\n"
"job with this id is completed (batch mode only).",
"job with this id is completed (batch mode only). This feature overrides the\n"
"CONTINUE_RUN=TRUE check for the existance of restart files and assumes that the\n"
"files will be present when the case starts.",
)

parser.add_argument(
Expand Down Expand Up @@ -97,7 +99,10 @@ def parse_command_line(args, description):
CIME.utils.add_mail_type_args(parser)

parser.add_argument(
"-a", "--batch-args", help="Used to pass additional arguments to batch system."
"-a",
"--batch-args",
help="Used to pass additional arguments to batch system.\n"
"Do not use this feature to specify job prerequisites, use the --prereq feature instead.",
)

parser.add_argument(
Expand Down

0 comments on commit 2df4aa2

Please sign in to comment.