You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error while trying to run BISCUIT_main.R on my dataset:
Error in serialize(data, node$con) : error writing to connection
It looks like it specifically occurs during the BISCUIT_IMM_Gibbs_MCMC_parallel.R step at lines 593-604:
for(r_all in 1:runs.all){
print(paste("Beginning of batch ",r_all));
results.per.MCMC <- foreach(r=((1+(num_gene_sub_batches*(r_all-1))):(num_gene_sub_batches*r_all)),.packages=c("Rtsne","lattice","MASS","bayesm","robustbase","chron","mnormt","MCMCpack", "coda","Matrix", "mvtnorm")) %dopar% {
values <- list()
values <- main.fun(r)
return(list(unlist(values[[1]]),unlist(values[[2]]),unlist(values[[3]]),values[[4]],values[[5]],values[[6]])) ##z, alpha, beta, mu and Sigma
}
results.all.MCMC[[r_all]] <- results.per.MCMC
print(paste("End of batch ",r_all));
}
It looks like it may be related to a cluster failing because of memory? It happens at gene batch 15. I used the numCores <-detectCores()-1 feature. And is there any way to solve this?
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I got the following error while trying to run BISCUIT_main.R on my dataset:
Error in serialize(data, node$con) : error writing to connection
It looks like it specifically occurs during the BISCUIT_IMM_Gibbs_MCMC_parallel.R step at lines 593-604:
for(r_all in 1:runs.all){
}
It looks like it may be related to a cluster failing because of memory? It happens at gene batch 15. I used the numCores <-detectCores()-1 feature. And is there any way to solve this?
Thank you
The text was updated successfully, but these errors were encountered: