Ignore:
Timestamp:
Aug 13, 2025, 7:53:49 PM (4 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/dynphy_lonlat/phystd/inichim_newstart.F90

    r3073 r3893  
    9494                write(*,*) "calchim: error reading line of tracers"
    9595                write(*,*) "   (first lines of traceur.def) "
    96                 stop
     96                call abort_physic("traceur.def","error reading line of tracers",1)
    9797             ENDIF
    9898           ENDDO
    9999        ENDIF ! if modern or standard traceur.def
    100100      else
    101          write(*,*) "calchim: error opening traceur.def in inichim_newstart"
    102          stop
     101         call abort_physic("inichim_newstart","Unable to open traceur.def",1)
    103102      endif
    104103
     
    165164            else
    166165               write(*,*) 'inichim_newstart: error opening ', fil
    167                stop
     166               call abort_physic("inichim_newstart", "Unable to open chemimal profile file",1)
    168167            endif
    169168            close(90)
     
    181180                     pqx(ilon,ilat,ilay,iq) = 1-sum(pqx(ilon,ilat,ilay,:))
    182181                     if (pqx(ilon,ilat,ilay,iq)<=0.) then
    183                         write(*,*) 'inichim_newstart: vmr tot > 1 not possible'
    184                         stop
     182                        call abort_physic("inichim_newstart","vmr tot > 1 not possible",1)
    185183                     end if
    186184                  end do
     
    192190      end do
    193191      if (.not.foundback) then
    194          write(*,*) 'inichim_newstart: you need to set a background gas'
    195          write(*,*) '            by qx=1. in traceur.def'
    196          stop
     192         call abort_physic("inichim_newstart","you need to set a background gas by qx=1. in traceur.def",1)
    197193      end if
    198194
Note: See TracChangeset for help on using the changeset viewer.