Ignore:
Timestamp:
Jul 19, 2022, 1:33:28 PM (2 years ago)
Author:
lguez
Message:

Sync latest trunk changes to branch LMDZ_ECRad.

Location:
LMDZ6/branches/LMDZ_ECRad
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/LMDZ_ECRad

  • LMDZ6/branches/LMDZ_ECRad/libf/dyn3d/dynetat0.F90

    r4143 r4203  
    77!-------------------------------------------------------------------------------
    88  USE infotrac,    ONLY: nqtot, tracers, niso, iqIsoPha, tnat, alpha_ideal, iH2O
    9   USE strings_mod, ONLY: maxlen, msg, strStack, real2str
     9  USE strings_mod, ONLY: maxlen, msg, strStack, real2str, int2str
    1010  USE netcdf,      ONLY: NF90_OPEN,  NF90_NOWRITE, NF90_INQ_VARID, &
    1111                         NF90_CLOSE, NF90_GET_VAR, NF90_NoErr
     
    175175  CHARACTER(LEN=*), INTENT(IN) :: str1, str2
    176176  CHARACTER(LEN=maxlen) :: s1, s2
    177   IF(n1/=n2) THEN
    178     s1='value of '//TRIM(str1)//' ='
    179     s2=' read in starting file differs from parametrized '//TRIM(str2)//' ='
    180     WRITE(mesg,'(10x,a,i4,2x,a,i4)')TRIM(ADJUSTL(s1)),n1,TRIM(ADJUSTL(s2)),n2
    181     CALL ABORT_gcm(TRIM(modname),TRIM(mesg),1)
    182   END IF
     177  IF(n1/=n2) CALL abort_gcm(TRIM(modname), 'value of "'//TRIM(str1)//'" = '//TRIM(int2str(n1))// &
     178   ' read in starting file differs from gcm value of "'//TRIM(str2)//'" = '//TRIM(int2str(n2)), 1)
    183179END SUBROUTINE check_dim
    184180
Note: See TracChangeset for help on using the changeset viewer.