sla.gridExit           package:RScaLAPACK           R Documentation

_R_e_l_e_a_s_e_s _t_h_e _P_r_o_c_e_s_s _G_r_i_d _f_o_r _S_c_a_L_A_P_A_C_K _C_o_m_p_u_t_a_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Releases the grid used by sla.* functions.

_U_s_a_g_e:

       sla.gridExit()

_D_e_t_a_i_l_s:

     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.

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.netlib.org/scalapack/>

_S_e_e _A_l_s_o:

     'sla.gridInit' spawns the processes to form a Process Grid,

_E_x_a_m_p_l_e_s:

     x = matrix(rnorm(128*128), 128, 128)
     sla.gridInit(NPROCS=4)
     sla.solve(x, NPROWS=4)->a
     sla.gridExit()

