Content deleted Content added
Citation bot (talk | contribs) Add: website, date. | Use this bot. Report bugs. | Suggested by Abductive | #UCB_webform 634/3850 |
→Examples: fix syntaxhighlight errors |
||
Line 63:
=== Example 1 ===
Hello World! Save the following code in a file called "demo.r"
<syntaxhighlight lang="
### Initial MPI
library(pbdMPI, quiet = TRUE)
Line 82:
The following example modified from pbdMPI illustrates the basic [[programming language syntax|syntax of the language]] of pbdR.
Since pbdR is designed in [[SPMD]], all the R scripts are stored in files and executed from the command line via mpiexec, mpirun, etc. Save the following code in a file called "demo.r"
<syntaxhighlight lang="
### Initial MPI
library(pbdMPI, quiet = TRUE)
Line 111:
The following example modified from pbdDEMO illustrates the basic ddmatrix computation of pbdR which performs [[singular value decomposition]] on a given matrix.
Save the following code in a file called "demo.r"
<syntaxhighlight lang="
# Initialize process grid
library(pbdDMAT, quiet=T)
|