Skip to content

Commit

Permalink
Use tcp for evereserver
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Dec 19, 2024
1 parent fa4fcd2 commit dec2341
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/everest/detached/jobs/everserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dec2341

Please sign in to comment.