Changeset 1931
- Timestamp:
- Jan 17, 2014, 6:49:48 PM (11 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/condsurf.F
r1907 r1931 55 55 IF (jour.LT.0 .OR. jour.GT.(360-1)) THEN 56 56 PRINT*,'Le jour demande n est pas correct: ', jour 57 CALL ABORT 57 CALL ABORT_gcm("condsurf", "", 1) 58 58 ENDIF 59 59 c … … 75 75 PRINT *,' trouve pas sur les ',nannemax,' annees a partir de ' 76 76 PRINT *,' l annee de debut', annee_ref 77 CALL EXIT(1)77 CALL abort_gcm("condsurf", "", 1) 78 78 c 79 79 100 CONTINUE … … 95 95 WRITE(6,*)' l an 2000 ) , n existe pas ! ' 96 96 WRITE(6,*)' ierr = ', ierr 97 CALL EXIT(1)97 CALL abort_gcm("condsurf", "", 1) 98 98 ENDIF 99 99 c DO k = 1, jour … … 108 108 ierr = NF_INQ_VARID (nid, "BILS", nvarid) 109 109 IF (ierr .NE. NF_NOERR) THEN 110 PRINT*, "condsurf: Le champ <BILS> est absent" 111 CALL abort 110 CALL abort_gcm("cond_surf", "Le champ <BILS> est absent", 1) 112 111 ENDIF 113 112 PRINT*,'debut,epais',debut,epais,'jour,jourvrai',jour,jourvrai … … 118 117 #endif 119 118 IF (ierr .NE. NF_NOERR) THEN 120 PRINT*, "condsurf: Lecture echouee pour <BILS>" 121 CALL abort 119 CALL abort_gcm("condsurf", "Lecture echouee pour <BILS>", 1) 122 120 ENDIF 123 121 c ENDDO !k = 1, jour -
LMDZ5/trunk/libf/phylmd/iostart.F90
r1907 r1931 41 41 write(6,*)' Pb d''ouverture du fichier '//filename 42 42 write(6,*)' ierr = ', ierr 43 CALL ABORT 43 CALL ABORT_GCM("", "", 1) 44 44 ENDIF 45 45 ENDIF … … 166 166 IF (.NOT. tmp_found) THEN 167 167 PRINT*, 'phyetat0: Le champ <'//field_name//'> est absent' 168 CALL abort168 call abort_gcm("", "", 1) 169 169 ENDIF 170 170 ENDIF … … 186 186 IF (ierr/=NF90_NOERR) THEN 187 187 PRINT*, 'phyetat0: Lecture echouee aussi en 2D pour <'//field_name//'>' 188 CALL abort188 call abort_gcm("", "", 1) 189 189 ELSE 190 190 PRINT*, 'phyetat0: La variable <'//field_name//'> lu sur surface seulement'!, selon ancien format, le reste mis a zero' 191 191 END IF 192 192 ELSE 193 CALL abort193 call abort_gcm("", "", 1) 194 194 ENDIF 195 195 ENDIF … … 282 282 IF (ierr/=NF90_NOERR) THEN 283 283 PRINT*, 'phyetat0: Lecture echouee pour <'//var_name//'>' 284 CALL abort284 call abort_gcm("", "", 1) 285 285 ENDIF 286 286 tmp_found=.TRUE. … … 302 302 IF (.NOT. tmp_found) THEN 303 303 PRINT*, 'phyetat0: La variable champ <'//var_name//'> est absente' 304 CALL abort304 call abort_gcm("", "", 1) 305 305 ENDIF 306 306 ENDIF … … 323 323 write(6,*)' Pb d''ouverture du fichier '//filename 324 324 write(6,*)' ierr = ', ierr 325 CALL ABORT 325 CALL ABORT_GCM("", "", 1) 326 326 ENDIF 327 327 … … 410 410 ELSE 411 411 PRINT *, "erreur phyredem : probleme de dimension" 412 CALL ABORT 412 CALL ABORT_GCM("", "", 1) 413 413 ENDIF 414 414 … … 487 487 IF (var_size/=length) THEN 488 488 PRINT *, "erreur phyredem : probleme de dimension" 489 CALL abort489 call abort_gcm("", "", 1) 490 490 ENDIF 491 491 -
LMDZ5/trunk/libf/phylmd/phyetat0.F90
r1907 r1931 206 206 IF (nsrf.GT.99) THEN 207 207 PRINT*, "Trop de sous-mailles" 208 CALL abort208 call abort_gcm("phyetat0", "", 1) 209 209 ENDIF 210 210 WRITE(str2, '(i2.2)') nsrf … … 242 242 IF (isoil.GT.99 .AND. nsrf.GT.99) THEN 243 243 PRINT*, "Trop de couches ou sous-mailles" 244 CALL abort244 call abort_gcm("phyetat0", "", 1) 245 245 ENDIF 246 246 WRITE(str7, '(i2.2, "srf", i2.2)') isoil, nsrf … … 266 266 IF (nsrf.GT.99) THEN 267 267 PRINT*, "Trop de sous-mailles" 268 CALL abort268 call abort_gcm("phyetat0", "", 1) 269 269 ENDIF 270 270 WRITE(str2, '(i2.2)') nsrf … … 321 321 IF (nsrf.GT.99) THEN 322 322 PRINT*, "Trop de sous-mailles" 323 CALL abort323 call abort_gcm("phyetat0", "", 1) 324 324 ENDIF 325 325 WRITE(str2, '(i2.2)') nsrf … … 359 359 IF (nsrf.GT.99) THEN 360 360 PRINT*, "Trop de sous-mailles" 361 CALL abort361 call abort_gcm("phyetat0", "", 1) 362 362 ENDIF 363 363 WRITE(str2, '(i2.2)') nsrf … … 425 425 IF (nsrf.GT.99) THEN 426 426 PRINT*, "Trop de sous-mailles" 427 CALL abort427 call abort_gcm("phyetat0", "", 1) 428 428 ENDIF 429 429 WRITE(str2, '(i2.2)') nsrf … … 544 544 IF (nsrf.GT.99) THEN 545 545 PRINT*, "Trop de sous-mailles" 546 CALL abort546 call abort_gcm("phyetat0", "", 1) 547 547 ENDIF 548 548 WRITE(str2, '(i2.2)') nsrf … … 582 582 IF (nsrf.GT.99) THEN 583 583 PRINT*, "Trop de sous-mailles" 584 CALL abort584 call abort_gcm("phyetat0", "", 1) 585 585 ENDIF 586 586 WRITE(str2, '(i2.2)') nsrf … … 775 775 IF (nsrf.GT.99) THEN 776 776 PRINT*, "Trop de sous-mailles" 777 CALL abort777 call abort_gcm("phyetat0", "", 1) 778 778 ENDIF 779 779 WRITE(str2, '(i2.2)') nsrf -
LMDZ5/trunk/libf/phylmd/phyredem.F90
r1907 r1931 129 129 ELSE 130 130 PRINT*, "Trop de sous-mailles" 131 CALL abort131 call abort_gcm("phyredem", "", 1) 132 132 ENDIF 133 133 ENDDO … … 141 141 ELSE 142 142 PRINT*, "Trop de couches" 143 CALL abort143 call abort_gcm("phyredem", "", 1) 144 144 ENDIF 145 145 ENDDO … … 153 153 ELSE 154 154 PRINT*, "Trop de sous-mailles" 155 CALL abort155 call abort_gcm("phyredem", "", 1) 156 156 ENDIF 157 157 END DO … … 166 166 ELSE 167 167 PRINT*, "Trop de sous-mailles" 168 CALL abort168 call abort_gcm("phyredem", "", 1) 169 169 ENDIF 170 170 ENDDO … … 177 177 ELSE 178 178 PRINT*, "Trop de sous-mailles" 179 CALL abort179 call abort_gcm("phyredem", "", 1) 180 180 ENDIF 181 181 ENDDO … … 188 188 ELSE 189 189 PRINT*, "Trop de sous-mailles" 190 CALL abort190 call abort_gcm("phyredem", "", 1) 191 191 ENDIF 192 192 ENDDO … … 199 199 ELSE 200 200 PRINT*, "Trop de sous-mailles" 201 CALL abort201 call abort_gcm("phyredem", "", 1) 202 202 ENDIF 203 203 ENDDO … … 222 222 ELSE 223 223 PRINT*, "Trop de sous-mailles" 224 CALL abort224 call abort_gcm("phyredem", "", 1) 225 225 ENDIF 226 226 ENDDO … … 234 234 ELSE 235 235 PRINT*, "Trop de sous-mailles" 236 CALL abort236 call abort_gcm("phyredem", "", 1) 237 237 ENDIF 238 238 ENDDO … … 285 285 ELSE 286 286 PRINT*, "Trop de sous-mailles" 287 CALL abort287 call abort_gcm("phyredem", "", 1) 288 288 ENDIF 289 289 ENDDO -
LMDZ5/trunk/libf/phylmd/physiq.F90
r1924 r1931 1153 1153 IF(nCFMIP.GT.npCFMIP) THEN 1154 1154 print*,'nCFMIP > npCFMIP : augmenter npCFMIP et recompiler' 1155 CALL abort1155 call abort_gcm("physiq", "", 1) 1156 1156 else 1157 1157 print*,'physiq npCFMIP=',npCFMIP,'nCFMIP=',nCFMIP … … 1257 1257 !$OMP BARRIER 1258 1258 1259 freq_outNMC(1) = ecrit_files(7)1260 freq_outNMC(2) = ecrit_files(8)1261 freq_outNMC(3) = ecrit_files(9)1262 WRITE(lunout,*)'OK freq_outNMC(1)=',freq_outNMC(1)1263 WRITE(lunout,*)'OK freq_outNMC(2)=',freq_outNMC(2)1264 WRITE(lunout,*)'OK freq_outNMC(3)=',freq_outNMC(3)1259 freq_outNMC(1) = ecrit_files(7) 1260 freq_outNMC(2) = ecrit_files(8) 1261 freq_outNMC(3) = ecrit_files(9) 1262 WRITE(lunout,*)'OK freq_outNMC(1)=',freq_outNMC(1) 1263 WRITE(lunout,*)'OK freq_outNMC(2)=',freq_outNMC(2) 1264 WRITE(lunout,*)'OK freq_outNMC(3)=',freq_outNMC(3) 1265 1265 1266 1266 include "ini_histday_seri.h" … … 1692 1692 ENDIF 1693 1693 1694 ! AI Janv 20141695 1696 1697 1698 1699 1700 1701 1694 ! AI Janv 2014 1695 do i = 1, klon 1696 if (fract(i).le.0.) then 1697 JrNt(i)=0. 1698 else 1699 JrNt(i)=1. 1700 endif 1701 enddo 1702 1702 1703 1703 if (mydebug) then … … 2123 2123 ELSE 2124 2124 WRITE(lunout,*) "iflag_con non-prevu", iflag_con 2125 CALL abort2125 call abort_gcm("physiq", "", 1) 2126 2126 ENDIF 2127 2127 … … 3250 3250 3251 3251 ENDIF 3252 !3253 3252 3254 3253 ! -
LMDZ5/trunk/libf/phylmd/radlwsw_m.F90
r1907 r1931 219 219 IF (nb_gr*kdlon .NE. KLON) THEN 220 220 PRINT*, "kdlon mauvais:", KLON, kdlon, nb_gr 221 CALL abort221 call abort_gcm("radlwsw", "", 1) 222 222 ENDIF 223 223 IF (kflev .NE. KLEV) THEN 224 224 PRINT*, "kflev differe de KLEV, kflev, KLEV" 225 CALL abort225 call abort_gcm("radlwsw", "", 1) 226 226 ENDIF 227 227 !------------------------------------------- … … 334 334 !===== iflag_rrtm ================================================ 335 335 ! 336 print*,'iflag_rrtm = ', iflag_rrtm337 336 IF (iflag_rrtm == 0) THEN 338 337 ! Old radiation scheme, used for AR4 runs -
LMDZ5/trunk/libf/phylmd/soil.F90
r1907 r1931 178 178 ELSE 179 179 WRITE(lunout,*) "valeur d indice non prevue", indice 180 CALL abort180 call abort_gcm("soil", "", 1) 181 181 ENDIF 182 182
Note: See TracChangeset
for help on using the changeset viewer.