PBSCluster does not start
See original GitHub issueHi,
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:
- Created 5 years ago
- Comments:29 (15 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
According to https://user.cscs.ch/computing/data_science/dask/
So it looks like this is indeed possible but needs some configuring.