| 查看: 2271 | 回復: 26 | ||
[求助]
編譯vasp.4.lib錯誤 make: *** 沒有規(guī)則可以創(chuàng)建目標~ 已有1人參與
|
||
|
各位師兄師姐老師們你們好,我在ubuntu 14.04lts系統(tǒng)下安裝vasp,安裝了g++和ifotr編譯器,數學庫為ATLAS,然后對vasp.4.lib/makefile.linux_ifc_P4進行make,立刻提示: make: *** 沒有規(guī)則可以創(chuàng)建目標“/tmp/vasp.4.lib/makefile.linux_lfc_P4”。 停止。 試著將makefile中的FC=ifc修改為ifort,問題依舊,請問各位前輩問題出在哪里呢?不勝感激。 |
金蟲 (正式寫手)
鐵桿木蟲 (著名寫手)
鐵桿木蟲 (著名寫手)
鐵桿木蟲 (著名寫手)
鐵桿木蟲 (著名寫手)
|
lib目前編譯好了,請問lib能用icc編譯嗎?我在編譯lib的時候把CPP = gcc -E -P -C $*.F >$*.f改成了CPP = icc -E -P -C $*.F >$*.f 。然后在編譯vasp的時候出現了以下錯誤 ./preprocess <base.F | /usr/bin/cpp -P -C -traditional >base.f90 -DHOST=\"LinuxIFC\" -Dkind8 -DNGXhalf -DCACHE_SIZE=12000 -DPGF90 -Davoidalloc ifort -FR -lowercase -assume byterecl -O3 -xW - -c base.f90 ifort: command line remark #10010: option '-lowercase' is deprecated and will be removed in a future release. See '-help deprecated' ifort: command line remark #10279: option '-xW' is deprecated and will be removed in a future release. See '-help deprecated' ifort: command line warning #10006: ignoring unknown option '-sTdIn_' 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] 錯誤 1 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 生物學一志愿985,分數349求調劑 +6 | zxts12 2026-03-21 | 9/450 |
|
|---|---|---|---|---|
|
[考研] 341求調劑(一志愿湖南大學070300) +3 | 番茄頭--- 2026-03-22 | 4/200 |
|
|
[考研] 291 求調劑 +4 | 化工2026屆畢業(yè)?/a> 2026-03-21 | 5/250 |
|
|
[考研] 工科材料085601 279求調劑 +8 | 困于星晨 2026-03-17 | 10/500 |
|
|
[考研] 276求調劑。有半年電池和半年高分子實習經歷 +8 | 材料學257求調劑 2026-03-23 | 9/450 |
|
|
[考研] 085600材料與化工 +10 | 安全上岸! 2026-03-16 | 10/500 |
|
|
[考研] 一志愿中南大學化學學碩0703總分337求調劑 +4 | niko- 2026-03-22 | 4/200 |
|
|
[考研] 280分求調劑 一志愿085802 +4 | PUMPT 2026-03-22 | 7/350 |
|
|
[考研] 一志愿西安交通大學材料工程專業(yè) 282分求調劑 +11 | 楓橋ZL 2026-03-18 | 13/650 |
|
|
[考研] 求調劑院校信息 +6 | CX 330 2026-03-21 | 6/300 |
|
|
[考研] 一志愿華中科技大學071000,求調劑 +4 | 沿岸有貝殼6 2026-03-21 | 4/200 |
|
|
[考研] 297求調劑 +3 | 喜歡還是不甘心 2026-03-20 | 3/150 |
|
|
[考研] 0703化學297求調劑 +3 | Daisy☆ 2026-03-20 | 3/150 |
|
|
[考研] 材料 271求調劑 +5 | 展信悅_ 2026-03-21 | 5/250 |
|
|
[考研] 302求調劑 +12 | 呼呼呼。。。。 2026-03-17 | 12/600 |
|
|
[考研] 336求調劑 +5 | rmc8866 2026-03-21 | 5/250 |
|
|
[考研] 303求調劑 +5 | 睿08 2026-03-17 | 7/350 |
|
|
[考研] 083200學碩321分一志愿暨南大學求調劑 +3 | innocenceF 2026-03-17 | 3/150 |
|
|
[考研] 294求調劑材料與化工專碩 +15 | 陌の森林 2026-03-18 | 15/750 |
|
|
[考研] 308求調劑 +3 | 阿姐阿姐家啊 2026-03-18 | 3/150 |
|