Skip to content

Dashboard docs - #73

Merged
mrocklin merged 3 commits into
dask:masterfrom
ericmjl:dashboard-docs
Jun 24, 2018
Merged

mrocklin merged 3 commits into
dask:masterfrom
ericmjl:dashboard-docs

Conversation

@ericmjl

@ericmjl ericmjl commented Jun 21, 2018

Copy link
Copy Markdown
Contributor

Addresses and closes #71.

I have done two things here:

  1. Added an example for SGE.
  2. Added an example on how to access dashboard.

cc: @jhamman @mrocklin.

Comment thread docs/examples.rst
# General syntax
$ ssh -fN your-login@scheduler-ip-address -L port-number:localhost:port-number
# As applied to this example:
$ ssh -fN [email protected] -L 8787:localhost:8787

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also say where they should find the tunneled address. Perhaps something like "Your dashboard will then be accessible at http://localhost:8787/status " or something similar.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

Comment thread docs/examples.rst
cluster = SGECluster(queue='default.q',
walltime="1500000",
processes=10,
memory='20GB')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious, you don't specify anything else when launching SGECluster? This section is intended to be filled with real-world examples, so we encourage you not to strip things out for simplicity's sake.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the example I have written here is about as complex as I needed it to be. Mostly I'm just specifying memory needs. I haven't tried specification for GPU, but I think it might be possible.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. Thanks for sharing!

In case you haven't already read through it, http://dask.pydata.org/en/latest/setup/hpc.html might be helpful. I've found that it's common for people to want to specify network interfaces and local directories in particular.

@ericmjl

ericmjl commented Jun 21, 2018

Copy link
Copy Markdown
Contributor Author

Btw, you're awfully early, @mrocklin!

@mrocklin

Copy link
Copy Markdown
Member

East coast time, It's 8:30am

@ericmjl

ericmjl commented Jun 21, 2018

Copy link
Copy Markdown
Contributor Author

Looks like the test failed on a piece of code. Anything I could help with here, @mrocklin?

@mrocklin

Copy link
Copy Markdown
Member

Not sure. Maybe the SLURM cluster took a while to fire up? I suspect that any of the other maintainers has more experience here than I do.

@guillaumeeb guillaumeeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, this looks good to me!
I've noticed the Slurm CI failure a few weeks ago, did not have time to fix it though, it is already recorded in issue #67. Nothing to do with this PR.

@mrocklin
mrocklin merged commit 774f261 into dask:master Jun 24, 2018
@mrocklin

Copy link
Copy Markdown
Member

Thanks @ericmjl !

@ericmjl
ericmjl deleted the dashboard-docs branch June 24, 2018 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to view the status dashboard

3 participants