85 |
INTEGER myThid |
INTEGER myThid |
86 |
CEOP |
CEOP |
87 |
|
|
88 |
|
C- here is a way to deliberately break the barrier syncronization |
89 |
|
C by adding a BARRIER on thread XXX only ; Used to test BAR_CHECK. |
90 |
|
c IF ( myThid.EQ.XXX ) THEN |
91 |
|
c _BARRIER |
92 |
|
c CALL SYSTEM('sleep 1') |
93 |
|
c ENDIF |
94 |
|
C-- Check barrier synchronization: |
95 |
|
CALL BAR_CHECK( 2, myThid ) |
96 |
|
|
97 |
C-- Set model parameters. |
C-- Set model parameters. |
98 |
C Parameters are set to defaults and then updates are read from |
C Parameters are set to defaults and then updates are read from |
99 |
C an input file called data. |
C an input file called data. |
179 |
IF ( useCoupler ) CALL CPL_EXCH_CONFIGS( myThid ) |
IF ( useCoupler ) CALL CPL_EXCH_CONFIGS( myThid ) |
180 |
#endif |
#endif |
181 |
|
|
182 |
|
C-- Check barrier synchronization: |
183 |
|
CALL BAR_CHECK( 3, myThid ) |
184 |
|
|
185 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |
186 |
|
|
187 |
RETURN |
RETURN |