These functions initializes a grid of pbdSLAP
, assigns the
information to a global object, and free the grid.
slap.init.grid(nprow, npcol = 1, ictxt = 0)
slap.exit.grid(ictxt)
slap.finalize(quit.mpi = FALSE)
slap.init.grid
assigns a global object .__grid_info_0
for
ictxt = 0
containing the grid information. slap.exit.grid
free the grid. slap.finalize
free all memory.
number of row processors.
number of column processors.
the grid id
if finalize MPI.
Wei-Chen Chen wccsnow@gmail.com, Drew Schmidt, George Ostrouchov, and Pragneshkumar Patel.
This function arranges all processors in a (nprow * npcol) grid and the grid will map the big data matrix.
Programming with Big Data in R Website: https://pbdr.org/
ScaLAPACK Website: https://netlib.org/scalapack/
ScaLAPACK Block Cyclic Data Distribution Website: https://icl.utk.edu/lapack-forum/viewtopic.php%3ff=5&t=4922.html