24 USE parallel, ONLY: finalize_parallel
27 USE ioipsl
, ONLY: ioconf_calendar
34 WRITE(
lunout,*)
'limit_netcdf: Earth-specific routine, needs Earth physics'
38 LOGICAL,
PARAMETER :: interbar=.true., extrap=.
false., oldice=.
false.
39 #include "dimensions.h"
41 #include "indicesol.h"
49 INTEGER,
PARAMETER :: longcles=20
51 REAL,
DIMENSION(longcles) :: clesphy0
52 REAL,
DIMENSION(iip1,jjp1) :: masque
53 CHARACTER(LEN=15) :: calnd
54 REAL,
DIMENSION(iip1,jjp1) ::
phis
56 CALL
conf_gcm( 99, .true. , clesphy0 )
63 WRITE(
lunout,*)
'---> klon=',klon
64 IF (mpi_size>1 .OR. omp_size>1)
THEN
67 'In parallel mode, & & ce0l must be called only & & for 1 process and 1 task',1)
74 CASE(
'earth_360d');CALL ioconf_calendar(
'360d'); calnd=
'a 360 jours/an'
75 CASE(
'earth_365d');CALL ioconf_calendar(
'noleap'); calnd=
'a 365 jours/an'
76 CASE(
'earth_366d');CALL ioconf_calendar(
'366d'); calnd=
'bissextile'
77 CASE(
'gregorian'); CALL ioconf_calendar(
'gregorian'); calnd=
'gregorien'
78 CASE(
'standard'); CALL ioconf_calendar(
'gregorian'); calnd=
'gregorien'
79 CASE(
'julian'); CALL ioconf_calendar(
'julian'); calnd=
'julien'
80 CASE(
'proleptic_gregorian'); CALL ioconf_calendar(
'gregorian')
83 CALL
abort_gcm(
'ce0l',
'Mauvais choix de calendrier',1)
85 WRITE(
lunout,*)
'CALENDRIER CHOISI: Terrestre '//trim(calnd)
88 IF (type_trac ==
'inca')
THEN
90 CALL init_const_lmdz( &
91 nbtr,anneeref,dayref,&
92 iphysiq,day_step,nday,&
93 nbsrf, is_oce,is_sic,&
100 WRITE(
lunout,*)
' ********************* '
101 WRITE(
lunout,*)
' *** etat0_netcdf *** '
102 WRITE(
lunout,*)
' ********************* '
104 WRITE(
lunout,*)
' interbar = ',interbar
109 WRITE(
lunout,*)
' ********************* '
110 WRITE(
lunout,*)
' *** Limit_netcdf *** '
111 WRITE(
lunout,*)
' ********************* '
118 WRITE(
lunout,*)
' *************************** '
119 WRITE(
lunout,*)
' *** grilles_gcm_netcdf *** '
120 WRITE(
lunout,*)
' *************************** '
127 CALL mpi_finalize(ierr)
128 IF (ierr /= 0) CALL
abort_gcm(
'ce0l',
'Error in MPI_FINALIZE',1)