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

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

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

revision 1.7 by jmc, Mon Jun 29 23:46:50 2009 UTC revision 1.8 by jmc, Fri Apr 23 20:21:07 2010 UTC
# Line 61  C                   :: coordinate access Line 61  C                   :: coordinate access
61  C                   :: buffering. In PUT communication sender will increment  C                   :: buffering. In PUT communication sender will increment
62  C                   :: handle entry once data is ready in buffer. Receiver will  C                   :: handle entry once data is ready in buffer. Receiver will
63  C                   :: decrement handle once data is consumed from buffer.  C                   :: decrement handle once data is consumed from buffer.
64  C                   :: For MPI MSG communication MPI_Wait uses hanlde to check  C                   :: For MPI MSG communication MPI_Wait uses handle to check
65  C                   :: Isend has cleared. This is done in routine after receives.  C                   :: Isend has cleared. This is done in routine after receives.
66  C     note: a) current implementation does not use e2_msgHandles for communication  C     note: a) current implementation does not use e2_msgHandles for communication
67  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 148  C---+----1----+----2----+----3----+----4 Line 148  C---+----1----+----2----+----3----+----4
148  #ifdef ALLOW_USE_MPI  #ifdef ALLOW_USE_MPI
149  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,
150  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
151  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)
152    
153        _BEGIN_MASTER( myThid )        _BEGIN_MASTER( myThid )
154    

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

  ViewVC Help
Powered by ViewVC 1.1.22