


bsp_nprocs(3)           BSPlib FUNCTIONS            bsp_nprocs(3)



NAME
     bsp_nprocs - determine the total number of BSP processes.


C SYNOPSIS
     #include "bsp.h"

     int bsp_nprocs();

FORTRAN SYNOPSIS
     INCLUDE 'fbsp.h'

     INTEGER FUNCTION bspnprocs()


DESCRIPTION
     If the function bsp_nprocs is  called  before  bsp_begin(3),
     then  it  returns  the  total processors which are available
     online. If it is called after bsp_begin(3) it returns _n, the
     actual number of processes allocated to the program, where _1
     <= _n <= _m_a_x_p_r_o_c_s, and _m_a_x_p_r_o_c_s is the  number  of  processes
     requested in bsp_begin(3).


SEE ALSO
     bsplib(3), bsp_begin(3), bsp_pid(3)

     ``_B_S_P_l_i_b: _T_h_e _B_S_P _P_r_o_g_r_a_m_m_i_n_g _L_i_b_r_a_r_y'' Jonathan M. D. Hill,
     Bill  McColl,  Dan  C.  Stefanescu,  Mark W. Goudreau, Kevin
     Lang, Satish B. Rao, , Torsten Suel, Thanasis Tsantilas, and
     Rob  Bisseling.  Parallel  Computing,  to  appear  1998. See
     _h_t_t_p://_w_w_w._b_s_p-_w_o_r_l_d_w_i_d_e._o_r_g for more details.


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
     The Oxford BSP Toolset implementation of BSPlib was  written
     by 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



