/[MITgcm]/MITgcm/pkg/atm_ocn_coupler/initialise.F
ViewVC logotype

Contents of /MITgcm/pkg/atm_ocn_coupler/initialise.F

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


Revision 1.3 - (show annotations) (download)
Thu Jun 15 23:29:18 2006 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint64q, checkpoint64p, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58u_post, checkpoint58w_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint58n_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58o_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58m_post
Changes since 1.2: +1 -1 lines
check-in those files again (deleted accidentally)

1 C $Header: /u/gcmpack/MITgcm/pkg/aim_ocn_coupler/initialise.F,v 1.2 2004/11/07 23:20:35 jmc Exp $
2 C $Name: $
3
4 #include "CPP_OPTIONS.h"
5
6 CStartOfInterface
7 SUBROUTINE INITIALISE
8 C /==========================================================\
9 C | SUBROUTINE INITIALISE |
10 C | o Routine to initialise coupling component. |
11 C |==========================================================|
12 C | Initialisation involves starting up MPI and then joining |
13 C | the coupled configuration as a component with the special|
14 C | name "Coupler". With the present MIT Coupler library |
15 C | only one process can register with the name "Coupler". |
16 C | This component is the process responsible for |
17 C | coordinating the transfer of data between other |
18 C | components and for mapping data from one components |
19 C | representation to anothers representation as appropriate.|
20 C \==========================================================/
21 IMPLICIT NONE
22 C === GLobal variables ==
23 #include "CPLIDS.h"
24
25 CEndOfInterface
26
27 C === Local variables ===
28 C iErr - Error code
29 C MPI_COMM_Coupler - Communicatior used by this component.
30 C Stored internally by the coupling library.
31 INTEGER iErr
32 INTEGER MPI_COMM_Coupler
33
34 CALL MPI_Init(iErr)
35
36 C-- Set the running directory (= rank_0 )
37 CALL SETDIR( 0 )
38
39 C Register this process as the "coupler" participant. Currently there can
40 C only be one coupler participant all others are "component" participants.
41 CALL MITCOUPLER_INIT( cplCompName, MPI_COMM_Coupler )
42
43 CALL CPL_READ_PARAMS
44
45 CALL SET_RUNOFFMAP
46
47 RETURN
48 END

  ViewVC Help
Powered by ViewVC 1.1.22