Skip to content

Commit

Permalink
Merge pull request #127 from jacobtomlinson/dashboard-on-by-default
Browse files Browse the repository at this point in the history
Add --dashboard/--no-dashboard flag and enable by default
  • Loading branch information
kmpaul authored Jul 2, 2024
2 parents e852de4 + 144be74 commit 0ab8177
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions dask_mpi/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
default=None,
help="JSON serialised dict of options to pass to workers",
)
@click.option(
"--dashboard/--no-dashboard",
"dashboard",
default=True,
required=False,
help="Launch the Dashboard [default: --dashboard]",
)
@click.option(
"--dashboard-address",
type=str,
Expand All @@ -88,6 +95,7 @@ def main(
local_directory,
memory_limit,
scheduler,
dashboard,
dashboard_address,
nanny,
worker_class,
Expand Down Expand Up @@ -118,6 +126,7 @@ async def run_scheduler():
async with Scheduler(
interface=interface,
protocol=protocol,
dashboard=dashboard,
dashboard_address=dashboard_address,
scheduler_file=scheduler_file,
port=scheduler_port,
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
- mpich
- mpi4py>=3.0.3
- versioneer
- sphinx
- sphinx>=5.0
- pygments
- pip
- pip:
Expand Down

0 comments on commit 0ab8177

Please sign in to comment.