Content deleted Content added
No edit summary |
Disambiguated: MPI → Message Passing Interface; Unlinked: MPI (5) using Dab solver |
||
Line 40:
|}
[[File:Pbd overview.png|thumb|The images describes how various pbdr packages are correlated.]]
Among these packages, pbdMPI provides wrapper functions to [[Message Passing Interface|MPI]] library, and it also produces a [[Library (computing)|shared library]] and a configuration file for
* pbdMPI --- an efficient interface to
* pbdSLAP --- bundles scalable dense linear algebra libraries in double precision for R, based on [[ScaLAPACK]] version 2.0.2 which includes several scalable linear algebra packages (namely [[BLACS]], [[PBLAS]], and [[ScaLAPACK]]).
* pbdNCDF4 --- Interface to Parallel Unidata [[NetCDF
* pbdBASE --- low-level [[ScaLAPACK]] codes and wrappers
* pbdDMAT --- distributed matrix classes and computational methods, with a focus on linear algebra and statistics
Line 71:
mpiexec -np 2 Rscript demo.r
</source>
to execute the code where [[R
=== Example 2 ===
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
<source lang="rsplus">
### Initial MPI
Line 100:
mpiexec -np 4 Rscript demo.r
</source>
to execute the code where [[R
=== Example 3 ===
Line 129:
mpiexec -np 2 Rscript demo.r
</source>
to execute the code where [[R
== Further reading ==
|