From dec23416e0cf68ff55b310bb414efef0d9176b10 Mon Sep 17 00:00:00 2001 From: xjules Date: Thu, 19 Dec 2024 14:54:01 +0100 Subject: [PATCH] Use tcp for evereserver --- src/everest/detached/jobs/everserver.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/everest/detached/jobs/everserver.py b/src/everest/detached/jobs/everserver.py index 3c36a71fd71..49686acaa3b 100755 --- a/src/everest/detached/jobs/everserver.py +++ b/src/everest/detached/jobs/everserver.py @@ -313,12 +313,12 @@ def main(): simulation_callback=partial(_sim_monitor, shared_data=shared_data), optimization_callback=partial(_opt_monitor, shared_data=shared_data), ) - - evaluator_server_config = EvaluatorServerConfig( - custom_port_range=range(49152, 51819) - if run_model.ert_config.queue_config.queue_system == QueueSystem.LOCAL - else None - ) + if run_model.ert_config.queue_config.queue_system == QueueSystem.LOCAL: + evaluator_server_config = EvaluatorServerConfig() + else: + evaluator_server_config = EvaluatorServerConfig( + custom_port_range=range(49152, 51819), use_ipc_protocol=False + ) run_model.run_experiment(evaluator_server_config)