Skip to content

Commit

Permalink
make SOCK cluster instead of MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
leepc12 committed May 20, 2017
1 parent b941a79 commit 916b09f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_spp.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

# #################################
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 916b09f

Please sign in to comment.