[mpas-developers] derived data type redesign [with attachments!]

Jones, Philip W pwjones at lanl.gov
Tue Dec 20 16:38:23 MST 2011


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/mpas-developers/attachments/20111220/3979d567/attachment.html 


More information about the mpas-developers mailing list