cray_upc_team_size

Date:

03-29-2013

NAME

cray_upc_team_size - Gets the size of a Cray UPC team

SYNOPSIS

#include <upc_collective_cray.h>

cray_upc_return_t cray_upc_team_size (cray_upc_team_t team, int *size);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The cray_upc_team_size function stores the number of ranks in a Cray UPC team into the provided integer. This value will be the same as THREADS if the team is CRAY_UPC_TEAM_ALL.

RETURN VALUES

The cray_upc_team_size function returns CRAY_UPC_SUCCESS if it successfully stored the size of the team in *size, or CRAY_UPC_ERROR if an error occurred.

SEE ALSO

cray_upc_return_t(3c), cray_upc_team_rank(3c), cray_upc_team_t(3c)