m0_59424811 2024-09-18 12:08 采纳率: 62.5%
浏览 27
已结题

centos7系统下abinit安装时make出错

安装abinit时./configre命令通过了,但是make出现错误Deferred-length character component 'key' at (1) is not yet supported
版本

img

img

全部错误信息
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
../../../src/78_effpot/m_hashtable_strval.F90:415.27:

character(len=c_sizeof(key)) :: tmp
                       1

Error: 'x' argument of 'c_sizeof' intrinsic at (1) must be an interoperable data entity
../../../src/78_effpot/m_hashtable_strval.F90:405.27:

character(len=c_sizeof(key)) :: tmp
                       1

Error: 'x' argument of 'c_sizeof' intrinsic at (1) must be an interoperable data entity
../../../src/78_effpot/m_hashtable_strval.F90:396.27:

character(len=c_sizeof(key)) :: tmp
                       1

Error: 'x' argument of 'c_sizeof' intrinsic at (1) must be an interoperable data entity
../../../src/78_effpot/m_hashtable_strval.F90:387.27:

character(len=c_sizeof(key)) :: tmp
                       1

Error: 'x' argument of 'c_sizeof' intrinsic at (1) must be an interoperable data entity
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
../../../src/78_effpot/m_hashtable_strval.F90:377.66:

      call self%vec(i)%print_entry(label=label, prefix=prefix)
                                                              1

Error: 'print_entry' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:363.38:

      call self%vec(i)%print_all()
                                  1

Error: 'print_all' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:348.16:

    s=s+self%vec(i)%sum_entry(label=label, prefix=prefix)
            1

Error: 'sum_entry' at (1) should be a FUNCTION
../../../src/78_effpot/m_hashtable_strval.F90:350.17:

    s=s+ self%vec(i)%sum_val()
             1

Error: 'sum_val' at (1) should be a FUNCTION
../../../src/78_effpot/m_hashtable_strval.F90:322.32:

      CALL tbl%vec(i)%free()
                            1

Error: 'free' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:310.43:

CALL tbl%vec(hash)%get(key=key,val=val)
                                       1

Error: 'get' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:299.43:

CALL tbl%vec(hash)%put(key=key,val=val)
                                       1

Error: 'put' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
../../../src/78_effpot/m_hashtable_strval.F90:256.63:

    call self%child%print_entry(label=label, prefix=prefix)
                                                           1

Error: 'print_entry' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:217.35:

    call self%child%print_all()
                               1

Error: 'print_all' at (1) should be a SUBROUTINE
../../../src/78_effpot/m_hashtable_strval.F90:203.16:

    s=s+self%child%sum_entry(label=label, prefix=prefix)
            1

Error: 'sum_entry' at (1) should be a FUNCTION
../../../src/78_effpot/m_hashtable_strval.F90:169.18:

      s=s+self%child%sum_val()
              1

Error: 'sum_val' at (1) should be a FUNCTION
../../../src/78_effpot/m_hashtable_strval.F90:70.41:

 CHARACTER(len=:), ALLOCATABLE :: key
                                     1

Error: Deferred-length character component 'key' at (1) is not yet supported
make[3]: *** [m_hashtable_strval.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/effpot_xml.Tpo .deps/effpot_xml.Po
make[3]: Leaving directory /root/local/src/abinit-9.8.2/build/src/78_effpot' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /root/local/src/abinit-9.8.2/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/local/src/abinit-9.8.2/build'
make: *** [all] Error 2

  • 写回答

22条回答 默认 最新

  • 专家-赤兔[在线] 全栈领域优质创作者 2024-09-18 12:09
    关注

    以下回复引自免费微信小程序:皆我百晓生。 如问题解决,还请采纳。如仍有疑问,请回复留言或私信博主,以便获得更精准的帮助。

    解决方法:

    1. 在MAKE命令的路径中添加/USR/BIN/MAKE
    2. 重启机器,然后尝试再次运行MAKE命令。
    3. 如果问题仍然存在,可能需要检查MAKEFILE文件中的某些配置选项或设置,例如在ABINIT_PATHABINIT_INCLUDE_DIR等关键位置进行更改。如果这些设置正确,则可能是配置问题导致的错误。
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 9月24日
  • 修改了问题 9月18日
  • 创建了问题 9月18日

悬赏问题

  • ¥15 unity从3D升级到urp管线,打包ab包后,材质全部变紫色
  • ¥50 comsol温度场仿真无法模拟微米级激光光斑
  • ¥15 上传图片时提交的存储类型
  • ¥15 Ubuntu开机显示器只显示kernel,是没操作系统(相关搜索:显卡驱动)
  • ¥15 VB.NET如何绘制倾斜的椭圆
  • ¥15 arbotix没有/cmd_vel话题
  • ¥15 odoo17的分包重新供应路线如何设置?可从销售订单中实时直接触发采购订单或相关单据
  • ¥15 用C语言怎么判断字符串的输入是否符合设定?
  • ¥15 通信专业本科生论文选这两个哪个方向好研究呀
  • ¥50 我在一个购物网站的排队系统排队,这个排队到号后重新定向到目标网站进行购物,但是有技术牛通过技术方法直接跳过排队系统进入目标网址购物,有没有什么软件或者脚本可以用