suppressPackageStartupMessages(library(pbdMPI, quietly=TRUE))
cs <- comm.size()
testval <- allreduce(comm.rank())
trueval <- cs*(cs-1)/2
if (comm.rank()==0) testval == trueval
finalize()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.