Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

clusterFunctionsSlurm(): Use 'sacct' instead of 'squeue'

Aperta
#331 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r
Ambito
hpc

Direzione di ricerca

Start in R/clusterFunctionsSlurm.R around the clusterFunctionsSlurm() implementation and inspect listJobsQueued() and listJobsRunning(). Compare those paths with future.batchtools's R/makeClusterFutureSlurm2.R and the referenced pull request, then update job listing to use sacct without stdout/stderr contamination. Done means queued and running Slurm jobs are listed reliably.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

cf-slurm

The clusterFunctionsSlurm() function uses squeue to list Slurm jobs:

https://github.com/mlr-org/batchtools/blob/9e49c813ea95b393592ce1bfda36e4a83b5eb53b/R/clusterFunctionsSlurm.R#L87

I, and I think others, found that is not working reliably. Over in future.batchtools, I've patched the listJobsQueued() and listJobsRunning() function to use sacct instead + fixing stdout/stderr contamination (https://github.com/mlr-org/batchtools/pull/314) + a little bit more:

https://github.com/futureverse/future.batchtools/blob/develop/R/makeClusterFutureSlurm2.R

Feel free to adopt these patches as you'd like.

PS. I'm reach out now, as I noticed recent activity in the repos - thanks for that. /cc @jemus42

Lingua principale
R
Stelle
184
Fork
53
Merge medio
2g 12h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mlr-org/batchtools

Tutte le issue di mlr-org/batchtools

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.