24小时热门版块排行榜    

查看: 978  |  回复: 1

ses1985

新虫 (初入文坛)

[求助] cpmd编译错误不懂是什么 已有1人参与

本人不是太懂fortran 用的是makefile是
SHELL = /bin/sh
#
#--------------- Default Configuration for LINUX-x86_64-FEDORA ---------------
SRC  = .
DEST = .
BIN  = .
FFLAGS = -c  -O2 -fcray-pointer
LFLAGS = -L/usr/lib64/atlas/ -llapack -lblas -lfftw
CFLAGS = -c -O2 -Wall
CPP = /lib/cpp -P -C -traditional
CPPFLAGS = -D__Linux -D__PGI -D__GNU -DFFT_FFTW -DPOINTER8  
NOOPT_FLAG =
CC = gcc
FC = gfortran
LD = gfortran
AR = ar


yh203@yh203-Lenovo:~/CPMD3132/SOURCE$ make
rm -f cpmd.f
/lib/cpp -P -C -traditional -D__Linux -D__PGI -D__GNU -DFFT_FFTW -DPOINTER8   ./cpmd.F ./cpmd.f
gfortran  -c  -O2 -fcray-pointer  ./cpmd.f -o  ./cpmd.o
./cpmd.f:1.1:

/* Copyright (C) 1991-2014 Free Software Foundation, Inc.               
1
Error: Non-numeric character in statement label at (1)
./cpmd.f:1.2:

/* Copyright (C) 1991-2014 Free Software Foundation, Inc.               
  1
Error: Invalid character in name at (1)
./cpmd.f:2.4:

   This file is part of the GNU C Library.                              
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:2.4:

   This file is part of the GNU C Library.                              
    1
Error: Unclassifiable statement at (1)
./cpmd.f:4.4:

   The GNU C Library is free software; you can redistribute it and/or   
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:4.4:

   The GNU C Library is free software; you can redistribute it and/or   
    1
Error: Unclassifiable statement at (1)
./cpmd.f:4.38:

   The GNU C Library is free software; you can redistribute it and/or   
                                      1
Error: Unclassifiable statement at (1)
./cpmd.f:5.4:

   modify it under the terms of the GNU Lesser General Public           
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:5.4:

   modify it under the terms of the GNU Lesser General Public           
    1
Error: Unclassifiable statement at (1)
./cpmd.f:6.4:

   License as published by the Free Software Foundation; either         
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:6.4:

   License as published by the Free Software Foundation; either         
    1
Error: Unclassifiable statement at (1)
./cpmd.f:6.56:

   License as published by the Free Software Foundation; either         
                                                        1
Error: Unclassifiable statement at (1)
./cpmd.f:7.4:

   version 2.1 of the License, or (at your option) any later version.   
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:7.4:

   version 2.1 of the License, or (at your option) any later version.   
    1
Error: Unclassifiable statement at (1)
./cpmd.f:9.4:

   The GNU C Library is distributed in the hope that it will be useful,
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:9.4:

   The GNU C Library is distributed in the hope that it will be useful,
    1
Error: Unclassifiable statement at (1)
./cpmd.f:10.4:

   but WITHOUT ANY WARRANTY; without even the implied warranty of      
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:10.4:

   but WITHOUT ANY WARRANTY; without even the implied warranty of      
    1
Error: Unclassifiable statement at (1)
./cpmd.f:10.28:

   but WITHOUT ANY WARRANTY; without even the implied warranty of      
                            1
Error: Unclassifiable statement at (1)
./cpmd.f:11.4:

   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:11.4:

   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   
    1
Error: Unclassifiable statement at (1)
./cpmd.f:12.4:

   Lesser General Public License for more details.                     
    1
Error: Non-numeric character in statement label at (1)
./cpmd.f:12.4:

   Lesser General Public License for more details.                     
    1
Error: Unclassifiable statement at (1)
./cpmd.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)
./cpmd.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: *** [cpmd.o] 错误 1
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Birdofwander

禁虫 (小有名气)

本帖内容被屏蔽

2楼2015-06-18 11:33:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ses1985 的主题更新
信息提示
请填处理意见