lamhosts                package:Rmpi                R Documentation

_H_o_s_t_s _I_n_f_o_r_m_a_t_i_o_n

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

     'lamhosts' finds the host name associated with its node number.
     Can be used  by 'mpi.spawn.Rslaves' to spawn R slaves on selected
     hosts. This is  a LAM-MPI specific function.

     'mpi.is.master' checks if it is running on master or slaves.

     'mpi.hostinfo' finds an individual host information including rank
     and  size in a comm.

     'slave.hostinfo' is executed only by master and find all master
     and slaves  host information in a comm.

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

     lamhosts()
     mpi.is.master()
     mpi.hostinfo(comm = 1)
     slave.hostinfo(comm = 1) 

_A_r_g_u_m_e_n_t_s:

    comm: a communicator number

_V_a_l_u_e:

     'lamhosts' returns CPUs nodes numbers with their host names.

     'mpi.is.master' returns TRUE if it is on master and FALSE
     otherwise.

     'mpi.hostinfo' sends to stdio a host name, rank, size and comm.

     'slave.hostname' sends to stdio a list of host, rank, size, and
     comm  information for all master and slaves.

_A_u_t_h_o_r(_s):

     Hao Yu

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

     'mpi.spawn.Rslaves'

