24小时热门版块排行榜    

CyRhmU.jpeg
查看: 870  |  回复: 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

木虫 (正式写手)

newbie

try Intel OneAPI
check your mailbox
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个字符以上)
信息提示
请填处理意见