# NOT RUN {
spmd.code = "
suppressMessages(library(pbdBASE))
init.grid()
mygrid <- blacs(0)
pbdMPI::comm.print(mygrid)
finalize()
"
pbdMPI::execmpi(spmd.code = spmd.code, nranks = 2L)
# }
Run the code above in your browser using DataLab