24小时热门版块排行榜    

查看: 1026  |  回复: 2
【悬赏金币】回答本帖问题,作者sin81将赠送您 10 个金币

sin81

金虫 (正式写手)

[求助] VASP6.4 编译问题

用的intel2016 的编译器,开始能正常编译,中间断了,出现如下错误, 请问是怎么回事,如何解决?谢谢!
mpiifort -free -names lowercase -assume byterecl -w -xHOST -O2 -I/opt/intel/compilers_and_libraries_2016.4.258/linux/mkl/include/fftw  -c random.f90
random.F(70): error #8259: The type bound procedure definition statement must contains only one binding name.   [RANDOM_REAL_ARRAY]
        procedure, private :: random_real_scalar, random_real_array
--------------------------------------------------^
random.F(71): error #8259: The type bound procedure definition statement must contains only one binding name.   [UNIFORM_REAL_ARRAY]
        procedure, private :: uniform_real_scalar, uniform_real_array, &
---------------------------------------------------^
random.F(67): error #8423: In GENERIC type bound procedure definition each binding name must be the name of a specific binding of the type.   [UNIFORM_REAL_ARRAY]
        generic, public :: uniform => uniform_real_scalar, uniform_real_array, &
-----------------------------------------------------------^
random.F(68): error #8423: In GENERIC type bound procedure definition each binding name must be the name of a specific binding of the type.   [UNIFORM_COMPLEX_SCALAR]
            uniform_complex_scalar, uniform_complex_array
------------^
random.F(68): error #8423: In GENERIC type bound procedure definition each binding name must be the name of a specific binding of the type.   [UNIFORM_COMPLEX_ARRAY]
            uniform_complex_scalar, uniform_complex_array
------------------------------------^
random.F(66): error #8423: In GENERIC type bound procedure definition each binding name must be the name of a specific binding of the type.   [RANDOM_REAL_ARRAY]
        generic, public :: random => random_real_scalar, random_real_array
---------------------------------------------------------^
random.F(206): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
        call gen_wave%random(rane)
----------------------^
random.F(212): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
        call gen_wave%uniform(rang, center, width)
----------------------^
random.F(238): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
            call gen_ion%random(rng_ion)
-------------------------^
random.F(245): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
        call gen_ion%uniform(rang_ion, center, width)
---------------------^
random.F(261): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
                call generator%random(skip)
-------------------------------^
random.F(265): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
            call generator%random(skip)
---------------------------^
random.F(396): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
            call generator%random(array(ii))
---------------------------^
random.F(410): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
        call generator%random(first)
-----------------------^
random.F(414): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [RANDOM]
            call generator%random(second)
---------------------------^
random.F(428): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
            call generator%uniform(array(ii), center, width)
---------------------------^
random.F(437): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
        call generator%uniform(re_part, center, width)
-----------------------^
random.F(438): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
        call generator%uniform(im_part, width=width) ! only real part shifted
-----------------------^
random.F(448): error #8486: There is no matching specific subroutine for this type bound generic subroutine call.   [UNIFORM]
            call generator%uniform(array(ii), center, width)
---------------------------^
compilation aborted for random.f
回复此楼

» 猜你喜欢

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

wangyikeco

禁虫 (正式写手)

本帖内容被屏蔽

2楼2023-09-07 00:09:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

akakcolin

金虫 (著名写手)

用的编译器版本也太老了吧, 用同年附近的编译器
为人应当诚实正直不能心怀叵测心眼明亮才能迎来幸福避开灾祸盲目者若有人指点才不会迷失道路若单独上路就难以保证不误入岐途
3楼2023-09-07 21:24:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 sin81 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026国自然函评费到账 +16 羊腰板 2026-08-21 17/850 2026-08-23 23:02 by tianxiaochun
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +4 process2012 2026-08-23 5/250 2026-08-23 19:58 by jurkat.1640
[基金申请] 什么时候开奖? +9 CrisMessi 2026-08-18 10/500 2026-08-23 12:03 by 丶昵称占用
[基金申请] 今天放榜吗? +15 布布和一二 2026-08-19 16/800 2026-08-23 09:55 by 张春生
[基金申请] 93BebMhtakh前后11位开头都是大写 +7 且听虎啸 2026-08-17 8/400 2026-08-22 21:55 by 医学老男孩
[基金申请] 范进中举一文的中心思想 +3 炎黄贵胄 2026-08-22 4/200 2026-08-22 20:02 by mycsru
[基金申请] 只有每年这种时候来逛逛小木虫 +24 yaoyewhu2008 2026-08-20 26/1300 2026-08-22 17:43 by kammury
[基金申请] filecode,4个jtjc了 +13 ziyangfang 2026-08-19 16/800 2026-08-22 17:08 by WH3796
[基金申请] 人气不行了 +8 fansofjerry 2026-08-21 8/400 2026-08-22 16:30 by zyqchem
[基金申请] 今天基金会出结果吗?20260819 +16 kkkl_v 2026-08-19 17/850 2026-08-22 16:12 by 阿布Abu
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 建议基金发布提前给出明确的时间点 +10 kulium 2026-08-21 13/650 2026-08-21 21:58 by alongwaytogo
[基金申请] 科研孤儿太难了 +17 我4大白菜 2026-08-20 18/900 2026-08-21 20:57 by zhangev
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[论文投稿] 投稿咨询 +5 wwm09 2026-08-17 7/350 2026-08-21 10:11 by 期刊论文帮手
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 估计是周四 +3 archvillain 2026-08-18 3/150 2026-08-21 01:48 by jnhyjjm
[基金申请] 时间戳变了,能看出什么问题? +18 基诺咪客 2026-08-17 23/1150 2026-08-20 17:19 by Godzela
[基金申请] 朋友圈看到的 +6 wangzilk 2026-08-18 8/400 2026-08-19 10:55 by Haru815
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见