查看: 1057  |  回复: 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个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 课题组会帮你通过考核么? +3 好运来~9527 2026-10-10 6/300 2026-10-12 14:55 by 简单化xn
[有机交流] OpenAI又攻克数学难题了,离AI做有机合成还有多远? +4 wangyl_123 2026-10-10 7/350 2026-10-12 14:47 by chuans0923
[公派出国] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +5 qR2AdCWTVtkw 2026-10-09 9/450 2026-10-11 22:34 by XQNyDCa1Tk5n
[找工作] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +5 qR2AdCWTVtkw 2026-10-09 8/400 2026-10-11 22:26 by XQNyDCa1Tk5n
[公派出国] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +5 qR2AdCWTVtkw 2026-10-09 10/500 2026-10-11 22:26 by XQNyDCa1Tk5n
[考博] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +5 qR2AdCWTVtkw 2026-10-09 9/450 2026-10-11 22:15 by XQNyDCa1Tk5n
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 qR2AdCWTVtkw 2026-10-09 7/350 2026-10-11 22:11 by XQNyDCa1Tk5n
[教师之家] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 (EPI+-1)(金币-50) +5 qR2AdCWTVtkw 2026-10-09 10/500 2026-10-11 22:06 by XQNyDCa1Tk5n
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +5 qR2AdCWTVtkw 2026-10-09 9/450 2026-10-11 22:06 by XQNyDCa1Tk5n
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 (EPI+-1)(金币-50) +5 qR2AdCWTVtkw 2026-10-09 10/500 2026-10-11 14:25 by VOMexwnDzOFZ
[教师之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 (EPI+-1)(金币-50) +4 qR2AdCWTVtkw 2026-10-09 7/350 2026-10-11 14:05 by VOMexwnDzOFZ
[考研] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +5 qR2AdCWTVtkw 2026-10-09 8/400 2026-10-11 13:51 by VOMexwnDzOFZ
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +5 qR2AdCWTVtkw 2026-10-09 8/400 2026-10-11 13:45 by VOMexwnDzOFZ
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 qR2AdCWTVtkw 2026-10-09 7/350 2026-10-11 10:54 by VOMexwnDzOFZ
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +4 qR2AdCWTVtkw 2026-10-09 7/350 2026-10-11 10:34 by VOMexwnDzOFZ
[考博] 招收博士生一名 +3 mandolin 2026-10-10 3/150 2026-10-11 10:21 by 不是山谷!
[公派出国] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 qR2AdCWTVtkw 2026-10-09 4/200 2026-10-11 03:14 by M0zrYVSAnxpE
[有机交流] 各位大佬,路线设计求助 +6 zapen 2026-10-08 8/400 2026-10-10 15:59 by zapen
[基金申请] 入职后第一次管课题组的专利缴费,对账才发现官费比别人多掏了一倍 +5 13108017953 2026-10-08 5/250 2026-10-10 11:15 by wdwd123
[有机交流] 我应该选哪条合成路线让实验成功率高一些? +5 jing816y 2026-10-08 9/450 2026-10-10 09:05 by zapen
信息提示
请填处理意见