24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 998  |  回复: 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的回帖

zbb1223

铁杆木虫 (小有名气)

建议用这个方法编译,我今天下午刚刚编译成功
http://muchong.com/bbs/viewthread.php?tid=1332100&fpage=1
注意,这个方法需要fftw,具体的步骤我在93楼的回帖中有说明
4楼2010-03-07 17:26:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

王和禹

木虫 (小有名气)


小木虫(金币+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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿哈尔滨工业大学085600英一数二337分求调剂 +4 lyz0427 2026-04-03 4/200 2026-04-03 23:54 by T可可西里T
[考研] 311求调剂 +20 zchqwer 2026-04-01 22/1100 2026-04-03 22:09 by lglzsd
[考研] 材料与化工调剂一志愿大连海事085600,349 +11 吃的不少 2026-03-30 11/550 2026-04-03 18:05 by Jimmyandyou
[考研] 工科341分调剂 +3 洛多罗 2026-04-03 3/150 2026-04-03 14:20 by 1753564080
[考研] 085600专硕材料与化工348分求调剂 +10 上学啦! 2026-04-01 11/550 2026-04-03 14:13 by 百灵童888
[考研] 一志愿北京交通大学材料工程总分358 +4 cs0106 2026-04-03 4/200 2026-04-03 13:41 by 百灵童888
[考研] 321求调剂 +17 y-yh 2026-04-01 20/1000 2026-04-03 12:57 by y-yh
[考研] 275求调剂 +14 waltzh 2026-04-01 14/700 2026-04-03 11:24 by qqq850810
[考研] 085600调剂 +3 1amJJ 2026-04-02 3/150 2026-04-02 22:00 by 科研小专家
[考研] 材料专硕322分 +11 哈哈哈吼吼吼哈 2026-04-01 11/550 2026-04-02 10:52 by lnilvy
[考研] 一志愿北交大材料工程总分358 +8 cs0106 2026-04-01 9/450 2026-04-02 10:36 by 不吃魚的貓
[考研] 各位老师好,我的一志愿为北京科技大学085601材料专硕 +13 Koxui 2026-03-28 13/650 2026-04-02 09:35 by 哒哒哒呱呱呱
[考研] 0703一志愿南师大334求调剂 +4 seven7yu 2026-03-30 4/200 2026-04-01 16:10 by oooqiao
[考研] 环境工程 085701,267求调剂 +15 minht 2026-03-29 16/800 2026-04-01 10:13 by li_sujuan99
[考研] 352分-085602-一志愿985 +6 海纳百川Ly 2026-03-29 6/300 2026-03-31 21:06 by yuq
[考研] 一志愿华东师范大学有机化学专业,初试351分,复试被刷求调剂! +9 真名有冰 2026-03-29 10/500 2026-03-31 18:01 by xhai2011
[考研] 哈尔滨工业大学材料与化工专硕378求调剂 +3 塔比乌斯 2026-03-30 3/150 2026-03-30 22:55 by 无际的草原
[考研] 356求调剂 +4 gysy?s?a 2026-03-28 4/200 2026-03-29 10:32 by 唐沐儿
[考研] 305求调剂 +8 RuiFairyrui 2026-03-28 8/400 2026-03-29 08:22 by fmesaito
[考研] 药学105500求调剂 +3 Ssun。。 2026-03-28 3/150 2026-03-28 11:24 by lxf170613
信息提示
请填处理意见