In procedure coefkzmin, dummy argument km is equal to dummy argument kn. Remove it. Bug fix in clmain. If iflag_pbl /= 1 and ok_kzmin then ycoef[mh]0(:knon, 1) are not defined and used for computation of ycdrag[mh](:knon). Remove the lines (following LMDZ).