[mpas-developers] derived data type redesign [with attachments!]
    Michael Duda 
    duda at ucar.edu
       
    Tue Dec 20 16:57:48 MST 2011
    
    
  
Hi, Phil.
Thanks -- I think these are excellent suggestions and should be
incorporated into the design! It hadn't occurred to me that if we had
separate lists for shared-memory copies and MPI comms, we could overlap
the two. 
Thanks, again,
Michael
On Tue, Dec 20, 2011 at 11:38:23PM +0000, Jones, Philip W wrote:
> 
> Michael,
> 
> One quick thing.  When having multiple blocks per task, it’s useful to keep track of the local copies for exchanges so you don’t rely on the MPI implementation to notice it’s local.  So in addition to xxxToSend, xxxToRecv, you can add xxxToCopy.  Similar for send/recv/copyList. You could also implement by putting conditionals in the send/recv to catch local comms, but it’s more efficient to separate them so you don’t have to loop multiple times.  And of course you can overlap local/remote so you can do local copies while waiting for comms to complete.
> 
> My $0.02
> 
> Phil
> 
> ---
> Correspondence/TSPA/DUSA EARTH
> ------------------------------------------------------------
> Philip Jones                                pwjones at lanl.gov
> Climate, Ocean and Sea Ice Modeling
> Los Alamos National Laboratory
> T-3 MS B216                                 Ph: 505-500-2699
> PO Box 1663                                Fax: 505-665-5926
> Los Alamos, NM 87545-1663
> 
> 
> 
    
    
More information about the mpas-developers
mailing list