24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 687  |  回复: 1

pgi1706

木虫 (小有名气)

[求助] 安装ifort和icc2011最新版后,编译程序时出错?

系统是ubuntu10.04lts,intel P4的cpu,安装ifort、icc和mkl数学库后,编译程序包vasp出现这下的错误:

ifort -O0 -FI -FR  -c preclib.f
preclib.f: remark #5133: The input stream is empty
cc -O -c timing_.c
cc -O -c derrf_.c
cc -O -c dclock_.c
ifort -O0 -FI -FR  -c diolib.f
diolib.f(11): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(12): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(85): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(86): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(141): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(142): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(198): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(199): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(220): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(221): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(243): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(244): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(267): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(268): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
diolib.f(297): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
diolib.f(298): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
compilation aborted for diolib.f (code 1)
make: *** [diolib.o] 错误 1

说要检查INCLUDE路径,我echo了一下,显示:

$ echo $INCLUDE
/opt/intel/composer_xe_2011_sp1.7.256/ipp/include:/opt/intel/composer_xe_2011_sp1.7.256/mkl/include
对linux也不怎么熟悉,请懂的人给于个答案阿
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

pgi1706

木虫 (小有名气)

把压缩包解压一下,重新编译,居然通过了!好像以前经历这样的错误了,晕!
2楼2011-11-18 20:31:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 pgi1706 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿南开大学0710生物学359求调剂 +6 兔兔兔111223314 2026-03-29 8/400 2026-04-02 22:37 by louise0220
[考研] 一志愿a区211,085601-307分求调剂 +11 党嘉豪 2026-03-31 24/1200 2026-04-02 21:54 by yuq
[考研] 材料专硕322分 +10 哈哈哈吼吼吼哈 2026-04-02 10/500 2026-04-02 21:46 by dongzh2009
[考研] 070305高分子化学与物理 304分求调剂 +16 c297914 2026-03-28 16/800 2026-04-02 20:50 by dongzh2009
[考研] 070300化学求调剂 +8 起个名咋这么难 2026-03-27 9/450 2026-04-02 20:42 by dongzh2009
[考研] 285求调剂 +8 AZMK 2026-04-02 11/550 2026-04-02 20:16 by yulian1987
[考研] 312求调剂 +5 小小墨123 2026-04-02 6/300 2026-04-02 20:12 by dongzh2009
[考研] 一志愿华东理工大学,080500学硕,317分,求调剂 +13 s1145 2026-03-31 14/700 2026-04-02 18:55 by 哦哦嗯哈
[考研] 化学308分调剂 +14 你好明天你好 2026-03-30 15/750 2026-04-02 13:39 by 嘻嘻笑22
[考研] 07生物学求调剂 一志愿同济大学359分 +3 LAMC. 2026-03-30 3/150 2026-04-02 10:26 by 18828373951
[考研] 求调剂,一志愿 南京航空航天大学 ,080500材料科学与工程学硕,总分289分 +11 @taotao 2026-03-29 11/550 2026-04-02 10:04 by realme321
[考研] 304求调剂 +12 素年祭语 2026-03-31 15/750 2026-04-01 22:41 by peike
[考研] 086502化学工程342求调剂 +7 阿姨复古不过 2026-03-27 7/350 2026-04-01 16:14 by yanflower7133
[考研] 309求调剂 +19 谁不是少年 2026-03-29 19/950 2026-04-01 15:47 by jp9609
[考研] 考研生物与医药调剂 +7 铁憨憨123425 2026-03-31 7/350 2026-04-01 08:45 by JourneyLucky
[考研] 293分求调剂,外语为俄语 +5 加一一九 2026-03-31 5/250 2026-03-31 09:39 by zhshch
[考研] 一志愿中海洋320化学工程与技术学硕求调剂 +8 披星河 2026-03-30 8/400 2026-03-31 08:53 by lbsjt
[考研] 求调剂 +7 争取九点睡 2026-03-28 8/400 2026-03-28 21:07 by 争取九点睡
[考研] 085405 考的11408求各位老师带走 +3 Qiu学ing 2026-03-28 3/150 2026-03-28 09:19 by 乐呵呵的追梦人
[考研] 352分 化工与材料 +5 海纳百川Ly 2026-03-27 5/250 2026-03-28 03:39 by fmesaito
信息提示
请填处理意见