Last change
on this file since 1677 was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
1.7 KB
|
Line | |
---|
1 | SUBROUTINE CLIM_Start(kinfo) |
---|
2 | c |
---|
3 | c* *** Start *** CLIM 3.0 |
---|
4 | c |
---|
5 | c purpose: |
---|
6 | c -------- |
---|
7 | c beginning of the coupled run |
---|
8 | c |
---|
9 | c interface: |
---|
10 | c ---------- |
---|
11 | c kinfo : output status |
---|
12 | c |
---|
13 | c lib mp: |
---|
14 | c ------- |
---|
15 | c mpi-2 |
---|
16 | c |
---|
17 | c author: |
---|
18 | c ------- |
---|
19 | c Eric Sevault - METEO FRANCE |
---|
20 | c Laurent Terray - CERFACS |
---|
21 | c Jean Latour - F.S.E. (mpi-2) |
---|
22 | c Arnaud Caubel - FECIT - removed kmxtag as argument |
---|
23 | c |
---|
24 | c ---------------------------------------------------------------- |
---|
25 | #if defined use_comm_MPI1 || defined use_comm_MPI2 || !defined use_comm_MPI1 && !defined use_comm_MPI2 && !defined use_comm_SIPC && !defined use_comm_GMEM && !defined use_comm_PIPE && !defined use_comm_NONE |
---|
26 | USE mod_kinds_oasis |
---|
27 | USE mod_clim |
---|
28 | USE mod_comclim |
---|
29 | c ---------------------------------------------------------------- |
---|
30 | INTEGER (kind=ip_intwp_p) kinfo |
---|
31 | c ---------------------------------------------------------------- |
---|
32 | c |
---|
33 | c* 0. First Check |
---|
34 | c -------------- |
---|
35 | c |
---|
36 | IF (nexit.ne.1) THEN |
---|
37 | kinfo = CLIM_FastExit |
---|
38 | WRITE(nulprt,FMT='(A)') 'Start - should not be called' |
---|
39 | GO TO 1010 |
---|
40 | ENDIF |
---|
41 | kinfo = CLIM_Ok |
---|
42 | nexit = 0 |
---|
43 | c |
---|
44 | CALL CLIM_Start_MPI(kinfo) |
---|
45 | c |
---|
46 | c* 4. Get wall clock differences with other models |
---|
47 | c ----------------------------------------------- |
---|
48 | c |
---|
49 | c 4.1 Initilizations |
---|
50 | c ------------------ |
---|
51 | c |
---|
52 | delta(0:ncplprocs-1)=0. |
---|
53 | delte(0:ncplprocs-1)=0. |
---|
54 | c |
---|
55 | c* correct execution |
---|
56 | c |
---|
57 | nexit = 1 |
---|
58 | c |
---|
59 | c ---------------------------------------------------------------- |
---|
60 | c |
---|
61 | 1010 CONTINUE |
---|
62 | WRITE (nulprt,FMT='(A)') 'Returning from Start -- ' |
---|
63 | CALL FLUSH(nulprt) |
---|
64 | #endif |
---|
65 | RETURN |
---|
66 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.