Skip to content

Commit e3d79a8

Browse files
committed
Remove guard against multiple flow threads
Such a guard should be local site configuration, not enforced for ert as a whole. Flow threads are lightweight IO helper threads, and local conditions determine whether they should be used or not.
1 parent 6078659 commit e3d79a8

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/ert/plugins/hook_implementations/forward_model_steps.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,6 @@ def validate_pre_experiment(self, fm_json: ForwardModelStepJSON) -> None:
354354
"Do not supply --np as an option to FLOW, "
355355
"set NUM_CPU in the Ert config instead."
356356
)
357-
if "--threads" in self.private_args.get("<OPTS>", ""):
358-
raise ForwardModelStepValidationError(
359-
"Do not supply --threads as an option to FLOW, "
360-
"set NUM_CPU in the Ert config instead."
361-
)
362357

363358
available_versions = _available_flow_versions(
364359
env_vars=fm_json["environment"] or {}

0 commit comments

Comments
 (0)