/[MITgcm]/MITgcm/eesupp/inc/BARRIER.h
ViewVC logotype

Diff of /MITgcm/eesupp/inc/BARRIER.h

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

revision 1.4 by cnh, Fri Sep 21 03:54:35 2001 UTC revision 1.5 by edhill, Sat Mar 27 03:51:50 2004 UTC
# Line 22  C     | support barrier compile directiv Line 22  C     | support barrier compile directiv
22  C     | are good, sometimes they are lousy.                        C     | are good, sometimes they are lousy.                      
23  C     |  The barrier mechanism is used as follows                  C     |  The barrier mechanism is used as follows                
24  C     |  1. In the single-threaded part of the code                C     |  1. In the single-threaded part of the code              
25  C     |     CALL FBAR_INIT                                          C     |     CALL FBAR\_INIT                                        
26  C     |     on CRAY, NEC this routine does nothing                  C     |     on CRAY, NEC this routine does nothing                
27  C     |     on T3E there is no single-threaded code                C     |     on T3E there is no single-threaded code              
28  C     |        but there may be barrier initialisation -            C     |        but there may be barrier initialisation -          
# Line 30  C     |        need to check. Line 30  C     |        need to check.
30  C     |  2. When we need to synchronize everybody just              C     |  2. When we need to synchronize everybody just            
31  C     |     CALL FBAR( myThid )                                    C     |     CALL FBAR( myThid )                                  
32  C     |     where myThid is myThreadId                              C     |     where myThid is myThreadId                            
33  C     |     on CRAY, NEC FBAR will just do C$DIR BARRIER            C     |     on CRAY, NEC FBAR will just do C\$DIR BARRIER          
34  C     |     or the like.                                            C     |     or the like.                                          
35  C     |     on T3E FBAR does CALL BARRIER(...) or something        C     |     on T3E FBAR does CALL BARRIER(...) or something      
36  C     |     need to check this.                                    C     |     need to check this.                                  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22