| 5 |
C |
C |
| 6 |
SUBROUTINE ATM2D_FINISH(myThid) |
SUBROUTINE ATM2D_FINISH(myThid) |
| 7 |
C |==========================================================| |
C |==========================================================| |
| 8 |
C | Initialization steps which depend on pickups loading | |
C | Called from forward_step_atm2d the last time through the | |
| 9 |
|
C | main loop -- thus, and opportunity to shut down MPI, do | |
| 10 |
|
C | cleanup/finish routines. | |
| 11 |
C \==========================================================/ |
C \==========================================================/ |
| 12 |
IMPLICIT NONE |
IMPLICIT NONE |
| 13 |
|
|
| 27 |
INTEGER rc |
INTEGER rc |
| 28 |
#endif |
#endif |
| 29 |
|
|
|
#ifdef CPL_TEM |
|
|
c CALL tem_cleanup |
|
|
#endif |
|
|
|
|
|
Cmove below somewhere into MITCGM code |
|
| 30 |
#ifdef ATM2D_MPI_ON |
#ifdef ATM2D_MPI_ON |
| 31 |
CALL MPI_BARRIER( MPI_COMM_WORLD, rc ) |
CALL MPI_BARRIER( MPI_COMM_WORLD, rc ) |
| 32 |
CALL MPI_FINALIZE(rc) |
CALL MPI_FINALIZE(rc) |