Skip to content

Commit

Permalink
Pass port to localcluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Lippeveld committed May 21, 2024
1 parent 21ed458 commit d25a548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scip/utils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __enter__(self):
with dask.config.set({"distributed.worker.resources.cellpose": 1}):
self.cluster = LocalCluster(
n_workers=self.n_workers, threads_per_worker=self.threads_per_process,
processes=True
processes=True, dashboard_address=f":{self.port}"
)
self.client = Client(self.cluster)
elif self.mode == "jobqueue":
Expand Down

0 comments on commit d25a548

Please sign in to comment.