| 2 | 1/1 | 返回列表 |
| 查看: 1156 | 回復(fù): 1 | ||
zjucy金蟲 (小有名氣)
|
[求助]
vasp.5.lib 編譯出錯,求助如何改正
|
|
機(jī)器是AMD的三核處理器,用Ifort和openmpi 都裝在/usr/local cp makefile.linux_P4的那個做makefile .SUFFIXES: .inc .f .F #----------------------------------------------------------------------- # Makefile for Portland Group F90/HPF compiler # the makefile was tested only under Linux on Intel platforms # however it might work on other platforms as well # # this release of vasp.4.lib contains lapack v2.0 # this can be compiled with pgf90 compiler if the option -O1 is used # # Mind: one user reported that he had to copy preclib.F diolib.F # dlexlib.F and drdatab.F to the directory vasp.4.4, compile the files # there and link them directly into vasp # for no obvious reason these files could not be linked from the library # #----------------------------------------------------------------------- # C-preprocessor CPP = gcc P -C $*.F >$*.f FC=ifort CFLAGS = -O FFLAGS = -O0 -FI FREE = -FR DOBJ = preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o 這里有個問題,我下的是vasp.5.lib的安裝包,文件里顯示是4.lib,是不是安裝文件有問題? 還有AMD的處理器用這個文件可不可以? 下面是出錯信息 ifort -O0 -FI -FR -c drdatab.f drdatab.f(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ drdatab.f(8): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ drdatab.f(89): error #6683: A kind type parameter must be a compile-time constant. [Q] REAL(q) FLTRES(*) -----------^ drdatab.f(90): error #6683: A kind type parameter must be a compile-time constant. [Q] COMPLEX(q) CMPRES(*) --------------^ compilation aborted for drdatab.f (code 1) make: *** [drdatab.o] Error 1 [root@localhost vasp.5.lib]# make ifort -O0 -FI -FR -c drdatab.f drdatab.f(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ drdatab.f(8): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ drdatab.f(89): error #6683: A kind type parameter must be a compile-time constant. [Q] REAL(q) FLTRES(*) -----------^ drdatab.f(90): error #6683: A kind type parameter must be a compile-time constant. [Q] COMPLEX(q) CMPRES(*) --------------^ compilation aborted for drdatab.f (code 1) make: *** [drdatab.o] Error 1 [root@localhost vasp.5.lib]# vi makefile [root@localhost vasp.5.lib]# make ifort -O0 -FI -FR -c drdatab.f drdatab.f(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ drdatab.f(8): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ drdatab.f(89): error #6683: A kind type parameter must be a compile-time constant. [Q] REAL(q) FLTRES(*) -----------^ drdatab.f(90): error #6683: A kind type parameter must be a compile-time constant. [Q] COMPLEX(q) CMPRES(*) --------------^ compilation aborted for drdatab.f (code 1) make: *** [drdatab.o] Error 1 [root@localhost vasp.5.lib]# vi makefile [root@localhost vasp.5.lib]# make ifort -O0 -FI -FR -c drdatab.f drdatab.f(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ drdatab.f(8): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ drdatab.f(89): error #6683: A kind type parameter must be a compile-time constant. [Q] REAL(q) FLTRES(*) -----------^ drdatab.f(90): error #6683: A kind type parameter must be a compile-time constant. [Q] COMPLEX(q) CMPRES(*) --------------^ compilation aborted for drdatab.f (code 1) make: *** [drdatab.o] Error 1 完全新手入門,對LINUX一知半解。還請各位前輩指教。謝謝! |
新蟲 (初入文壇)
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 廣西大學(xué)材料導(dǎo)師推薦 +3 | 夏夏夏小正 2026-03-17 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 化學(xué)調(diào)劑 +5 | yzysaa 2026-03-21 | 5/250 |
|
|
[考研] 考研調(diào)劑 +3 | 呼呼?~+123456 2026-03-21 | 3/150 |
|
|
[考研] 【考研調(diào)劑】化學(xué)專業(yè) 281分,一志愿四川大學(xué),誠心求調(diào)劑 +11 | 吃吃吃才有意義 2026-03-19 | 11/550 |
|
|
[考研] 材料學(xué)碩333求調(diào)劑 +3 | 北道巷 2026-03-18 | 3/150 |
|
|
[考研] 313求調(diào)劑 +4 | 肆叁貳壹22 2026-03-19 | 4/200 |
|
|
[考研] 22 350 本科985求調(diào)劑,求老登收留 +3 | 李軼男003 2026-03-20 | 3/150 |
|
|
[考研] 306求調(diào)劑 +4 | chuanzhu川燭 2026-03-18 | 4/200 |
|
|
[考研] 346求調(diào)劑[0856] +4 | WayneLim327 2026-03-16 | 7/350 |
|
|
[考研] 08工科 320總分 求調(diào)劑 +6 | 梨花珞晚風(fēng) 2026-03-17 | 6/300 |
|
|
[考研] 材料 336 求調(diào)劑 +3 | An@. 2026-03-18 | 4/200 |
|
|
[考研] 材料專業(yè)求調(diào)劑 +6 | hanamiko 2026-03-18 | 6/300 |
|
|
[考研] 一志愿 南京航空航天大學(xué)大學(xué) ,080500材料科學(xué)與工程學(xué)碩 +5 | @taotao 2026-03-20 | 5/250 |
|
|
[考研] 一志愿南理工085701環(huán)境302求調(diào)劑院校 +3 | 葵梓衛(wèi)隊 2026-03-20 | 3/150 |
|
|
[考研] 材料與化工求調(diào)劑 +7 | 為學(xué)666 2026-03-16 | 7/350 |
|
|
[考研] 085601專碩,總分342求調(diào)劑,地區(qū)不限 +5 | share_joy 2026-03-16 | 5/250 |
|
|
[考研] 材料專碩306英一數(shù)二 +10 | z1z2z3879 2026-03-16 | 13/650 |
|
|
[考研]
|
胡辣湯放糖 2026-03-15 | 6/300 |
|
|
[考研] 085601求調(diào)劑 +4 | Du.11 2026-03-16 | 4/200 |
|
|
[考研] 機(jī)械專碩325,尋找調(diào)劑院校 +3 | y9999 2026-03-15 | 5/250 |
|