Changeset 4464


Ignore:
Timestamp:
Mar 9, 2023, 6:03:51 PM (15 months ago)
Author:
lguez
Message:

Replace stop by call to abort_(physiq|gcm)

Location:
LMDZ6/trunk/libf/dynphy_lonlat
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dynphy_lonlat/calfis.F

    r4056 r4464  
    186186         write(lunout,*) '  ngridmx  jjm   iim   '
    187187         write(lunout,*) ngridmx,jjm,iim
    188          STOP
     188         call abort_gcm("calfis", "", 1)
    189189        ENDIF
    190190      ELSE
  • LMDZ6/trunk/libf/dynphy_lonlat/calfis_loc.F

    r4056 r4464  
    262262          write(lunout,*) '  ngridmx  jjm   iim   '
    263263          write(lunout,*) ngridmx,jjm,iim
    264           STOP
     264          call abort_gcm("calfis_loc", "", 1)
    265265        ENDIF
    266266c$OMP MASTER
     
    12181218
    12191219#else
    1220       write(lunout,*)
    1221      & "calfis_p: for now can only work with parallel physics"
    1222       stop
     1220      call abort_gcm("calfis_loc",
     1221     & "calfis_p: for now can only work with parallel physics", 1)
    12231222#endif
    12241223! of #ifdef CPP_PHYS
  • LMDZ6/trunk/libf/dynphy_lonlat/gr_dyn_fi.F

    r4456 r4464  
    2323
    2424      IF (ngrid.NE.2+(jm-2)*(im-1)) then
    25          print *, 'probleme de dim'
    26          stop 1
     25         call abort_gcm("gr_dyn_fi", 'probleme de dim', 1)
    2726      end if
    2827c   traitement des poles
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/limit_netcdf.F90

    r4361 r4464  
    599599         CALL pchfe_95(timeyear, champtime(i, j, :), yder, skip, &
    600600              arth(0.5, real(ndays_in) / ndays, ndays), champan(i, j, :), ierr)
    601          if (ierr < 0) stop 1
     601         if (ierr < 0) call abort_physiq("get_2Dfield", "", 1)
    602602         n_extrap = n_extrap + ierr
    603603       END DO
Note: See TracChangeset for help on using the changeset viewer.