24小时热门版块排行榜    

CyRhmU.jpeg
查看: 877  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 sin81 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
信息提示
请填处理意见