我想在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代碼。
您必須向我們顯示您的代碼。錯誤消息是不夠的。 –