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 number of 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 <= maxprocs , and maxprocs is the number of processes requested in bsp_begin(3) .

SEE ALSO
bsplib(3), bsp_begin(3), bsp_pid(3) ``BSPlib: The BSP Programming Library'' 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 http://www.bsp-worldwide.org for more details.

BUGS
Problems and bug reports should be mailed to bsplib-bugs@comlab.ox.ac.uk

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