Displaying 1 result from an estimated 1 matches for "for12".
Did you mean:
for1
2012 Aug 03
1
Parallel runs of an external executable with snow in local
...ly().This script apparently worked fine.
Finally, I tried to parallelize the problem by using snow and parLapply(). The resulting script looks like this:
## Not run
#
library(snow)cl <- makeCluster(3, type = "SOCK")
clusterExport(cl,list('param.esp','copy.files','for12.template','program.executor'))
parLapply(cl,a.list,a.function))stopCluster(cl)
#
##End not run
Although it runs, the parallelized version is messing up the input parameters to pass to the executable (see table below, where parameters P1 and P2 are considered. ".s" comes from...