24小时热门版块排行榜    

查看: 752  |  回复: 2

youzhizhe

荣誉版主 (职业作家)

有志者

优秀版主优秀版主

[求助] 编译的最后一步的诡异出错?

./configure顺利成功,然后make all ,最后出现两处错误 到底是什么原因呢?

错误信息如下:
……
* In file casino_pp.f90:84

    INTEGER, ALLOCATABLE, INTENT(IN) :: waveunit(
                                               1
Error: ALLOCATABLE attribute conflicts with DUMMY attribute at (1)
In file casino_pp.f90:35

  SUBROUTINE read_casino(iunps,nofiles, waveunit)
                                               1
Error: Symbol 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:617

       DO i=1,SIZEOF(vnl)/SIZEOF(vnl(:,1))
                               1
Error: Function 'sizeof' at (1) has no IMPLICIT type
In file casino_pp.f90:215

          READ(waveunit(j),*)
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:218

       READ(waveunit(j),*) orbs
           1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:229

          READ(waveunit(j),*)
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:232

       READ(waveunit(j),*) mtail%eup, mtail%edwn
           1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:233

       READ(waveunit(j),*)
           1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:236

          READ(waveunit(j),*) tmp, nquant, lquant
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:272

       READ(waveunit(j),*)
           1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:273

       READ(waveunit(j),*)
           1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:276

          READ(waveunit(j),*)
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:280

          READ(waveunit(j),'(13x,a2)', err=300) label
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:281

          READ(waveunit(j),*) tmp, nquant, lquant
              1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:301

                   READ(waveunit(j),*)
                       1
Error: Function 'waveunit' at (1) has no IMPLICIT type
In file casino_pp.f90:324

             READ(waveunit(j), *, err=300) (mtail%wavefunc(ir),ir=1,mesh_)
                 1
Error: Function 'waveunit' at (1) has no IMPLICIT type
make[1]: *** [casino_pp.o] Error 1
make[1]: Leaving directory `/home/gqzhang/opt/espresso-4.3/upftools'
make: *** [upf] Error 2
回复此楼

» 猜你喜欢

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

微博http://weibo.com/10986069
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

bingmou

金虫 (著名写手)

【答案】应助回帖

★ ★
zzy870720z(金币+2): 谢谢指点 2011-05-11 20:08:01
youzhizhe(金币+2): 谢谢。可是其他编译都正确呀。。我还是试试看…… 2011-05-11 20:32:34
可能是编译器的问题,换个编译器试试。gfortran的要求比ifort高
2楼2011-05-11 19:37:34
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

feierxide

铜虫 (小有名气)

【答案】应助回帖

youzhizhe(金币+2): 谢谢提示。 2011-05-18 22:05:51
貌似gfortran最新的版本会报错.我的版本4.4.3
3楼2011-05-18 21:36:48
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 youzhizhe 的主题更新
信息提示
请填处理意见