diff --git a/dask_mpi/cli.py b/dask_mpi/cli.py index 039dd10..2cccdfd 100644 --- a/dask_mpi/cli.py +++ b/dask_mpi/cli.py @@ -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, @@ -88,6 +95,7 @@ def main( local_directory, memory_limit, scheduler, + dashboard, dashboard_address, nanny, worker_class, @@ -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, diff --git a/docs/environment.yml b/docs/environment.yml index b25df22..209c20f 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -8,7 +8,7 @@ dependencies: - mpich - mpi4py>=3.0.3 - versioneer - - sphinx + - sphinx>=5.0 - pygments - pip - pip: