Nothing
### SHELL> mpiexec -np 2 Rscript --vanilla [...]_spmd.r
suppressMessages(library(pbdMPI, quietly = TRUE))
source("./01_setting")
x <- 1:(N * .comm.size)
x.list <- split(x, rep(1:.comm.size, N))
x.count <- rep(N, .comm.size)
time.proc <- list()
time.proc$integer <- system.time({
for(i in 1:iter.total){
y <- scatter(as.integer(x), integer(N), as.integer(x.count))
}
barrier()
})
time.proc$double <- system.time({
for(i in 1:iter.total){
y <- scatter(as.double(x), double(N), as.integer(x.count))
}
barrier()
})
comm.print(time.proc, quiet = TRUE)
finalize()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.