sla.gridExit {RScaLAPACK} | R Documentation |
Releases the grid used by sla.* functions.
sla.gridExit()
This function sends out a request to all the processes, telling them to exit. The user is then free to spawn a new grid (of a different size). It does NOT call MPI_Finalize
or anything like that.
Nagiza Samatova (samatovan@ornl.gov), Guruprasad Kora (koragh@ornl.gov), Srikanth Yoginath (yoginathsb@ornl.gov), David Bauer (bauerda@ornl.gov)
http://www.netlib.org/scalapack/
sla.gridInit
spawns the processes to form a Process Grid,
x = matrix(rnorm(128*128), 128, 128) sla.gridInit(NPROCS=4) sla.solve(x, NPROWS=4)->a sla.gridExit()