# NOT RUN {
spmd.code = "
suppressMessages(library(pbdBASE))
init.grid()
blacsexit()
# finalize() # This should be off since blacexit().
"
pbdMPI::execmpi(spmd.code = spmd.code, nranks = 2L)
# }
Run the code above in your browser using DataLab