Changeset 1300 for trunk/LMDZ.COMMON/libf/dyn3d_common
- Timestamp:
- Jun 25, 2014, 1:19:59 PM (11 years ago)
- Location:
- trunk/LMDZ.COMMON/libf/dyn3d_common
- Files:
-
- 1 added
- 129 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d_common/defrun.F
r1299 r1300 370 370 WRITE(tapeout,*)' La valeur de dzoomx passee par run.def est dif 371 371 *ferente de celle lue sur le fichier start ' 372 CALL ABORT 372 CALL ABORT_gcm("defrun", "", 1) 373 373 ENDIF 374 374 … … 376 376 WRITE(tapeout,*)' La valeur de dzoomy passee par run.def est dif 377 377 *ferente de celle lue sur le fichier start ' 378 CALL ABORT 378 CALL ABORT_gcm("defrun", "", 1) 379 379 ENDIF 380 380 … … 382 382 WRITE(6,*)' La valeur de taux passee par run.def est differente 383 383 * de celle lue sur le fichier start ' 384 CALL ABORT 384 CALL ABORT_gcm("defrun", "", 1) 385 385 ENDIF 386 386 … … 388 388 WRITE(6,*)' La valeur de tauy passee par run.def est differente 389 389 * de celle lue sur le fichier start ' 390 CALL ABORT 390 CALL ABORT_gcm("defrun", "", 1) 391 391 ENDIF 392 392 -
trunk/LMDZ.COMMON/libf/dyn3d_common/dynetat0.F
r1299 r1300 82 82 write(lunout,*)'dynetat0: Pb d''ouverture du fichier start.nc' 83 83 write(lunout,*)trim(nf90_strerror(ierr)) 84 CALL ABORT 84 CALL ABORT_gcm("dynetat0", "", 1) 85 85 ENDIF 86 86 … … 90 90 write(lunout,*)"dynetat0: Le champ <controle> est absent" 91 91 write(lunout,*)trim(nf90_strerror(ierr)) 92 CALL abort92 CALL ABORT_gcm("dynetat0", "", 1) 93 93 ENDIF 94 94 ierr = nf90_get_var(nid, nvarid, tab_cntrl) … … 96 96 write(lunout,*)"dynetat0: Lecture echoue pour <controle>" 97 97 write(lunout,*)trim(nf90_strerror(ierr)) 98 CALL abort98 CALL ABORT_gcm("dynetat0", "", 1) 99 99 ENDIF 100 100 … … 190 190 write(lunout,*)"dynetat0: Le champ <rlonu> est absent" 191 191 write(lunout,*)trim(nf90_strerror(ierr)) 192 CALL abort192 CALL ABORT_gcm("dynetat0", "", 1) 193 193 ENDIF 194 194 ierr = nf90_get_var(nid, nvarid, rlonu) … … 196 196 write(lunout,*)"dynetat0: Lecture echouee pour <rlonu>" 197 197 write(lunout,*)trim(nf90_strerror(ierr)) 198 CALL abort198 CALL ABORT_gcm("dynetat0", "", 1) 199 199 ENDIF 200 200 … … 203 203 write(lunout,*)"dynetat0: Le champ <rlatu> est absent" 204 204 write(lunout,*)trim(nf90_strerror(ierr)) 205 CALL abort205 CALL ABORT_gcm("dynetat0", "", 1) 206 206 ENDIF 207 207 ierr = nf90_get_var(nid, nvarid, rlatu) … … 209 209 write(lunout,*)"dynetat0: Lecture echouee pour <rlatu>" 210 210 write(lunout,*)trim(nf90_strerror(ierr)) 211 CALL abort211 CALL ABORT_gcm("dynetat0", "", 1) 212 212 ENDIF 213 213 … … 216 216 write(lunout,*)"dynetat0: Le champ <rlonv> est absent" 217 217 write(lunout,*)trim(nf90_strerror(ierr)) 218 CALL abort218 CALL ABORT_gcm("dynetat0", "", 1) 219 219 ENDIF 220 220 ierr = nf90_get_var(nid, nvarid, rlonv) … … 222 222 write(lunout,*)"dynetat0: Lecture echouee pour <rlonv>" 223 223 write(lunout,*)trim(nf90_strerror(ierr)) 224 CALL abort224 CALL ABORT_gcm("dynetat0", "", 1) 225 225 ENDIF 226 226 … … 229 229 write(lunout,*)"dynetat0: Le champ <rlatv> est absent" 230 230 write(lunout,*)trim(nf90_strerror(ierr)) 231 CALL abort231 CALL ABORT_gcm("dynetat0", "", 1) 232 232 ENDIF 233 233 ierr = nf90_get_var(nid, nvarid, rlatv) … … 235 235 write(lunout,*)"dynetat0: Lecture echouee pour rlatv" 236 236 write(lunout,*)trim(nf90_strerror(ierr)) 237 CALL abort237 CALL ABORT_gcm("dynetat0", "", 1) 238 238 ENDIF 239 239 … … 242 242 write(lunout,*)"dynetat0: Le champ <cu> est absent" 243 243 write(lunout,*)trim(nf90_strerror(ierr)) 244 CALL abort244 CALL ABORT_gcm("dynetat0", "", 1) 245 245 ENDIF 246 246 ierr = nf90_get_var(nid, nvarid, cu) … … 248 248 write(lunout,*)"dynetat0: Lecture echouee pour <cu>" 249 249 write(lunout,*)trim(nf90_strerror(ierr)) 250 CALL abort250 CALL ABORT_gcm("dynetat0", "", 1) 251 251 ENDIF 252 252 … … 255 255 write(lunout,*)"dynetat0: Le champ <cv> est absent" 256 256 write(lunout,*)trim(nf90_strerror(ierr)) 257 CALL abort257 CALL ABORT_gcm("dynetat0", "", 1) 258 258 ENDIF 259 259 ierr = nf90_get_var(nid, nvarid, cv) … … 261 261 write(lunout,*)"dynetat0: Lecture echouee pour <cv>" 262 262 write(lunout,*)trim(nf90_strerror(ierr)) 263 CALL abort263 CALL ABORT_gcm("dynetat0", "", 1) 264 264 ENDIF 265 265 … … 268 268 write(lunout,*)"dynetat0: Le champ <aire> est absent" 269 269 write(lunout,*)trim(nf90_strerror(ierr)) 270 CALL abort270 CALL ABORT_gcm("dynetat0", "", 1) 271 271 ENDIF 272 272 ierr = nf90_get_var(nid, nvarid, aire) … … 274 274 write(lunout,*)"dynetat0: Lecture echouee pour <aire>" 275 275 write(lunout,*)trim(nf90_strerror(ierr)) 276 CALL abort276 CALL ABORT_gcm("dynetat0", "", 1) 277 277 ENDIF 278 278 … … 281 281 write(lunout,*)"dynetat0: Le champ <phisinit> est absent" 282 282 write(lunout,*)trim(nf90_strerror(ierr)) 283 CALL abort283 CALL ABORT_gcm("dynetat0", "", 1) 284 284 ENDIF 285 285 ierr = nf90_get_var(nid, nvarid, phis) … … 287 287 write(lunout,*)"dynetat0: Lecture echouee pour <phisinit>" 288 288 write(lunout,*)trim(nf90_strerror(ierr)) 289 CALL abort289 CALL ABORT_gcm("dynetat0", "", 1) 290 290 ENDIF 291 291 … … 299 299 write(lunout,*)"dynetat0: Le champ <Time> est absent" 300 300 write(lunout,*)trim(nf90_strerror(ierr)) 301 CALL abort301 CALL ABORT_gcm("dynetat0", "", 1) 302 302 ENDIF 303 303 ! Get the length of the "Time" dimension … … 311 311 write(lunout,*)"dynetat0: Lecture echouee <Time>" 312 312 write(lunout,*)trim(nf90_strerror(ierr)) 313 CALL abort313 CALL ABORT_gcm("dynetat0", "", 1) 314 314 ENDIF 315 315 ELSE … … 324 324 write(lunout,*)"dynetat0: Lecture echouee <temps>" 325 325 write(lunout,*)trim(nf90_strerror(ierr)) 326 CALL abort326 CALL ABORT_gcm("dynetat0", "", 1) 327 327 ENDIF 328 328 ENDIF … … 346 346 PRINT*, time(i) 347 347 ENDDO 348 CALL abort348 CALL ABORT_gcm("dynetat0", "", 1) 349 349 ENDIF 350 350 ENDIF … … 379 379 write(lunout,*)"dynetat0: Le champ <vcov> est absent" 380 380 write(lunout,*)trim(nf90_strerror(ierr)) 381 CALL abort381 CALL ABORT_gcm("dynetat0", "", 1) 382 382 ENDIF 383 383 ierr=nf90_get_var(nid,nvarid,vcov,corner,edges) … … 385 385 write(lunout,*)"dynetat0: Lecture echouee pour <vcov>" 386 386 write(lunout,*)trim(nf90_strerror(ierr)) 387 CALL abort387 CALL ABORT_gcm("dynetat0", "", 1) 388 388 ENDIF 389 389 … … 401 401 write(lunout,*)"dynetat0: Le champ <ucov> est absent" 402 402 write(lunout,*)trim(nf90_strerror(ierr)) 403 CALL abort403 CALL ABORT_gcm("dynetat0", "", 1) 404 404 ENDIF 405 405 ierr=nf90_get_var(nid,nvarid,ucov,corner,edges) … … 407 407 write(lunout,*)"dynetat0: Lecture echouee pour <ucov>" 408 408 write(lunout,*)trim(nf90_strerror(ierr)) 409 CALL abort409 CALL ABORT_gcm("dynetat0", "", 1) 410 410 ENDIF 411 411 … … 415 415 write(lunout,*)"dynetat0: Le champ <teta> est absent" 416 416 write(lunout,*)trim(nf90_strerror(ierr)) 417 CALL abort417 CALL ABORT_gcm("dynetat0", "", 1) 418 418 ENDIF 419 419 ierr=nf90_get_var(nid,nvarid,teta,corner,edges) … … 421 421 write(lunout,*)"dynetat0: Lecture echouee pour <teta>" 422 422 write(lunout,*)trim(nf90_strerror(ierr)) 423 CALL abort423 CALL ABORT_gcm("dynetat0", "", 1) 424 424 ENDIF 425 425 … … 439 439 & //trim(tname(iq)) 440 440 write(lunout,*)trim(nf90_strerror(ierr)) 441 CALL abort441 CALL ABORT_gcm("dynetat0", "", 1) 442 442 ENDIF 443 443 ENDIF … … 450 450 write(lunout,*)"dynetat0: Le champ <masse> est absent" 451 451 write(lunout,*)trim(nf90_strerror(ierr)) 452 CALL abort452 CALL ABORT_gcm("dynetat0", "", 1) 453 453 ENDIF 454 454 ierr=nf90_get_var(nid,nvarid,masse,corner,edges) … … 456 456 write(lunout,*)"dynetat0: Lecture echouee pour <masse>" 457 457 write(lunout,*)trim(nf90_strerror(ierr)) 458 CALL abort458 CALL ABORT_gcm("dynetat0", "", 1) 459 459 ENDIF 460 460 … … 470 470 write(lunout,*)"dynetat0: Le champ <ps> est absent" 471 471 write(lunout,*)trim(nf90_strerror(ierr)) 472 CALL abort472 CALL ABORT_gcm("dynetat0", "", 1) 473 473 ENDIF 474 474 ierr=nf90_get_var(nid,nvarid,ps,corner,edges) … … 476 476 write(lunout,*)"dynetat0: Lecture echouee pour <ps>" 477 477 write(lunout,*)trim(nf90_strerror(ierr)) 478 CALL abort478 CALL ABORT_gcm("dynetat0", "", 1) 479 479 ENDIF 480 480 -
trunk/LMDZ.COMMON/libf/dyn3d_common/dynredem.F
r1299 r1300 158 158 & //trim(fichnom) 159 159 write(lunout,*)' ierr = ', ierr 160 CALL ABORT 160 CALL ABORT_GCM("DYNREDEM0", "", 1) 161 161 ENDIF 162 162 c … … 636 636 IF (ierr .NE. NF_NOERR) THEN 637 637 PRINT*, "dynredem1: Pb. d ouverture "//trim(fichnom) 638 CALL abort 638 CALL abort_gcm("dynredem1", "", 1) 639 639 ENDIF 640 640 -
trunk/LMDZ.COMMON/libf/dyn3d_common/fxhyp.F
r1299 r1300 178 178 WRITE(6,*)'Modifier les valeurs de grossismx ,tau ou dzoomx ', 179 179 , ' et relancer ! *** ' 180 CALL ABORT 180 CALL ABORT_GCM("FXHYP", "", 1) 181 181 ENDIF 182 182 c -
trunk/LMDZ.COMMON/libf/dyn3d_common/fyhyp.F
r1299 r1300 162 162 WRITE(6,*)'Modifier les valeurs de grossismy ,tauy ou dzoomy', 163 163 , ' et relancer ! *** ' 164 CALL ABORT 164 CALL ABORT_GCM("FYHYP", "", 1) 165 165 166 166 ENDIF -
trunk/LMDZ.COMMON/libf/dyn3d_common/grid_atob.F
r1299 r1300 55 55 IF (imar.GT.2200 .OR. jmar.GT.1100) THEN 56 56 PRINT*, 'imar ou jmar trop grand', imar, jmar 57 CALL ABORT 57 CALL ABORT_GCM("", "", 1) 58 58 ENDIF 59 59 c … … 119 119 ELSE 120 120 PRINT*, 'probleme,i,j=', i,j 121 ccc CALL ABORT 121 ccc CALL ABORT_GCM("", "", 1) 122 122 CALL dist_sphe(x(i),y(j),xdata,ydata,imdep,jmdep,distans) 123 123 #ifdef CRAY … … 193 193 IF (imar.GT.400 .OR. jmar.GT.200) THEN 194 194 PRINT*, 'imar ou jmar trop grand', imar, jmar 195 CALL ABORT 195 CALL ABORT_GCM("", "", 1) 196 196 ENDIF 197 197 c 198 198 IF (imdep.GT.400 .OR. jmdep.GT.200) THEN 199 199 PRINT*, 'imdep ou jmdep trop grand', imdep, jmdep 200 CALL ABORT 200 CALL ABORT_GCM("", "", 1) 201 201 ENDIF 202 202 c … … 258 258 PRINT*, 'Probleme grave,i,j,indx,indy=', 259 259 . i,j,indx(i,j),indy(i,j) 260 CALL abort 260 CALL abort_gcm("", "", 1) 261 261 ENDIF 262 262 ENDDO … … 309 309 ELSE 310 310 PRINT*, 'probleme,i,j=', i,j 311 CALL ABORT 311 CALL ABORT_GCM("", "", 1) 312 312 ENDIF 313 313 ENDDO … … 345 345 IF (imar.GT.2200 .OR. jmar.GT.1100) THEN 346 346 PRINT*, 'imar ou jmar trop grand', imar, jmar 347 CALL ABORT 347 CALL ABORT_GCM("", "", 1) 348 348 ENDIF 349 349 c … … 409 409 ELSE 410 410 PRINT*, 'probleme,i,j=', i,j 411 CALL ABORT 411 CALL ABORT_GCM("", "", 1) 412 412 ENDIF 413 413 ENDDO … … 452 452 IF (imar.GT.400 .OR. jmar.GT.400) THEN 453 453 PRINT*, 'imar ou jmar trop grand', imar, jmar 454 CALL ABORT 454 CALL ABORT_GCM("", "", 1) 455 455 ENDIF 456 456 c … … 513 513 ELSE 514 514 PRINT*, 'probleme,i,j=', i,j 515 ccc CALL ABORT 515 ccc CALL ABORT_GCM("", "", 1) 516 516 CALL dist_sphe(x(i),y(j),xdata,ydata,imdep,jmdep,distans) 517 517 #ifdef CRAY … … 577 577 IF (imar.GT.400 .OR. jmar.GT.400) THEN 578 578 PRINT*, 'imar ou jmar trop grand', imar, jmar 579 CALL ABORT 579 CALL ABORT_GCM("", "", 1) 580 580 ENDIF 581 581 c … … 642 642 ELSE 643 643 PRINT*, 'probleme,i,j=', i,j 644 ccc CALL ABORT 644 ccc CALL ABORT_GCM("", "", 1) 645 645 CALL dist_sphe(x(i),y(j),xdata,ydata,imdep,jmdep,distans) 646 646 #ifdef CRAY … … 712 712 IF (immod.GT.2200 .OR. jmmod.GT.1100) THEN 713 713 PRINT*, 'immod ou jmmod trop grand', immod, jmmod 714 CALL ABORT 714 CALL ABORT_GCM("", "", 1) 715 715 ENDIF 716 716 c … … 801 801 ELSE 802 802 PRINT*, 'probleme,i,j=', i,j 803 CALL ABORT 803 CALL ABORT_GCM("", "", 1) 804 804 ENDIF 805 805 ENDDO … … 875 875 ELSE 876 876 PRINT*, 'probleme,i,j=', i,j 877 ccc CALL ABORT 877 ccc CALL ABORT_GCM("", "", 1) 878 878 CALL dist_sphe(xmod(i),ymod(j),xtmp,ytmp,imtmp,jmtmp,distans) 879 879 #ifdef CRAY -
trunk/LMDZ.COMMON/libf/dyn3d_common/inigrads.F
r1299 r1300 13 13 real xmin,xmax,ymin,ymax 14 14 15 character file*10,titlel*40 15 character(len=*),intent(in) :: file 16 character(len=*),intent(in) :: titlel 16 17 17 18 #include "gradsdef.h" -
trunk/LMDZ.COMMON/libf/dyn3d_common/juldate.F
r1299 r1300 9 9 implicit real (a-h,o-z) 10 10 frac=((os/60.+om)/60.+oh)/24. 11 ojou=d float(ijou)+frac12 year=d float(ian)13 rmon=d float(imoi)11 ojou=dble(ijou)+frac 12 year=dble(ian) 13 rmon=dble(imoi) 14 14 if (imoi .le. 2) then 15 15 year=year-1. -
trunk/LMDZ.COMMON/libf/dyn3d_common/pres2lev_mod.F90
r1299 r1300 27 27 INTEGER, INTENT(IN) :: lmn ! dimensions nouvelle couches 28 28 29 INTEGER, INTENT(IN) :: ni,nj ! nombre de point horizontal 29 30 REAL, INTENT(IN) :: po(ni*nj,lmo) ! niveau de pression ancienne grille 30 31 REAL, INTENT(IN) :: pn(ni*nj,lmn) ! niveau de pression nouvelle grille 31 32 INTEGER, INTENT(IN) :: ni,nj ! nombre de point horizontal33 32 34 33 REAL, INTENT(IN) :: varo(ni*nj,lmo) ! var dans l'ancienne grille -
trunk/LMDZ.COMMON/libf/dyn3d_common/ran1.F
r1299 r1300 28 28 IX3=MOD(IA3*IX3+IC3,M3) 29 29 J=1+(97*IX3)/M3 30 IF(J.GT.97.OR.J.LT.1) PAUSE30 IF(J.GT.97.OR.J.LT.1) stop 1 31 31 RAN1=R(J) 32 32 R(J)=(REAL(IX1)+REAL(IX2)*RM2)*RM1
Note: See TracChangeset
for help on using the changeset viewer.