Skip to content

Add dask-jobqueue and dask-drmaa links to HPC setup docs - #3426

Merged
mrocklin merged 2 commits into
dask:masterfrom
mrocklin:docs-hpc-dask-jobqueue
May 3, 2018
Merged

mrocklin merged 2 commits into
dask:masterfrom
mrocklin:docs-hpc-dask-jobqueue

Conversation

@mrocklin

Copy link
Copy Markdown
Member

Comment thread docs/source/setup/hpc.rst Outdated

from dask_jobqueue import PBSCluster

cluster = PBSCluster(# TODO realistic example)

@lesteve lesteve Apr 20, 2018 •

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.

You can probably reuse:

cluster = PBSCluster(processes=6, threads=4, memory="16GB")

from the dask-jobqueue doc.

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.

OK I am just seeing dask/dask-jobqueue#40 now ...

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.

Here's a real-world example that I've been using on our system (NCAR's Cheyenne):

cluster = PBSCluster(processes=18, threads=4, memory="6GB",
                     project='P48500028', queue='premium',
                     resource_spec='select=1:ncpus=36:mem=109G',
                     walltime='02:00:00')

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.

There's probably some balance to be struck between a verbatim example and something the average user can grok.

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. However, my experience has been that users familiar with job-queuing systems are actually pretty familiar with all of the terms mentioned in @jhamman 's example. Are there elements there that you think are particularly confusing and should be removed for simplicity?

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.

For me things likes project and resource_spec stick out to me. They are things that either need more explanation or would best noted as extra parameters that users will have to determine for themselves on their system.

That said, this may just be a gut reaction when confronted with syntax like this. It's probably fair to ignore this concern initially and iterate on the example based on user feedback.

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.

I think that it's useful having a concrete example of resource_spec there. Most clusters that I've interacted with have needed this explicitly to function well. For project maybe we replace it with "..." ?

@jakirkham

Copy link
Copy Markdown
Member

Generally this seems fine to me once some suitable example is settled on.

@jhamman

jhamman commented May 2, 2018

Copy link
Copy Markdown
Member

I gave this another read through and this all looks good to me.

@mrocklin
mrocklin merged commit 35993a5 into dask:master May 3, 2018
@mrocklin
mrocklin deleted the docs-hpc-dask-jobqueue branch May 3, 2018 00:34
@mrocklin

mrocklin commented May 3, 2018 via email

Copy link
Copy Markdown
Member Author

@jakirkham

Copy link
Copy Markdown
Member

Thanks for adding this, @mrocklin.

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.

4 participants