BatchtoolsParam and bpiterate: registry not empty error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- r
- Lĩnh vực
- backend, distributed-systems
Hướng nghiên cứu
Reproduce the commands using BatchtoolsParam, register(), bpstart(), and the repeated matrix operation shown in the report. Trace how the batchtools registry is managed across calls when the backend is started in advance. Done means repeated operations no longer fail with “Registry must be empty” without requiring bpstop() between calls.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Behold this innocuous series of commands:
library(BiocParallel)
bpp2 <- BatchtoolsParam(10, cluster = "slurm",
resources = list(walltime = 3600, memory = 8000, ncpus = 1))
library(HCAData)
sce.bone <- HCAData('ica_bone_marrow')
register(bpp2)
bpstart(bpp2)
out <- counts(sce.bone) %*% runif(ncol(sce.bone)) # Okay
out <- counts(sce.bone) %*% runif(ncol(sce.bone))
## Error in batchtools::batchMap(fun = FUN, fl, more.args = list(...), reg = BPPARAM$registry) :
## Registry must be empty
I assume some required clean-up after the first call is not taking place when I start the backend in advance. Stopping it and running it the second time works fine:
bpstop(bpp2)
out <- counts(sce.bone) %*% runif(ncol(sce.bone)) # okay again.
Session info
R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS: /gstore/apps/R/R_3.6.1_Bioc_3.10/R-3.6.1-Bioc-3.10-tst-20191103/lib64/R/lib/libRblas.so
LAPACK: /gstore/apps/R/R_3.6.1_Bioc_3.10/R-3.6.1-Bioc-3.10-tst-20191103/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets
[8] methods base
other attached packages:
[1] HCAData_1.2.0 SingleCellExperiment_1.8.0
[3] SummarizedExperiment_1.16.0 DelayedArray_0.12.0
[5] matrixStats_0.55.0 Biobase_2.46.0
[7] GenomicRanges_1.38.0 GenomeInfoDb_1.22.0
[9] IRanges_2.20.1 S4Vectors_0.24.1
[11] BiocGenerics_0.32.0 BiocParallel_1.20.0
loaded via a namespace (and not attached):
[1] tidyselect_0.2.5 HDF5Array_1.14.1
[3] BiocVersion_3.10.1 purrr_0.3.3
[5] rhdf5_2.30.1 lattice_0.20-38
[7] vctrs_0.2.0 htmltools_0.4.0
[9] BiocFileCache_1.10.2 yaml_2.2.0
[11] interactiveDisplayBase_1.24.0 blob_1.2.0
[13] rlang_0.4.2 pillar_1.4.2
[15] later_1.0.0 glue_1.3.1
[17] DBI_1.0.0 rappdirs_0.3.1
[19] bit64_0.9-7 dbplyr_1.4.2
[21] GenomeInfoDbData_1.2.2 zlibbioc_1.32.0
[23] ExperimentHub_1.12.0 memoise_1.1.0
[25] fastmap_1.0.1 httpuv_1.5.2
[27] curl_4.3 AnnotationDbi_1.48.0
[29] Rcpp_1.0.3 xtable_1.8-4
[31] backports_1.1.5 promises_1.1.0
[33] BiocManager_1.30.10 XVector_0.26.0
[35] mime_0.7 bit_1.1-14
[37] AnnotationHub_2.18.0 digest_0.6.23
[39] dplyr_0.8.3 shiny_1.4.0
[41] grid_3.6.1 tools_3.6.1
[43] bitops_1.0-6 magrittr_1.5
[45] RCurl_1.95-4.12 tibble_2.1.3
[47] RSQLite_2.1.4 crayon_1.3.4
[49] pkgconfig_2.0.3 zeallot_0.1.0
[51] Matrix_1.2-18 assertthat_0.2.1
[53] httr_1.4.1 Rhdf5lib_1.8.0
[55] R6_2.4.1 compiler_3.6.1
- Ngôn ngữ chính
- R
- Star
- 69
- Fork
- 32
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Bioconductor/BiocParallel
-
BatchtoolsParam handles reduce.in.order differently from othersCó thể đã có người làm @LeonidasZhak đã nhận 44 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Bioconductor/BiocParallel#286 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Bioconductor/BiocParallel#285 ·
-
futile.logger may be archived from CRANCó thể làm lại được @Jiefei-Wang đã nhận 281 ngày trước và không có pull request nào đang mở. Đang mở
Bioconductor/BiocParallel#284 · 2 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Bioconductor/BiocParallel#283 · 2 bình luận ·
-
DoparParam: Captured stdout is relayed to stdout for some foreach adapters and stderr for othersĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Bioconductor/BiocParallel#277 ·
Tất cả issue của Bioconductor/BiocParallel
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
rstudio/reticulate#1933 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
lrberge/fixest#686 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100