Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBSCluster is not awaitable #273

Closed
aidanheerdegen opened this issue May 22, 2019 · 6 comments
Closed

PBSCluster is not awaitable #273

aidanheerdegen opened this issue May 22, 2019 · 6 comments

Comments

@aidanheerdegen
Copy link

It would be great to use PBSCluster with dask-labextension but for this to work PBSCluster has to be able to be used asynchronously, so has to support await

dask/dask-labextension#36

When I tried specifying PBSCluster in my ~/.dask/config:

labextension: 
  factory: 
    args: []
    class: PBSCluster
    module: dask_jobqueue
    kwargs: 
      cores: 8
      jobextra: 
        - "-P v45"
      memory: 16GB
      processes: 8
      queue: expressbw
      resource_spec: 'ncpus=8,mem=16G'

I got an error:

[W 13:05:24.228 LabApp] object PBSCluster can't be used in 'await' expression
@guillaumeeb
Copy link
Member

That's quite possible that dask-jobqueue is not currently compatible. I have to admit my lack of knowledge with async programing. Work has been done with dask-kubernetes here as you're probably aware through the dask-labextension issue.

Would you want to give a try on the equivalent for dask-jobqueue?

@aidanheerdegen
Copy link
Author

I have attempted this, but no luck so far. I'll try and find time to work on it next week.

@guillaumeeb
Copy link
Member

@mrocklin, should be fixed by #307 if I'm not mistaken?

@lesteve
Copy link
Member

lesteve commented Aug 22, 2019

@mrocklin, should be fixed by #307 if I'm not mistaken?

That's my understanding as well.

@mrocklin
Copy link
Member

Yes

@guillaumeeb
Copy link
Member

Fixed by #307

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

No branches or pull requests

4 participants