Changeset 3893 for trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
- Timestamp:
- Aug 13, 2025, 7:53:49 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F (modified) (19 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F
r3836 r3893 179 179 write(*,*) 'which should contain some input parameters' 180 180 write(*,*) ' ... might as well stop here ...' 181 stop181 call abort_physic("rcm1d", "Unable to find rcm1d.def", 1) 182 182 else 183 183 close(90) … … 195 195 write(*,*) 'Please remove the file and restart the run.' 196 196 write(*,*) 'Runtime parameters are supposed to be in rcm1d.def' 197 stop 197 call abort_physic("rcm1d", 198 & "A run.def is already here, delete it",1) 198 199 else 199 200 call system('touch run.def') … … 241 242 write(*,*) "rcm1d: error reading number of tracers" 242 243 write(*,*) " (first line of traceur.def) " 243 stop 244 call abort_physic("traceur.def", 245 & "error reading number of tracers",1) 244 246 ENDIF 245 247 ENDDO … … 325 327 write(*,*) "rcm1d: error reading number of tracers" 326 328 write(*,*) " (first line of traceur.def) " 327 stop 329 call abort_physic("traceur.def", 330 & "error reading number of tracers",1) 328 331 ENDIF 329 332 ENDDO … … 331 334 nqtot=nq ! set value of nqtot (in infotrac module) as nq 332 335 if (ierr.ne.0) then 333 write(*,*) "rcm1d: error reading number of tracers" 334 write(*,*) " (first line of traceur.def) " 335 stop 336 call abort_physic("traceur.def", 337 & "Unable to read traceur.def",1) 336 338 endif 337 339 if (nq>0) then … … 345 347 write(*,*) "rcm1d: Error. You set tracer=.true." 346 348 write(*,*) " but # of tracers in traceur.def is ",nq 347 stop 349 call abort_physic("rcm1d", 350 & "tracer=.true. but number of tracers is zero", 1) 348 351 endif 349 352 … … 353 356 noms(iq)=tname(iq) 354 357 if (ierr.ne.0) then 355 write(*,*) 'rcm1d: error reading tracer names...'356 stop358 call abort_physic("traceur.def", 359 & "error reading tracer names", 1) 357 360 endif 358 361 enddo !of do iq=1,nq … … 374 377 write(*,*) ' If you want to run with tracers, I need it' 375 378 write(*,*) ' ... might as well stop here ...' 376 stop 379 call abort_physic("traceur.def", 380 & "Unable to find traceur.def", 1) 377 381 endif 378 382 close(90) … … 396 400 write(*,*) " > If you want tracers, set tracer=.true." 397 401 write(*,*) "------------------------------" 398 stop402 call abort_physic("rcm1d", "traceur=.false. but nq>0", 1) 399 403 endif 400 404 endif ! of if (tracer) … … 425 429 IF (g.eq.-99999.) THEN 426 430 PRINT *,"STOP. I NEED g IN RCM1D.DEF." 427 STOP431 call abort_physic("rcm1d", "g is not specified", 1) 428 432 ELSE 429 433 PRINT *,"--> g = ",g … … 436 440 IF (rad.eq.-99999. .and. rings_shadow .eqv. .true.) THEN 437 441 PRINT *,"STOP. I NEED rad IN RCM1D.DEF." 438 STOP442 call abort_physic("rcm1d", "rad is not specified", 1) 439 443 ELSE 440 444 PRINT *,"--> rad = ",rad … … 446 450 IF (daysec.eq.-99999.) THEN 447 451 PRINT *,"STOP. I NEED daysec IN RCM1D.DEF." 448 STOP452 call abort_physic("rcm1d", "daysec is not specified", 1) 449 453 ELSE 450 454 PRINT *,"--> daysec = ",daysec … … 459 463 IF (year_day.eq.-99999.) THEN 460 464 PRINT *,"STOP. I NEED year_day IN RCM1D.DEF." 461 STOP465 call abort_physic("rcm1d", "year_day is not specified", 1) 462 466 ELSE 463 467 PRINT *,"--> year_day = ",year_day … … 469 473 IF (periastr.eq.-99999.) THEN 470 474 PRINT *,"STOP. I NEED periastr IN RCM1D.DEF." 471 STOP475 call abort_physic("rcm1d", "periastr is not specified", 1) 472 476 ELSE 473 477 PRINT *,"--> periastr = ",periastr … … 479 483 IF (apoastr.eq.-99999.) THEN 480 484 PRINT *,"STOP. I NEED apoastr IN RCM1D.DEF." 481 STOP485 call abort_physic("rcm1d", "apoastr is not specified", 1) 482 486 ELSE 483 487 PRINT *,"--> apoastr = ",apoastr … … 489 493 IF (peri_day.eq.-99999.) THEN 490 494 PRINT *,"STOP. I NEED peri_day IN RCM1D.DEF." 491 STOP495 call abort_physic("rcm1d", "peri_day is not specified", 1) 492 496 ELSE IF (peri_day.gt.year_day) THEN 493 497 PRINT *,"STOP. peri_day.gt.year_day" 494 STOP 498 call abort_physic("rcm1d", 499 & "peri_day is greater than year_day", 1) 495 500 ELSE 496 501 PRINT *,"--> peri_day = ", peri_day … … 502 507 IF (obliquit.eq.-99999.) THEN 503 508 PRINT *,"STOP. I NEED obliquit IN RCM1D.DEF." 504 STOP509 call abort_physic("rcm1d", "obliquit is not specified", 1) 505 510 ELSE 506 511 PRINT *,"--> obliquit = ",obliquit … … 523 528 IF (psurf.eq.-99999.) THEN 524 529 PRINT *,"STOP. I NEED psurf IN RCM1D.DEF." 525 STOP530 call abort_physic("rcm1d", "psurf is not specified", 1) 526 531 ELSE 527 532 PRINT *,"--> psurf = ",psurf … … 927 932 928 933 if (autozlevs.and.hybrid) then 929 print*,'Cannot use autozlevs and hybrid together!'930 call abort934 call abort_physic("rcm1d", 935 & "Cannot use autozlevs and hybrid together", 1) 931 936 endif 932 937
Note: See TracChangeset
for help on using the changeset viewer.
