Ignore:
Timestamp:
Aug 13, 2025, 7:53:49 PM (6 months ago)
Author:
gmilcareck
Message:

Remove all "call abort" and "stop" statement in LMDZ.GENERIC and replacing them by call abort_physic().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90

    r3864 r3893  
    558558             write(*,*) 'Data file ',trim(varspec_data),' not found.'
    559559             write(*,*) 'Check that the data is in your run repository.'
    560              call abort !a verifier
     560             call abort_physic("Varspec", "Unable to read file", 1)
    561561           else
    562562             do k=1,nvarlayer
     
    631631             write(*,*) "dynamics day: ",pday
    632632             write(*,*) "physics day:  ",day_ini
    633              stop
     633             call abort_physic("physiq_mod", "Bad synchronization between physics and dynamics", 1)
    634634         endif
    635635
     
    892892      else if (flatten .eq. 0.0 .or. J2 .eq. 0.0 .or. Rmean .eq. 0.0 .or. MassPlanet .eq. 0.0) then
    893893         print*,'I need values for flatten, J2, Rmean and MassPlanet to compute glat (else set oblate=.false.)'
    894          call abort
     894         call abort_physic("Oblate case", "Missing values for oblate case", 1)
    895895      else
    896896         gmplanet = MassPlanet*grav*1e24
     
    10111011! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    10121012               if(kastprof)then
    1013                   print*,'kastprof should not = true here'
    1014                   call abort
     1013                  call abort_physic("Correlated-k", "kastprof should not = true here", 1)
    10151014               endif
    10161015               if(water) then
     
    14791478
    14801479         if (.not.tracer) then
    1481             print*,'We need a CO2 ice tracer to condense CO2'
    1482             call abort
     1480            call abort_physic("condense_co2", "We need a CO2 ice tracer to condense CO2", 1)
    14831481         endif
    14841482         call condense_co2(ngrid,nlayer,nq,ptimestep,                    &
     
    22302228               print*,'temp=   ',pt(ig,:)
    22312229               print*,'pplay=  ',pplay(ig,:)
    2232                call abort
     2230               call abort_physic("Correlated-k", "Something wrong happened to fluxtop_dn", 1)
    22332231            endif
    22342232         end do
     
    22782276         print*,'As testradtimes enabled,'
    22792277         print*,'exiting physics on first call'
    2280          call abort
     2278         call abort_physic("physic_mod", "Radiative-convective timescale test enabled", 1)
    22812279      endif
    22822280
Note: See TracChangeset for help on using the changeset viewer.