24小时热门版块排行榜    

查看: 747  |  回复: 2

zsggmdwza

新虫 (初入文坛)

[求助] vasp 修改vasp.5.2 里的 maekfile.linux_ifc_p4文件出错 已有2人参与

我把BLAS和LAPACK        都改为了 -L/opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/ia32 -llibmkl_intel -llibmkl_sequential -llibmkl_gnu_thread -llibmkl_intel_thread -llibmkl_core

然后make出错显示./preprocess <base.F | /usr/bin/cpp -P -C -traditional >base.f90  -DHOST=\\"LinuxIFC\\" -Dkind8 -DCACHE_SIZE=12000 -DPGF90 -Davoidalloc -DNGXhalf
ifort  -FR -lowercase -assume byterecl  -O3  -c base.f90
ifort: command line remark #10010: option \'-lowercase\' is deprecated and will be removed in a future release. See \'-help deprecated\'
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

我的/opt/intel/composer_xe_2013_sp1.0.080/mkl/lib/ia32$ ls里是这些文件
libmkl_avx2.so        libmkl_intel_thread.a   libmkl_vml_avx.so
libmkl_avx.so         libmkl_intel_thread.so  libmkl_vml_cmpt.so
libmkl_blas95.a       libmkl_lapack95.a       libmkl_vml_ia.so
libmkl_core.a         libmkl_p4m3.so          libmkl_vml_p4m2.so
libmkl_core.so        libmkl_p4m.so           libmkl_vml_p4m3.so
libmkl_gf.a           libmkl_p4p.so           libmkl_vml_p4m.so
libmkl_gf.so          libmkl_p4.so            libmkl_vml_p4p.so
libmkl_gnu_thread.a   libmkl_rt.so            libmkl_vml_p4.so
libmkl_gnu_thread.so  libmkl_sequential.a     locale
libmkl_intel.a        libmkl_sequential.so
libmkl_intel.so       libmkl_vml_avx2.so
我没有装fftw    用的自带的fft
用的mkl

求助大神应该怎么改
回复此楼

» 猜你喜欢

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

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

KalaShayminS

铁杆木虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
选项中的CPP_不要用 preprocess开头的,改用fpp开头的。
2楼2015-04-27 13:15:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

JJ20

金虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
可以尝试安装cpp-4.6,调用cpp-4.6安装
选择放弃只为保留尊严
3楼2015-04-27 15:02:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zsggmdwza 的主题更新
信息提示
请填处理意见