Is it possible to determine which Fortran compiler generated a “.mod” file?
问题 Say I have a package already installed on my machine and I want to figure out if I need to regenerate the module include files ( .mod ) to make them compatible with the rest of my compilation. Is there any way to do this? 回答1: If the module is built using gfortran then using strings on the mod file (on Linux) will provide the compiler name and the version number. However, for Intel, the strings command will only show the compiler version number. 回答2: I had a similar problem at some point with