/[MITgcm]/MITgcm/pkg/exch2/exch2_rx2_cube_ad.template
ViewVC logotype

Diff of /MITgcm/pkg/exch2/exch2_rx2_cube_ad.template

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8 by jmc, Mon Jun 29 23:46:50 2009 UTC revision 1.9 by jmc, Fri Apr 23 20:21:07 2010 UTC
# Line 64  C                   :: coordinate access Line 64  C                   :: coordinate access
64  C                   :: buffering. In PUT communication sender will increment  C                   :: buffering. In PUT communication sender will increment
65  C                   :: handle entry once data is ready in buffer. Receiver will  C                   :: handle entry once data is ready in buffer. Receiver will
66  C                   :: decrement handle once data is consumed from buffer.  C                   :: decrement handle once data is consumed from buffer.
67  C                   :: For MPI MSG communication MPI_Wait uses hanlde to check  C                   :: For MPI MSG communication MPI_Wait uses handle to check
68  C                   :: Isend has cleared. This is done in routine after receives.  C                   :: Isend has cleared. This is done in routine after receives.
69  C     note: a) current implementation does not use e2_msgHandles for communication  C     note: a) current implementation does not use e2_msgHandles for communication
70  C              between threads: all-threads barriers are used (see CNH note below).  C              between threads: all-threads barriers are used (see CNH note below).
# Line 161  C---+----1----+----2----+----3----+----4 Line 161  C---+----1----+----2----+----3----+----4
161  #ifdef ALLOW_USE_MPI  #ifdef ALLOW_USE_MPI
162  C  AD: all MPI part is acting on buffer and is identical to forward code,  C  AD: all MPI part is acting on buffer and is identical to forward code,
163  C  AD: except a) the buffer level: send from lev.2, receive into lev.1  C  AD: except a) the buffer level: send from lev.2, receive into lev.1
164  C  AD:        b) the length of transfered buffer (<- match the ad_put/ad_get)  C  AD:        b) the length of transferred buffer (<- match the ad_put/ad_get)
165    
166        _BEGIN_MASTER( myThid )        _BEGIN_MASTER( myThid )
167    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22