snowFT-startstop           package:snowFT           R Documentation

_S_t_a_r_t_i_n_g _s_n_o_w_F_T _C_l_u_s_t_e_r_s

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

     Functions to start a snowFT cluster and to set default cluster
     options.

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

     makeClusterFT(spec, type = getClusterOption("type"), ...)

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

    spec: Cluster specification.

    type: Character string that specifies cluster type. Only
          'type="PVM"' supported.

     ...: Cluster option specifications.

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

     'makeClusterFT' starts a cluster of the specified or default type,
     loads the snowFT library on each node and returns a reference to
     the cluster.  Only the  cluster type '"PVM"' is supported in this
     version.  The 'spec' argument should be an integer specifying the
     number of slave nodes to create. See 'setDefaultClusterOptions()'
     of the snow package for setting cluster options.

     The cluster should be stopped by 'stopCluster' of the snow
     package.

     Note that on a snowFT cluster all snow functions can be applied,
     whereas on a cluster created by 'makeCluster' of the snow package
     the snowFT functions will not work unless the snowFT library is
     loaded on all nodes.

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

     'snow-startstop' functions of the snow package.

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

       ## Not run: 
     cl <- makeClusterFT(5)
     res <- clusterApplyFT(cl, 1:10, get("+"), ...=3)
     stopCluster(res[[2]])
     print(res[[1]])
       
     ## End(Not run)

