inst/tests/allgather.r

suppressPackageStartupMessages(library(pbdMPI, quietly=TRUE))

testval <- length(allgather(comm.rank()))
trueval <- comm.size()

test <- comm.all(testval == trueval)
comm.print(test)

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.