Skip to content

Update docs - #50

Merged
mrocklin merged 5 commits into
dask:masterfrom
mrocklin:docs
May 3, 2018
Merged

mrocklin merged 5 commits into
dask:masterfrom
mrocklin:docs

Conversation

@mrocklin

@mrocklin mrocklin commented May 2, 2018

Copy link
Copy Markdown
Member

No description provided.

@lesteve lesteve 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.

This looks great, thanks! Just a small comment.

Comment thread docs/index.rst
-------
install.rst
examples.rst
history.rst

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.

Did you forget to add history.rst?

@mrocklin

mrocklin commented May 2, 2018 via email

Copy link
Copy Markdown
Member Author

@mrocklin

mrocklin commented May 2, 2018

Copy link
Copy Markdown
Member Author

I'd like to merge this soon if there are no further comments.

@mrocklin

mrocklin commented May 2, 2018

Copy link
Copy Markdown
Member Author

@rsignell-usgs I noticed that you use dask-jobqueue on Yeti. Would you be willing to share the code snippet that you use when you instantiate your cluster object? We're searching for these for the documentation in this PR (see the examples section)

@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 that, only a really minor remark that you're free to take into account or not!

Comment thread docs/index.rst Outdated

If the job queue is busy then it's possible that the workers will take a while
to get through or that not all of them arrive. Operating with fewer workers
than expected is OK, Dask can elastically scale. We recommend submitting small

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 don't know if I would recommend small jobs as it can also create gaps in the job queue cluster use :) I would rather say "A solution for interactive work is" or something like that... Short wall time is perfectly OK though.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

OK, I've changed the wording to be more of an observation. I'm also happy to remove it entirely.

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 the modification, I am happy with that. You've altered your message though, but if it's OK for you, lets stick with this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You've altered your message though, but if it's OK for you, lets stick with this.

I have. Now it's our message. I like it better this way :)

@rsignell-usgs

rsignell-usgs commented May 2, 2018 •

Copy link
Copy Markdown
Contributor

@mrocklin perhaps I should have said I'm looking into jobqueue on our HPC, because I'm a little unsure what the optimal path is for firing up the Jupyter server. Currently following the Cheyenne instructions, I'm submitting a single node job, then starting up Jupyter server connecting to that json, and then in the notebook running:

from dask_jobqueue import SLURMCluster
cluster = SLURMCluster(processes=4, threads=2, memory="16GB", 
                       project="woodshole", walltime="01:00", queue="normal")
cluster.start_workers(8)

from dask.distributed import Client
client = Client(cluster)

which starts up a cluster with:

Workers: 32
Cores: 64
Memory: 512.00 GB

https://gist.github.com/rsignell-usgs/7185e96ac9826ddf64be410b5b66d3d8

@mrocklin

mrocklin commented May 2, 2018

Copy link
Copy Markdown
Member Author

Well then, let me recommend that you investigate the interface and local_directory keywords as well.

It might be worth reading through some of the best practices in http://dask.pydata.org/en/latest/setup/hpc.html

@jhamman jhamman 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 these updates.

Comment thread docs/index.rst Outdated
running within this process.

If the job queue is busy then it's possible that the workers will take a while
to get through or that not all of them arrive. In practive we find that

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.

practive->practice?

Comment thread docs/examples.rst
threads=4,
processes=6,
memory='16GB',
resource_spec='select=1:ncpus=24:mem=100GB')

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.

should we remove this example? I don't think there is anything here (except local_directory) that isn't in the example below.

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.

In our cluster, local_directory is quite an important keyword!

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.

Good to know. I'm fine leaving both or adding an example from your cluster. The DaskOnPbs account number is what lead me to think this was not a complete example.

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.

Project given through #PBS -A in our HPC is currently purely informal. We can put anything we want in there, even nothing 🙂. So yes, this example may come from me!

Comment thread docs/examples.rst
queue='premium',
resource_spec='select=1:ncpus=36:mem=109G',
walltime='02:00:00',
interface='ib0')

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.

One idea would be to point to the documentation for the machines that these work on. Users may find it useful to compare/contrast the configuration of individual systems. For example, this one came from: https://www2.cisl.ucar.edu/resources/computational-systems/cheyenne

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Agreed, do we have these names for the clusters defined here?

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 do not have such documentation online for our cluster... I can give a quick overview of our compute nodes if needed. Not sure if a small (relative to Cheyenne) french cluster will talk to many guys...

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.

this one is Cheyenne (link above).

The slurm cluster came from @rsignell-usgs is USGS's Yeti Cluster. Maybe he can provide a working link to the cluster's documentation, I came up empty handed 😉

@guillaumeeb - what is the name of you cluster? Is there online documentation?

Comment thread docs/examples.rst Outdated
SLURM Deployments
-----------------

Examples welcome `here <https://github.com/dask/dask-jobqueue/issues/40>`_

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.

cluster = SLURMCluster(processes=4,
                       threads=2,
                       memory="16GB",
                       project="woodshole",
                       walltime="01:00",
                       queue="normal")

(from @rsignell-usgs)

@rsignell-usgs

Copy link
Copy Markdown
Contributor

I've read the doc @mrocklin provided, and I'm still confused about how to start things up.

It would be great to have a recipe like this for jobqueue:
https://github.com/pangeo-data/pangeo/wiki/Getting-Started-with-Dask-on-Cheyenne

@jhamman

jhamman commented May 2, 2018

Copy link
Copy Markdown
Member

@jhamman

jhamman commented May 3, 2018

Copy link
Copy Markdown
Member

@mrocklin - I'd be fine merging this in its current state.

@mrocklin
mrocklin merged commit e999e5a into dask:master May 3, 2018
@mrocklin

mrocklin commented May 3, 2018

Copy link
Copy Markdown
Member Author

Merged. In general I'm comfortable if people want to directly push doc fixes or additions to master by the way. I think that it's good to reduce friction when it comes to documentation on an early-stage project. Not sure how others feel about that though.

@mrocklin
mrocklin deleted the docs branch May 3, 2018 21:57
@jhamman

jhamman commented May 3, 2018

Copy link
Copy Markdown
Member

I have done this a handful of time and am generally comfortable with others doing the same. Especially for small changes/fixes.

@mrocklin

mrocklin commented May 3, 2018 via email

Copy link
Copy Markdown
Member Author

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.

5 participants