inst/c_combine_r/a.r

### To disable "rlecuyer" loading in "pbdMPI::.onLoad()" because
### an spmd_bcast() call is needed to get the parallel RNG working in the
### "pbdMPI::.onLoad()" function.
.Random.seed <- NULL

library(pbdMPI, quietly = TRUE)

### To be consistent with "a.c".
cat("[R] size: ", comm.size(), ", rank: ", comm.rank(), "\n", sep = "")

finalize()

Try the pbdMPI package in your browser

Any scripts or data that you put into this service are public.

pbdMPI documentation built on Sept. 18, 2024, 9:07 a.m.