/[MITgcm]/MITgcm/pkg/compon_communic/mitcoupler_init.F
ViewVC logotype

Contents of /MITgcm/pkg/compon_communic/mitcoupler_init.F

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


Revision 1.4 - (show annotations) (download)
Mon Dec 2 21:37:53 2013 UTC (10 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, 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.3: +8 -3 lines
return coupler log-message unit (*.clog file) as output argument

1 C $Header: /u/gcmpack/MITgcm/pkg/compon_communic/mitcoupler_init.F,v 1.3 2013/11/27 21:48:30 jmc Exp $
2 C $Name: $
3
4 !=======================================================================
5 subroutine MITCOUPLER_init(
6 I myTypeStr,
7 O MPI_COMM_local, msgUnit )
8 implicit none
9
10 ! MPI variables
11 #include "mpif.h"
12
13 ! Predefined constants/arrays
14 #include "CPLR_SIG.h"
15
16 ! Arguments
17 character*(*) myTypeStr
18 integer MPI_COMM_local
19 integer msgUnit
20
21 ! Functions
22
23 ! Local
24 logical couplerFlag
25
26 ! ------------------------------------------------------------------
27
28 ! Homogeneous registration phase (every process Bcasts)
29 ! also open a coupling log file (.clog) with I/O unit: LogUnit
30 couplerFlag = .TRUE.
31 call MITCPLR_init1( myTypeStr, couplerFlag )
32 msgUnit = LogUnit
33
34 ! Return the communicator for my component
35 MPI_COMM_local = MPI_COMM_mylocal
36
37 ! Heterogeneous registration phase (within component incl. coupler)
38 call mitcplr_init2b( myTypeStr )
39
40 ! ------------------------------------------------------------------
41 return
42 end
43 !=======================================================================

  ViewVC Help
Powered by ViewVC 1.1.22