24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2799  |  回复: 8
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

sunyj1409

铜虫 (初入文坛)

[求助] 麻烦帮忙看一下~~编译vasp的lib时就出错,错误信息如下已有1人参与

麻烦帮忙看一下~~编译vasp的lib时就出错,错误信息如下
/opt/intel/composer_xe_2013_sp1.3.174/bin/intel64/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
/opt/intel/composer_xe_2013_sp1.3.174/bin/intel64/ifort -O0 -FI -FR  -c diolib.f
diolib.f: remark #5133: The input stream is empty
gcc -E -P -C dlexlib.F >dlexlib.f
gcc: error trying to exec 'f951': execvp: No such file or directory
make: *** [dlexlib.o] Error 1
是我哪一步错了?这个问题该如何解决?诸位大侠救命!
回复此楼

» 猜你喜欢

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

开心果
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

guaiguaizhxd

木虫 (小有名气)

【答案】应助回帖

★ ★ ★
感谢参与,应助指数 +1
sunyj1409(fzx2008代发): 金币+2, 谢谢回帖! 2014-07-11 19:57:25
liliangfang: 金币+1, 谢谢交流 2014-08-24 17:18:56
有可能是gcc和ifort混合编译出现的冲突……
把makefile里的gcc改成icc,用Intel的C编译器应该就可以了
FiatLux
3楼2014-07-11 19:55:50
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

sunyj1409

铜虫 (初入文坛)

麻烦大神帮忙看一下,纠结一天le
开心果
2楼2014-07-11 18:55:37
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

sunyj1409

铜虫 (初入文坛)

引用回帖:
3楼: Originally posted by guaiguaizhxd at 2014-07-11 19:55:50
有可能是gcc和ifort混合编译出现的冲突……
把makefile里的gcc改成icc,用Intel的C编译器应该就可以了

我试了下,最后编译成功,多谢多谢
开心果
4楼2014-07-11 20:59:29
已阅   关注TA 给TA发消息 送TA红花 TA的回帖

sunyj1409

铜虫 (初入文坛)

引用回帖:
3楼: Originally posted by guaiguaizhxd at 2014-07-11 19:55:50
有可能是gcc和ifort混合编译出现的冲突……
把makefile里的gcc改成icc,用Intel的C编译器应该就可以了

又得麻烦您了,编译vasp的时候又出现了下面的问题,在网上也没搜到相应的解决方法。

base.f90(1): error #5082: Syntax error, found '/' when expecting one of: <LABEL> <END-OF-STATEMENT> ; BLOCK BLOCKDATA PROGRAM MODULE TYPE INTEGER REAL ...
/* Copyright (C) 1991-2014 Free Software Foundation, Inc.
^
base.f90(16): error #5145: Invalid blank/tab
   <http://www.gnu.org/licenses/>.  */
----------------------------------^
base.f90(20): error #5145: Invalid blank/tab
   include it implicitly at the start of every compilation.  It must
-----------------------------------------------------------^
base.f90(27): error #5120: Unterminated character constant
/* glibc's intent is to support the IEC 559 math functionality, real
--------^
base.f90(27): error #5144: Invalid character_kind_parameter. No underscore
/* glibc's intent is to support the IEC 559 math functionality, real
--------------------------------------------------------------------^
base.f90(28): error #5145: Invalid blank/tab
   and complex.  If the GCC (4.9 and later) predefined macros
---------------^
base.f90(30): error #5277: Syntax error, found ',' following statement keyword
   whether the overall intent is to support these features; otherwise,
----------------------------------------------------------------------^
base.f90(32): error #5145: Invalid blank/tab
   define these macros by default.  */
----------------------------------^
base.f90(36): error #5143: Missing mandatory separating blank
/* wchar_t uses ISO/IEC 10646 (2nd ed., published 2011-03-15) /
--------------------------------^
base.f90(37): error #5145: Invalid blank/tab
   Unicode 6.0.  */
---------------^
base.f90(39): error #5145: Invalid blank/tab
/* We do not support C11 <threads.h>.  */
-------------------------------------^
base.f90(1): catastrophic error: Could not recover from previous syntax error
compilation aborted for base.f90 (code 1)
make: *** [base.o] Error 1
请问这是哪里出错了
开心果
5楼2014-07-11 21:43:38
已阅   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见