RPN_COMM

(RPN_COMM_coll)


SUBROUTINE RPN_COMM_coll (garr,gmini,gmaxi,gminj,
     %          gmaxj,nig,njg,nk,ghalox,ghaloy,size,
     %          larr,mini,maxi,minj,maxj,halox,haloy,
     %          ierr)

ARGUMENTS


+-+ +-+ +-+       +---------+
|3| |4| |5|       |         |
+-+ +-+ +-+  ->   | On P0   |
+-+ +-+ +-+       |         |
|0| |1| |2|       |         |
+-+ +-+ +-+       +---------+


DESCRIPTION

Gather of data from all local tiles on an array (size of the global problem) of PE 0.

If ghalox/y >0 and if halox/y >0, the halo of the receiving array will be filled as well.

Warning (for the librarian): This module must be compiled with -O2 or -O2 when using n32 mode on SGI. (This problem is not relevant if RPN_COMM_coll is used through the library since it is compiled correctly)


EXAMPLE

call RPN_COMM_coll(garr,gmini,gmaxi,gminj,
     %          gmaxj,nig,njg,nk,ghalox,ghaloy,size,
     %          larr,mini,maxi,minj,maxj,halox,haloy,
     %          status)


SEE ALSO

RPN_COMM_* 

Return to RPN Libraries home page