Ignore:
Timestamp:
Jun 6, 2019, 5:08:45 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Replaced STOP statements by a call to abort_physic in phylmd as per ticket #86
Still some work to be done in phylmd subdirectories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/create_limit_unstruct.F90

    r3471 r3531  
    200200   INTEGER :: ij,ierr, n_extrap
    201201   LOGICAL :: skip
    202    
     202
     203   CHARACTER (len = 50)         :: modname = 'create_limit_unstruct.time_interpolation'
     204   CHARACTER (len = 80)         :: abort_message
     205
    203206 
    204207   IF (is_omp_master) ndays_in=year_len(annee_ref, calendar)
     
    212215     yder = pchsp_95(timeyear, field_in(ij, :), ibeg=2, iend=2, vc_beg=0., vc_end=0.)
    213216     CALL pchfe_95(timeyear, field_in(ij, :), yder, skip, arth(0., real(ndays_in) / ndays, ndays), field_out(ij, :), ierr)
    214      if (ierr < 0) stop 1
     217     if (ierr < 0) then
     218        abort_message='error in pchfe_95'
     219        CALL abort_physic(modname,abort_message,1)
     220     endif
    215221     n_extrap = n_extrap + ierr
    216222   END DO
Note: See TracChangeset for help on using the changeset viewer.