Changeset 531 for trunk/NEMO/OPA_SRC/DOM
- Timestamp:
- 2006-10-19T14:55:25+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DOM/domain.F90
r516 r531 177 177 178 178 ndastp = ndate0 ! Assign initial date to current date 179 180 ! ... Control the sub-domain area indices for the print control181 IF(ln_ctl) THEN182 IF( lk_mpp ) THEN183 ! the domain is forced to the real splitted domain in MPI184 isplt = jpni ; jsplt = jpnj ; ijsplt = jpni*jpnj185 ELSE186 IF( isplt == 1 .AND. jsplt == 1 ) THEN187 IF(lwp) WRITE(numout,cform_war)188 IF(lwp) WRITE(numout,*)' - isplt & jsplt are equal to 1'189 IF(lwp) WRITE(numout,*)' - the print control will be done over the whole domain'190 IF(lwp) WRITE(numout,*)191 ENDIF192 193 ! compute the total number of processors ijsplt194 ijsplt = isplt*jsplt195 ENDIF196 197 IF(lwp) WRITE(numout,*)' - The total number of processors over which the'198 IF(lwp) WRITE(numout,*)' print control will be done is ijsplt : ', ijsplt199 200 ! Control the indices used for the SUM control201 IF( nictls+nictle+njctls+njctle == 0 ) THEN202 ! the print control is done over the default area203 lsp_area = .FALSE.204 ELSE205 ! the print control is done over a specific area206 lsp_area = .TRUE.207 IF( nictls < 1 .OR. nictls > jpiglo ) THEN208 IF(lwp) WRITE(numout,cform_war)209 IF(lwp) WRITE(numout,*)' - nictls must be 1<=nictls>=jpiglo, it is forced to 1'210 IF(lwp) WRITE(numout,*)211 nwarn = nwarn + 1212 nictls = 1213 ENDIF214 215 IF( nictle < 1 .OR. nictle > jpiglo ) THEN216 IF(lwp) WRITE(numout,cform_war)217 IF(lwp) WRITE(numout,*)' - nictle must be 1<=nictle>=jpiglo, it is forced to jpiglo'218 IF(lwp) WRITE(numout,*)219 nwarn = nwarn + 1220 nictle = jpjglo221 ENDIF222 223 IF( njctls < 1 .OR. njctls > jpjglo ) THEN224 IF(lwp) WRITE(numout,cform_war)225 IF(lwp) WRITE(numout,*)' - njctls must be 1<=njctls>=jpjglo, it is forced to 1'226 IF(lwp) WRITE(numout,*)227 nwarn = nwarn + 1228 njctls = 1229 ENDIF230 231 IF( njctle < 1 .OR. njctle > jpjglo ) THEN232 IF(lwp) WRITE(numout,cform_war)233 IF(lwp) WRITE(numout,*)' - njctle must be 1<=njctle>= jpjglo, it is forced to jpjglo'234 IF(lwp) WRITE(numout,*)235 nwarn = nwarn + 1236 njctle = jpjglo237 ENDIF238 239 ENDIF ! IF( nictls+nictle+njctls+njctle == 0 )240 ENDIF ! IF(ln_ctl)241 179 242 180 ! ... Control of output frequency … … 342 280 ENDIF 343 281 282 IF( nbit_cmp == 1 .AND. n_cla /= 0 ) THEN 283 CALL ctl_stop( ' Reproductibility tests (nbit_cmp=1) require n_cla = 0' ) 284 END IF 285 344 286 END SUBROUTINE dom_nam 345 287
Note: See TracChangeset
for help on using the changeset viewer.