我想在Ubuntu 14.04上使用gfortran编译器的旧版CPMD-3.11.1版本。新的gfortran编译器无法编译旧的gfortran程序
当运行的Makefile我面对这个错误:
Error:
Unclassifiable statement at (1) ./timec.f:10.28:
but WITHOUT ANY WARRANTY; without even the implied warranty of
1 Error: Unclassifiable statement at (1) ./timec.f:11.4:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1 Error: Non-numeric character in statement label at (1) ./timec.f:11.4:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1 Error: Unclassifiable statement at (1) ./timec.f:12.4:
Lesser General Public License for more details.
1 Error: Non-numeric character in statement label at (1) ./timec.f:12.4:
Lesser General Public License for more details.
1 Error: Unclassifiable statement at (1) ./timec.f:14.4:
You should have received a copy of the GNU Lesser General Public
1 Error: Non-numeric character in statement label at (1) ./timec.f:14.4:
You should have received a copy of the GNU Lesser General Public
1 Error: Unclassifiable statement at (1) Fatal Error: Error count reached limit of 25. make: *** [timec.o] Error 1
我注意到,这是不读的声明部分,所以我删除所创建的每个.f文件声明的一部分,但它是非常耗时。
是否有任何其他选项可以使用更新的gfortran编译器安装旧的Fortran代码。
您必须向我们显示您的代码。错误消息是不够的。 –