/[MITgcm]/MITgcm/pkg/atm2d/atm2d_finish.F
ViewVC logotype

Contents of /MITgcm/pkg/atm2d/atm2d_finish.F

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


Revision 1.6 - (show annotations) (download)
Mon Aug 20 17:51:24 2012 UTC (11 years, 9 months ago) by jscott
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63s, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.5: +3 -3 lines
merge changes from Andrei, and add NCEPWIND compiler option

1 C $Header: /u/gcmpack/MITgcm/pkg/atm2d/atm2d_finish.F,v 1.5 2012/01/13 15:53:33 jscott Exp $
2 C $Name: $
3
4 #include "ctrparam.h"
5 #ifdef OCEAN_3D
6 # include "ATM2D_OPTIONS.h"
7 #endif
8 C
9 SUBROUTINE ATM2D_FINISH( myThid)
10 C |==========================================================|
11 C | Called from forward_step_atm2d the last time through the |
12 C | main loop -- thus, and opportunity to shut down MPI, do |
13 C | cleanup/finish routines. |
14 C \==========================================================/
15 IMPLICIT NONE
16
17 # ifdef ATM2D_MPI_ON
18 # include "mpif.h"
19 # endif
20
21 C !INPUT/OUTPUT PARAMETERS:
22 C == Routine arguments ==
23 C myIter - iteration counter for this thread
24 C myTime - time counter for this thread
25 C myThid - thread number for this instance of the routine.
26 INTEGER myThid
27
28 C === Local variables ===
29
30 #ifdef OCEAN_3D
31 INTEGER rc
32 #endif
33
34 #ifdef CLM35
35 C next line is hack to call clm one more time step
36 C as CLM35 writes end-of-year file at start of next year
37 CALL clm4mit2d
38 #endif
39
40 #ifdef ATM2D_MPI_ON
41 CALL MPI_BARRIER( MPI_COMM_WORLD, rc )
42 CALL MPI_FINALIZE(rc)
43 #endif
44
45 RETURN
46 END

  ViewVC Help
Powered by ViewVC 1.1.22