From 916b09f1b7edba4d47d61ce4930c78fd47e807d9 Mon Sep 17 00:00:00 2001 From: Jin Lee Date: Sat, 20 May 2017 02:28:36 -0700 Subject: [PATCH] make SOCK cluster instead of MPI --- run_spp.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_spp.R b/run_spp.R index 690066c..3fee5ff 100755 --- a/run_spp.R +++ b/run_spp.R @@ -688,7 +688,7 @@ if (is.na(iparams$n.nodes)) { cluster.nodes <- NULL } else { library(snow) - cluster.nodes <- makeCluster(iparams$n.nodes) + cluster.nodes <- makeCluster(iparams$n.nodes,type="SOCK") } # ################################# @@ -843,7 +843,7 @@ if ( !is.na(iparams$output.npeak.file) || !is.na(iparams$output.rpeak.file) ) { if (is.na(iparams$n.nodes)) { cluster.nodes <- NULL } else { - cluster.nodes <- makeCluster(iparams$n.nodes) + cluster.nodes <- makeCluster(iparams$n.nodes,type="SOCK") } # Find peaks