24小时热门版块排行榜    

查看: 1182  |  回复: 3
当前主题已经存档。

林子6682

新虫 (初入文坛)

[交流] 【求助】vasp安装出错,请帮忙!!

各位大哥!小弟我安装vasp的时候出错。
我用的编译器为intel 的ifort,数学库为mkl,我在编译vasp.4.lib的时候没有出现错误提示。而在编译vasp.4.6的时候,出现错误提示,如下:
yhl@yhl-desktop:~/vasp/vasp.4.6$ make
/opt/intel/Compiler/11.1/059/bin/ia32/ifort -FR -lowercase  -O3 -xW -tpp7   -c xcgrad.f90
ifort: command line remark #10148: option '-tp' not supported
xcgrad.f90(67): error #7013: This module file was not generated by any release of this compiler.   [PREC]
      USE prec
----------^
xcgrad.f90(73): error #7013: This module file was not generated by any release of this compiler.   [LATTICE]
      USE lattice
----------^
xcgrad.f90(77): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT COMPLEX(q) (C)
-----------------------^
xcgrad.f90(79): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-B,D-H,O-Z)
--------------------^
xcgrad.f90(81): error #6457: This derived type name has not been declared.   [GRID_3D]
      TYPE (grid_3d)     GRIDC
------------^
xcgrad.f90(82): error #6457: This derived type name has not been declared.   [LATT]
      TYPE (latt)        LATT_CUR
------------^
xcgrad.f90(84): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      COMPLEX(q)  CHTOT(GRIDC%MPLWV),CWORK(GRIDC%MPLWV)
--------------^
xcgrad.f90(84): error #6158: The structure-name is invalid or is missing.
      COMPLEX(q)  CHTOT(GRIDC%MPLWV),CWORK(GRIDC%MPLWV)
------------------------^
xcgrad.f90(84): error #6158: The structure-name is invalid or is missing.
      COMPLEX(q)  CHTOT(GRIDC%MPLWV),CWORK(GRIDC%MPLWV)
-------------------------------------------^
xcgrad.f90(85): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      REAL(q)       DENCOR(GRIDC%RL%NP)
-----------^
xcgrad.f90(85): error #6158: The structure-name is invalid or is missing.
      REAL(q)       DENCOR(GRIDC%RL%NP)
---------------------------^
xcgrad.f90(86): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      REAL(q)     XCSIF(3,3)
-----------^
xcgrad.f90(88): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      COMPLEX(q),ALLOCATABLE:: CWGRAD(
--------------^
xcgrad.f90(89): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      REAL(q),ALLOCATABLE   :: DWORKG(,DWORK1(,DWORK2(,DWORK3(,DCHARG(
-----------^
xcgrad.f90(91): error #6535: This variable or component must be of a derived or structure type   [GRIDC]
      NP1=GRIDC%RL%NP
----------^
xcgrad.f90(91): error #6460: This is not a field name that is defined in the encompassing structure.   [RL]
      NP1=GRIDC%RL%NP
----------------^
xcgrad.f90(91): error #6460: This is not a field name that is defined in the encompassing structure.   [NP]
      NP1=GRIDC%RL%NP
-------------------^
xcgrad.f90(92): error #6460: This is not a field name that is defined in the encompassing structure.   [MPLWV]
      ALLOCATE(CWGRAD(GRIDC%MPLWV), &
----------------------------^
xcgrad.f90(92): error #6385: The highest data type rank permitted is INTEGER(KIND=8).   [MPLWV]
      ALLOCATE(CWGRAD(GRIDC%MPLWV), &
----------------------------^
xcgrad.f90(110): error #7013: This module file was not generated by any release of this compiler.   [PREC]
      USE prec
----------^
xcgrad.f90(117): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT COMPLEX(q) (C)
-----------------------^
xcgrad.f90(119): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-B,D-H,O-Z)
--------------------^
xcgrad.f90(121): error #6457: This derived type name has not been declared.   [GRID_3D]
      TYPE (grid_3d)     GRIDC
------------^
xcgrad.f90(122): error #6457: This derived type name has not been declared.   [LATT]
      TYPE (latt)        LATT_CUR
------------^
xcgrad.f90(131): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      COMPLEX(q) CHTOT(GRIDC%MPLWV),CWGRAD(GRIDC%MPLWV),CWORK(GRIDC%MPLWV)
--------------^
xcgrad.f90(131): error #6158: The structure-name is invalid or is missing.
      COMPLEX(q) CHTOT(GRIDC%MPLWV),CWGRAD(GRIDC%MPLWV),CWORK(GRIDC%MPLWV)
-----------------------^
(415): catastrophic error: Too many errors, exiting
compilation aborted for xcgrad.f90 (code 1)
make: *** [xcgrad.o] 閿欒

请教各位大哥,究竟是哪个地方出错了?请指正谢谢!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

王和禹

木虫 (小有名气)

★
小木虫(金币+0.5):给个红包,谢谢回帖交流
引用回帖:
Originally posted by 林子6682 at 2009-12-17 22:54:57:
各位大哥!小弟我安装vasp的时候出错。
我用的编译器为intel 的ifort,数学库为mkl,我在编译vasp.4.lib的时候没有出现错误提示。而在编译vasp.4.6的时候,出现错误提示,如下:
yhl@yhl-desktop:~/vasp/vasp.4 ...

楼主,我也要安装vasp,一样的问题多多,我们可以联系一下吗?
2楼2010-02-05 18:38:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

林子6682

新虫 (初入文坛)

楼上的,好啊!

楼上的朋友好啊,不过我董的真的不多!
3楼2010-03-06 23:11:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zbb1223

铁杆木虫 (小有名气)

建议用这个方法编译,我今天下午刚刚编译成功
http://muchong.com/bbs/viewthread.php?tid=1332100&fpage=1
注意,这个方法需要fftw,具体的步骤我在93楼的回帖中有说明
4楼2010-03-07 17:26:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 林子6682 的主题更新
普通表情 龙 兔 虎 猫 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 TZqyNTBa07NP 2026-11-13 3/150 2026-11-15 11:36 by xSrQNSSjcgoX
[考研] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 TZqyNTBa07NP 2026-11-13 3/150 2026-11-15 09:35 by xSrQNSSjcgoX
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 SX5mJmPWDfOO 2026-11-13 3/150 2026-11-15 08:07 by xSrQNSSjcgoX
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +4 SX5mJmPWDfOO 2026-11-13 4/200 2026-11-15 07:45 by xSrQNSSjcgoX
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 SX5mJmPWDfOO 2026-11-13 4/200 2026-11-15 07:34 by xSrQNSSjcgoX
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 uKOSCocCb6Fm 2026-11-12 6/300 2026-11-15 02:59 by xSrQNSSjcgoX
[论文投稿] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 uKOSCocCb6Fm 2026-11-12 10/500 2026-11-15 02:15 by xSrQNSSjcgoX
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-15 00:27 by Equinoxhua
[考研] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +5 YHiw1gou1Eda 2026-11-10 8/400 2026-11-14 22:51 by Equinoxhua
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +4 G2rhSvqvhNzl 2026-11-10 5/250 2026-11-13 11:37 by Equinoxhua
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +6 FChKX8meu1ds 2026-11-09 10/500 2026-11-13 11:08 by Equinoxhua
[论文投稿] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 TgvkbZZl9tqB 2026-11-11 4/200 2026-11-12 12:51 by ECLTXnJnRSXf
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 TgvkbZZl9tqB 2026-11-11 4/200 2026-11-12 12:51 by ECLTXnJnRSXf
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 TgvkbZZl9tqB 2026-11-11 6/300 2026-11-12 12:42 by ECLTXnJnRSXf
[基金申请] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +5 czAiolzR0IJC 2026-11-10 9/450 2026-11-12 11:11 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +5 czAiolzR0IJC 2026-11-10 6/300 2026-11-12 11:03 by HajghKOMynmz
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 G2rhSvqvhNzl 2026-11-10 6/300 2026-11-12 10:49 by HajghKOMynmz
[考博] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 C6CRn66RYYXS 2026-11-10 6/300 2026-11-12 10:27 by HajghKOMynmz
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 cdqGD6ftHmbl 2026-11-11 3/150 2026-11-12 07:53 by HajghKOMynmz
[考研] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 Z7qfCsdIiD1T 2026-11-10 4/200 2026-11-12 02:23 by 9fOTqj074tIg
信息提示
请填处理意见