


bsp_bcast(3)              BSPlib level1              bsp_bcast(3)



NAME
     bsp_bcast - broadcast data from one process



C SYNOPSIS
     #include "bsp_level1.h"

     void bsp_bcast(int _b_c_a_s_t__p_i_d,void *_s_r_c,void *_d_s_t,int _n_b_y_t_e_s);

FORTRAN SYNOPSIS
     SUBROUTINE bspbcast(_b_c_a_s_t__p_i_d,_s_r_c,_d_s_t,_n_b_y_t_e_s)
       INTEGER, intent(IN)  :: _b_c_a_s_t__p_i_d,nbytes
       <TYPE>,  intent(IN)  :: _s_r_c
       <TYPE>,  intent(OUT) :: _d_s_t


DESCRIPTION
     A collective broadcast in which the data _s_r_c of size  _n_b_y_t_e_s
     on  processor  _b_c_a_s_t__p_i_d  is copied into the _r_e_g_i_s_t_e_r_e_d (_s_e_e
     bsp_push_reg(3)) data-structure _d_s_t on all processors.

     If  your  program  is  linked  using  the  -_s_t_a_t  option  to
     bspfront(1),  then the BSP cost formula for the broadcast is
     echoed to the file _S_T_A_T._b_s_p.


SEE ALSO
     bsplib_level1(3), bsp_fold(3)


BUGS
     Problems  and  bug  reports  should  be  mailed  to  _b_s_p_l_i_b-
     _b_u_g_s@_c_o_m_l_a_b._o_x._a_c._u_k


AUTHORS
     Jonathan.Hill@comlab.ox.ac.uk
     http://www.comlab.ox.ac.uk/oucl/people/jonathan.hill.html
















Oxford BSP Toolset  Last change: 1.4 25/9/98                    1



