question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PBSCluster does not start

See original GitHub issue

Hi,

I’ve been trying to use dask with dask-jobqueue on an HPC cluster that uses PBS scheduling, but I can’t make it to start the processes. I’m following the steps shown in the “Dask on HPC Introduction”.

Essentially, my steps are:

from dask_jobqueue import PBSCluster
from dask.distributed import Client

cluster = PBSCluster(memory="1GB",
                                  resource_spec='select=1:ncpus=36:mem=1000mb',
                                  cores=36)
# (with appropriate queue and project options from yml file)
# also, changing memory keywords doesn't seem to help

Then, if I print cluster, I get

PBSCluster(cores=0, memory=0 B, workers=0/0, jobs=0/0)

which probably means that submission fails, right?

However, when I manually do qsub job_script.sh where job_script.sh contains the output of print(cluster.job_script()), the job is submitted without errors and I can see it in the queue.

So I’m a bit stuck here. Any help would be greatly appreciated please.

Many thanks, Denis

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:29 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
guillaumeebcommented, May 1, 2019

Okay, so we’ll leave this as closed. Feel free to open another discussion if you identify something that could be done to have dask-jobqueue on Cray. In the mean time, you can try to launch dask by hand or with other solutions:

1reaction
ocaisacommented, Apr 30, 2019

According to https://user.cscs.ch/computing/data_science/dask/

Dask and Distributed Dask are provided as part of the Cray Urika-XC analytics package.

So it looks like this is indeed possible but needs some configuring.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I keep a PBSCluster running? - Stack Overflow
I have access to a cluster running PBS Pro and would like to keep a PBSCluster instance running on the headnode.
Read more >
dask_jobqueue.PBSCluster - Dask-Jobqueue
Launch Dask on a PBS cluster. Parameters ... Whether or not to start a nanny process ... Directives added by job_extra_directives won't be...
Read more >
Common Reasons Why Jobs Won't Start
If your job does not run after it has been successfully submitted, it might be due to one of the following reasons:.
Read more >
Running on a PBS Cluster - Google Groups
I have an error when I try to run Trinity on a PBS cluster. ... The PBS handler was from a trinity development...
Read more >
Problems with Frealign on PBS Cluster | The Grigorieff Lab
However, executing frealin_run_refine did not managed to run properly. From frealign.log I get: """Starting refinement... Cycle 80: reconstructing particles ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found