gfortran error : Unexpected element '<' in format string
问题 I suffer the pain to compile the old fortran source code using gfortran. I did not have many experience to do this, so please help me to correct the source code based on the error message. disturbance.f:1416.31: 1505 format ( I7, E12.3, < npftu>E10.3 ) Error: Unexpected element '<' in format string at (1) please note that there is no space between npftu and < >. Thanks a lot. 回答1: Variable FORMAT expressions are non-standard and are not supported by gfortran (link to the documentation). I