Skip to content
Snippets Groups Projects
Verified Commit 3f1b0daf authored by Yannick DAYER's avatar Yannick DAYER
Browse files

fix(slurm): add the worker-port conf for our setup

parent e7661f29
Branches
Tags
No related merge requests found
......@@ -70,8 +70,12 @@ cluster = SLURMCluster(
protocol="tcp://",
scheduler_options={
"protocol": "tcp://",
"port": 8786, # Workers will connect to the scheduler on that port.
"port": 8786, # Workers will connect to the scheduler on that port
},
worker_extra_args=[
"--worker-port",
"60001:63000", # Workers will be reachable by the Client on those ports
],
)
cluster.adapt(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment