In procedure clmain, rename ycoefh to coefh and coefh to ycoefh. Also rename coefm to ycoefm. The convention is that variables beginning with "y" are packed to knon. (Following LMDZ.) In physiq, rename ycoefh to coefh.