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/ave_stelspec.F90

    r2665 r3893  
    8888           Case(4)
    8989            file_id='/stellar_spectra/gj644.txt'
    90             print*,'Find out tstellar before using this star!'
    91             call abort
     90            call abort_physic("GJ644", "Tstellar unknown", 1)
    9291            file_id_lam='/stellar_spectra/lam.txt'
    9392            Nfine=5000
     
    137136              write(*,*)'Error: with startype 11 tstellar need to be specified'
    138137              write(*,*)'  Specified in callphys.def tstellar=...'
    139               stop
     138              call abort_physic("ave_stelspec", "startype 11 tstellar needs to be specified",1)
    140139            end if
    141140   
     
    154153              write(*,*)'   callphys.def with:'
    155154              write(*,*)'   stelspec_file=filename'
    156               stop
     155              call abort_physic("ave_stelspec", "Unable to read stellar flux file", 1)
    157156            end if
    158157
     
    168167            READ(110,*) ! skip header
    169168           Case Default
    170             print*,'Error: unknown star type chosen'
    171             call abort
     169            call abort_physic("ave_stelspec", "Unknown star type chosen", 1)
    172170         End Select
    173171
     
    190188           write(*,*)' datadir = /absolute/path/to/datagcm'
    191189           write(*,*)' Also check that there is a ',trim(file_id_lam),' there.'
    192            call abort
     190           call abort_physic("ave_stelspec", "Unable to find file", 1)
    193191         else
    194192           do ifine=1,Nfine
     
    209207           write(*,*)' datadir = /absolute/path/to/datagcm'
    210208           write(*,*)' Also check that there is a ',trim(file_id),' there.'
    211            call abort
     209           call abort_physic("ave_stelspec", "Unable to find file", 1)
    212210         else
    213211           do ifine=1,Nfine
Note: See TracChangeset for help on using the changeset viewer.