RPN_COMM

(RPN_COMM_petopo)



integer function RPN_COMM_petopo(pex,pey)



ARGUMENTS


pex,peyNumber of pe along x and y axisintegerI
RPN_COMM_petopo0 if pex*pey = nb of procs in domain, else -1integerO

DESCRIPTION

Setup for the processor topology, used by RPN_COMM_init, could be reused to modify the topology during execution without changing the number of procs in a given domain (for example, if the program started with a 2x3 distribution, it could be changed to a 3x2, a 6x1 or a 1x6 distribution, nothing else).





SEE ALSO

RPN_COMM_* 

Return to RPN Libraries home page