Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#331 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
r
Lĩnh vực
hpc

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

cf-slurm downstream robustness

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

Ngôn ngữ chính
R
Star
184
Fork
53
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mlr-org/batchtools

Tất cả issue của mlr-org/batchtools

Issue tương tự

Thêm issue về R

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.