Skip to content

Commit

Permalink
Add DeprecationWarning for TORQUE OPTION QUEUE_QUERY_TIMEOUT
Browse files Browse the repository at this point in the history
This commit adds a deprecation warning for using `TORQUE QUEUE_OPTION QUEUE_QUERY_TIMEOUT`, stating it will be ignored when using the scheduler.
  • Loading branch information
jonathan-eq committed Apr 24, 2024
1 parent 724fcfb commit cbe777b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ert/config/parsing/config_schema_deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,12 @@
"The ERT default is to use /usr/bin/ssh.",
check=lambda line: "LSF_RSH_CMD" in line,
),
DeprecationInfo(
keyword="QUEUE_OPTION",
message="QUEUE_QUERY_TIMEOUT as QUEUE_OPTION to the TORQUE system will be ignored "
"when using the scheduler, and it is not recommended to use this QUEUE_OPTION. "
"It has been used in the past to set the time ERT will wait before giving "
"up on hanging backend (TORQUE/PBS) when submitting jobs or job status querying.",
check=lambda line: "QUEUE_QUERY_TIMEOUT" in line,
),
]

0 comments on commit cbe777b

Please sign in to comment.