rietho / IPO

A Tool for automated Optimization of XCMS Parameters
http://bioconductor.org/packages/IPO/
Other
34 stars 20 forks source link

'PSOCK' unknown cluster typee #15

Closed M-R-JONES closed 9 years ago

M-R-JONES commented 9 years ago

During execution of the function optimizeXcmsSet, I am repeatedly encountering an error that throws up the following message:

Error in makeCluster(nSlaves, type = "PSOCK") : unknown cluster type

When typing makeCluster(8, type = 'SOCK') manually, I'm able to make a cluster on the localhost. Perhaps a small but important typo?

sessionInfo() output:

R version 3.2.1 (2015-06-18) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252 [4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252

attached base packages: [1] tcltk grid parallel stats graphics grDevices utils datasets methods base

other attached packages: [1] RUnit_0.4.28 BiocInstaller_1.18.4 BiocParallel_1.2.20 Simile_1.3.3 intervals_0.15.0 R.utils_2.1.0
[7] R.oo_1.19.0 R.methodsS3_1.7.0 plyr_1.8.3 snow_0.3-13 Hmisc_3.16-0 ggplot2_1.0.1
[13] Formula_1.2-1 survival_2.38-3 lattice_0.20-33 IPO_1.7.2 CAMERA_1.24.1 igraph_1.0.1
[19] rsm_2.7-2 xcms_1.44.0 Biobase_2.28.0 ProtGenerics_1.0.0 BiocGenerics_0.14.0 mzR_2.2.1
[25] Rcpp_0.12.0 CORE_3.0

loaded via a namespace (and not attached): [1] futile.logger_1.4.1 RColorBrewer_1.1-2 futile.options_1.0.0 tools_3.2.1 rpart_4.1-10 digest_0.6.8
[7] gtable_0.1.2 graph_1.46.0 proto_0.3-10 gridExtra_2.0.0 stringr_1.0.0 cluster_2.0.3
[13] stats4_3.2.1 nnet_7.3-10 RBGL_1.44.0 foreign_0.8-65 latticeExtra_0.6-26 lambda.r_1.1.7
[19] reshape2_1.4.1 magrittr_1.5 scales_0.2.5 codetools_0.2-14 splines_3.2.1 MASS_7.3-43
[25] colorspace_1.2-6 stringi_0.5-5 acepack_1.3-3.3 munsell_0.4.2

glibiseller commented 9 years ago

Hi!

Unfortunately it's not a typo. It seems like it has to do something with how functions are exported to the cluster. Tom Wilson gave me this hint but I did not find a solution without any restrictions yet. He also made a fork of the project. Maybe these changes help you as well.

best regards Gunnar

M-R-JONES commented 9 years ago

A complete re-installation of my setup lead to things working again - not really sure what changed, as I'd tried this once before and had no luck. I'll close the issue.

Many thanks for your response.