24小时热门版块排行榜    

查看: 1094  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +37 医学老男孩 2026-08-13 86/4300 2026-08-18 00:18 by longsantaizi
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +12 Ldrop2023 2026-08-13 15/750 2026-08-17 15:02 by 小豌豆_发芽
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[基金申请] 时间戳又变了8-15 +13 archvillain 2026-08-15 25/1250 2026-08-16 20:13 by zhaosm1982
[基金申请] 2027广东省杰青 +3 奶牛小黑 2026-08-15 6/300 2026-08-16 20:07 by 奶牛小黑
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +3 Tide man 2026-08-14 3/150 2026-08-16 17:47 by jurkat.1640
[基金申请] 有时候,自然基金真的不能太认真 (我的申报经验) +10 majunge000 2026-08-11 12/600 2026-08-16 08:18 by xli1984
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 是这周出结果还是下周出结果? +4 yuleib84 2026-08-11 4/200 2026-08-14 23:05 by lfy8008
[硕博家园] 读博的好处 +4 lnee 2026-08-11 4/200 2026-08-14 10:20 by ahsoarli
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] 不应该看fileCode +7 且听虎啸 2026-08-12 9/450 2026-08-13 14:27 by flydreamws
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +3 Tide man 2026-08-12 4/200 2026-08-13 08:35 by ZJTJZ
[基金申请] 2019年青年基金涵评意见,大家看看几个A,几个B? +11 Tide man 2026-08-11 11/550 2026-08-13 07:35 by 撸猫猫
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
信息提示
请填处理意见