diff --git a/src/ert/config/parsing/config_schema_deprecations.py b/src/ert/config/parsing/config_schema_deprecations.py index d42b612f563..33a0ece4859 100644 --- a/src/ert/config/parsing/config_schema_deprecations.py +++ b/src/ert/config/parsing/config_schema_deprecations.py @@ -1,4 +1,5 @@ from functools import partial +from typing import List, cast from .deprecation_info import DeprecationInfo @@ -222,4 +223,11 @@ "the future. Use REALIZATION_MEMORY instead.", check=lambda line: "MEMORY_PER_CPU" in line, ), + DeprecationInfo( + keyword="QUEUE_OPTION", + message="Memory requirements in LSF should now be set using REALIZATION_MEMORY and not" + " through the LSF_RESOURCE option.", + check=lambda line: "LSF_RESOURCE" in line + and "mem=" in cast(List[str], line)[-1], + ), ]