Changeset 4159


Ignore:
Timestamp:
May 19, 2022, 11:44:47 AM (2 years ago)
Author:
dcugnet
Message:

Replace the "addKey_m" call in readTracFiles_mod:addDefault with several "addKey_1" callings to avoid a gfortran-specific crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/misc/readTracFiles_mod.f90

    r4143 r4159  
    321321  ky => t(jd)%keys
    322322  DO k = 1, SIZE(ky%key)                                             !--- Loop on the keys of the tracer named "defName"
    323     CALL addKey_m(ky%key(k), ky%val(k), t(:)%keys)                   !--- Add key to all the tracers (no overwriting)
     323!   CALL addKey_m(ky%key(k), ky%val(k), t(:)%keys)                   !--- Add key to all the tracers (no overwriting)
     324    DO it = 1, SIZE(t); CALL addKey_1(ky%key(k), ky%val(k), t(it)%keys); END DO
    324325  END DO
    325326  tt = [t(1:jd-1),t(jd+1:SIZE(t))]; CALL MOVE_ALLOC(FROM=tt, TO=t)   !--- Remove the virtual tracer named "defName"
Note: See TracChangeset for help on using the changeset viewer.