search for: mosrun

Displaying 1 result from an estimated 1 matches for "mosrun".

Did you mean: moran
2003 Nov 21
1
Using log() on an openMosix cluster
...de: ## N <- 100000; a <- numeric(N); b <- numeric(N) e <- rnorm(N) for(i in 1:N) { a[i] <- exp(e[i]) b[i] <- log(abs(a[i])) } ## When I run it on the head node, everything is fine. However, when I send the R process off to one of the cluster nodes (i.e. using mosrun from the head node) the program takes about 10 times longer (in wall-clock time, cpu time is roughly the same). Interestingly, when I tried running the following code: ## N <- 100000; a <- numeric(N); b <- numeric(N) e <- rnorm(N) for(i in 1:N) { a[i] <- exp(e[i])...