RPN_COMM
|
(RPN_COMM_limit)
|
|
integer function RPN_COMM_limit(my_id, npe, gmin, gmax, lmini,
& lmaxi,count, depl)
ARGUMENTS
my_id | Rank of local PE in domain | integer | I |
npe | Number of PE for splitting (1D) | integer | I |
gmin,gmax | Global dimensions to be splitted | integer | I |
lmini,lmaxi | Local dimensions of array | integer | O |
count | Array containing the size of each tile | integer | I |
depl | Array containing the first position coordinate of each tile | integer | I |
RPN_COMM_limit | 0 if ok, -1 if invalid decomposition | integer | O |
DESCRIPTION
Algorithm which will divise a range (gmin:gmax) in npe pieces. Mainly for
internal use (RPN_COMM_topo, RPN_COMM_coll and RPN_COMM_dist).
SEE ALSO
RPN_COMM_*
Return to RPN Libraries home page