1 |
C $Header: /u/gcmpack/MITgcm/pkg/atm_compon_interf/cpl_init.F,v 1.3 2013/12/02 21:41:59 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "ATM_CPL_OPTIONS.h" |
5 |
|
6 |
CBOP 0 |
7 |
C !ROUTINE: CPL_INIT |
8 |
|
9 |
C !INTERFACE: |
10 |
SUBROUTINE CPL_INIT |
11 |
|
12 |
C !DESCRIPTION: |
13 |
C *==========================================================* |
14 |
C | SUBROUTINE CPL_INIT |
15 |
C | o Routine controlling coupler layer initialisation. |
16 |
C | - Atmospheric version - |
17 |
C *==========================================================* |
18 |
C | This version talks to the MIT Coupler. It uses the MIT |
19 |
C | Coupler "checkpoint1" library calls. |
20 |
C *==========================================================* |
21 |
|
22 |
C !USES: |
23 |
IMPLICIT NONE |
24 |
C == Global variables == |
25 |
#include "SIZE.h" |
26 |
#include "EEPARAMS.h" |
27 |
#include "EESUPPORT.h" |
28 |
#include "ATMIDS.h" |
29 |
|
30 |
C !INPUT/OUTPUT PARAMETERS: |
31 |
C myThid :: Thread number for this instance of the routine |
32 |
c INTEGER myThid |
33 |
CEOP |
34 |
|
35 |
#ifdef COMPONENT_MODULE |
36 |
C !LOCAL VARIABLES: |
37 |
C msgUnit :: log-file I/O unit |
38 |
INTEGER msgUnit |
39 |
|
40 |
C-- Initialise connection with coupler |
41 |
CALL MITCOMPONENT_INIT( |
42 |
I atmCompName, |
43 |
O MPI_COMM_MODEL, msgUnit ) |
44 |
#endif |
45 |
|
46 |
RETURN |
47 |
END |