Set interface in `SLURMRunner`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- distributed-systems, documentation
Direzione di ricerca
Inizia dalla documentazione di runners-overview e dagli entry point SLURMRunner e SLURMCluster menzionati nell’issue. Riproduci l’esempio hello-Dask con l’interfaccia ib0 del cluster, quindi determina la configurazione dell’interfaccia prevista e le modifiche necessarie alla documentazione per spiegare la limitazione di SLURMCluster su più nodi; il lavoro è completo quando il comportamento e la limitazione sono chiaramente documentati e verificati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello from a new user! I'm putting this here rather than opening a new issue, but let me know if I should do the latter instead.
Following the documentation, I am trying to run my very first "hello dask" script that looks like the following:
from dask.distributed import Client from dask_jobqueue.slurm import SLURMRunner with SLURMRunner() as runner: with Client(runner) as client: client.wait_for_workers(runner.n_workers) print(f"Number of workers = {runner.n_workers}")When I submit the job using slurm, I get the following network-related warning
2025-02-12 16:22:11,565 - distributed.scheduler - INFO - State start /home/sm69/.conda/envs/pyathena/lib/python3.13/site-packages/distributed/utils.py:189: RuntimeWarning: Couldn't detect a suitable IP address for reaching '8.8.8.8', defaulting to hostname: [Errno 101] Network is unreachable warnings.warn( 2025-02-12 16:22:11,569 - distributed.scheduler - INFO - Scheduler at: tcp://10.33.81.152:35737 2025-02-12 16:22:11,569 - distributed.scheduler - INFO - dashboard at: http://10.33.81.152:8787/status 2025-02-12 16:22:11,569 - distributed.scheduler - INFO - Registering Worker plugin shuffle 2025-02-12 16:22:11,647 - distributed.scheduler - INFO - Receive client connection: Client-6c2bbb5b-e987-11ef-b579-78ac4413ab38 2025-02-12 16:22:11,647 - distributed.core - INFO - Starting established connection to tcp://10.33.81.152:58686 2025-02-12 16:22:11,658 - distributed.worker - INFO - Start worker at: tcp://10.33.81.152:42115 2025-02-12 16:22:11,658 - distributed.worker - INFO - Listening to: tcp://10.33.81.152:42115 2025-02-12 16:22:11,658 - distributed.worker - INFO - Start worker at: tcp://10.33.81.152:38967 2025-02-12 16:22:11,658 - distributed.worker - INFO - Start worker at: tcp://10.33.81.152:44313 2025-02-12 16:22:11,658 - distributed.worker - INFO - Start worker at: tcp://10.33.81.152:42309 2025-02-12 16:22:11,658 - distributed.worker - INFO - Worker name: 9 2025-02-12 16:22:11,659 - distributed.worker - INFO - dashboard at: 10.33.81.152:46699 2025-02-12 16:22:11,659 - distributed.worker - INFO - Waiting to connect to: tcp://10.33.81.152:35737 2025-02-12 16:22:11,659 - distributed.worker - INFO - Start worker at: tcp://10.33.81.152:34517 ...Followed by
StreamClosedErrorandCommClosedErrorBefore get into the Runner, I have already tried using Cluster, by, e.g.,
ncores = 96 SLURMCluster(cores=ncores, memory='720 GiB', processes=ncores, interface="ib0")As you can see here, I had to set
interface="ib0"(the cluster uses infiniband for inter-node communication); otherwise I got similar error.This made me think that I have to do something similar to
interface="ib0"when usingSLURMRunneras well, but I couldn't find such thing in the documentation. Could you guide me what to do?Somewhat related feedback from a new user's perspective: It was a surprise to me when I first realize
SLURMClusterdoes not support multi-node job. I was not mentioned explicitly in the documentation, and I had to surf through several issues to come to realize that is the case. I think one of the main motivation to use dask is to overcome single node memory bound when analyzing large simulation data, so I naively assumed thatdask-jobqueuewould support multi-node job. It might be very helpful that documentation explicitly says thatSLURMClustercannot submit multi-node job.
Originally posted by @sanghyukmoon in #638
- Lingua principale
- Python
- Stelle
- 256
- Fork
- 148
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dask/dask-jobqueue
-
bug LSF
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
dask/dask-jobqueue#703 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
dask/dask-jobqueue#701 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
dask/dask-jobqueue#699 · 2 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
dask/dask-jobqueue#692 · 1 commento ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
dask/dask-jobqueue#691 · 7 commenti ·
Tutte le issue di dask/dask-jobqueue
Issue simili
-
app: scripts status: backlog type: documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
netbox-community/netbox-scripts#68 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
marin-community/marin#10765 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
flathub/com.unity.UnityHub#230 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
namespace operations
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 63/100
EclipseFdn/open-vsx.org#14910 ·
I maintainer di solito rispondono entro 1 giorno