Description Usage Arguments Details Value Examples
Creates ScaLAPACK descriptor array.
1 | base.descinit(dim, bldim, ldim, ICTXT = 0)
|
dim |
Global dim. |
bldim |
Blocking dim. |
ldim |
Local dim. |
ICTXT |
BLACS context. |
For advanced users only. See pbdDMAT for high-level functions.
A descriptor array.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | spmd.code <- "
suppressMessages(library(pbdMPI))
suppressMessages(library(pbdBASE))
init.grid()
### Set desc.
dim <- c(6L, 5L)
bldim <- c(3L, 3L)
ldim <- base.numroc(dim = dim, bldim = bldim)
descx <- base.descinit(dim = dim, bldim = bldim, ldim = ldim)
comm.print(descx)
finalize()
"
pbdMPI::execmpi(spmd.code = spmd.code, nranks = 2L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.