R,由于并行化导致的错误

时间:2018-06-13 19:15:07

标签: r

我正在使用名为 wTO https://cran.r-project.org/web/packages/wTO/index.html)的特定R包

它基本上用于构建相关网络

我必须执行的主要命令是:

>x= wTO.Complete(k = 32, n = 100, Data, Overlap, method = "p", method_resampling = "Bootstrap", pvalmethod = "BH", savecor = F, expected.diff = 0.2, lag = NULL, normalize = F, plot = T)

在这里,我使用了k = 32,计算机线程用于CENTOS服务器上的计算。为了并行化,开发人员使用了R包“parallel”

我的第一个网络很容易在45分钟内建成。但是我从那时起就开始出现错误,尽管矩阵大小相当(20k节点)。减少k仍然会引发同样的错误。

我收到错误:     反序列化错误(节点$ con):从连接读取错误

我在一些论坛中读到这是由于并行线程。请帮助。

sessionInfo()
R version 3.4.1 (2017-06-30)`
Platform: x86_64-redhat-linux-gnu (64-bit)`
Running under: CentOS release 6.8 (Final)`
Matrix products: default`
BLAS: /usr/lib64/R/lib/libRblas.so
LAPACK: /usr/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] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] wTO_1.6

loaded via a namespace (and not attached):
[1] Rcpp_0.12.12      visNetwork_2.0.3  digest_0.6.12     plyr_1.8.4
[5] jsonlite_1.5      magrittr_1.5      stringi_1.1.5     som_0.3-5.1
[9] reshape2_1.4.2    data.table_1.10.4 tools_3.4.1       stringr_1.2.0
[13] htmlwidgets_0.9   igraph_1.2.1      parallel_3.4.1    compiler_3.4.1
[17] pkgconfig_2.0.1   htmltools_0.3.6

0 个答案:

没有答案