RPN_COMM

(RPN_COMM_limit)



integer function RPN_COMM_limit(my_id, npe, gmin, gmax, lmini,
     &     lmaxi,count, depl)




ARGUMENTS


my_idRank of local PE in domainintegerI
npeNumber of PE for splitting (1D)integerI
gmin,gmaxGlobal dimensions to be splittedintegerI
lmini,lmaxiLocal dimensions of arrayintegerO
countArray containing the size of each tileintegerI
deplArray containing the first position coordinate of each tileintegerI
RPN_COMM_limit0 if ok, -1 if invalid decompositionintegerO

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