checkForRemoteErrors(val)出错:

时间:2018-02-21 07:43:20

标签: r linux parallel-processing bioinformatics

我目前正在CentOs6环境中通过Linux集群运行集合小众模型分析。我使用的包是SSDM。我的代码如下:

Env <- load_var(path = getwd(), files = NULL, format = c(".grd", ".tif", ".asc",
                                                     ".sdat", ".rst", ".nc", ".envi", ".bil", ".img"), categorical = "af_anthrome.asc",
            Norm = TRUE, tmp = TRUE, verbose = TRUE, GUI = FALSE)
Env
head(Env)
warnings()
Occurrences <- load_occ(path = getwd(), Env, file = 
"Final_African_Bird_occurrence_rarefied_points.txt", 
                    Xcol = "decimallon", Ycol = "decimallat", Spcol = 
"species", GeoRes = FALSE,
                    sep = ",", verbose = TRUE, GUI = FALSE)
head(Occurrences)
warnings()
SSDM <- stack_modelling(c("GLM", "GAM", "MARS", "GBM", "RF", "CTA", 
"MAXENT", "ANN", "SVM"), Occurrences, Env, Xcol = "decimallon",
                    Ycol = "decimallat", Pcol = NULL, Spcol = "species", rep 
 = 1,
                    name = "Stack", save = TRUE, path = getwd(), PA = NULL,
                    cv = "holdout", cv.param = c(0.75, 1), thresh = 1001,
                    axes.metric = "Pearson", uncertainty = TRUE, tmp = TRUE,
                    ensemble.metric = c("AUC", "Kappa", "sensitivity", "specificity"), ensemble.thresh = c(0.75, 0.75, 0.75, 0.75), weight = TRUE,
                    method = "bSSDM", metric = "SES", range = NULL,
                    endemism = NULL, verbose = TRUE, GUI = FALSE, cores = 125)

 save.stack(SSDM, name = "Bird", path = getwd(),
       verbose = TRUE, GUI = FALSE)

运行stack_modelling函数时,出现此错误消息:

Error in checkForRemoteErrors(val) : 
125 nodes produced errors; first error: comparison of these types is not 
implemented
Calls: stack_modelling ... clusterApply -> staticClusterApply -> 
checkForRemoteErrors
In addition: Warning message:
In stack_modelling(c("GLM", "GAM", "MARS", "GBM", "RF", "CTA", "MAXENT",  :
It seems you attributed more cores than your CPU have !
Execution halted
Error in unserialize(node$con) : error reading from connection
Calls: <Anonymous> ... doTryCatch -> recvData -> recvData.SOCKnode -> 
unserialize
In addition: Warning message:
In eval(e, x, parent.frame()) :
Incompatible methods ("Ops.data.frame", "Ops.factor") for "=="
Execution halted

据我所知,我可能归因于更多核心而不是我可以访问但是当我使用一小部分核心时会出现同样的错误消息。我不完全确定这个错误消息试图告诉我什么或如何解决它,因为我是一个新的工作群集。这是并行处理数据的问题吗?是否有一行代码可以帮助我解决这个问题?

由于

0 个答案:

没有答案