You are not logged in.

#1 2015-03-09 16:42:19

encryptolic
Member
Registered: 2014-05-19
Posts: 8

System shutdown when use R-mkl

I'm not sure this is the right section to post, but since I consider myself a newbie, I'd start here.

I just built a new system with Intel 4790k as processor. I installed intel-parallel-studio-xe and r-mkl. Installation went smoothly. However, the system would shutdown, then reboot, when certain R scripts are run such as:

runs <- 3               # Number of times the tests are executed
times <- rep(0, 15); dim(times) <- c(5,3)
require(Matrix)         # Optimized matrix operations
require(SuppDists)      # Optimized random number generators
Runif <- runif
Rnorm <- rnorm
options(object.size=100000000)
cumulate <- 0; b <- 0
for (i in 1:runs) {
  a <- crossprod(new("dgeMatrix", x = Rnorm(3000*3000),
                     Dim = as.integer(c(3000, 3000))))
  invisible(gc())
  #a <- Rnorm(900*900); dim(a) <- c(900, 900)
  #a <- crossprod(a, a)
  timing <- system.time({
    b <- chol(a)
  })[3]
  cumulate <- cumulate + timing
}
timing <- cumulate/runs
times[4, 2] <- timing
cat(c("Cholesky decomposition of a 3000x3000 matrix________ (sec): ", timing, "\n"))

Any idea where the problem is? I've tried compiling r-mkl using gcc and icc. Both resulted in the same problem.

The script runs fine without r-mkl. It also runs without problem on my old laptop, with r-mkl.

The cpu temp at the time it was shutdown was around 40-50 C.

Last edited by encryptolic (2015-03-09 18:05:28)

Offline

Board footer

Powered by FluxBB