| 查看: 3648 | 回復(fù): 22 | |||
qianbj2006木蟲 (正式寫手)
|
[求助]
編譯vasp的lib時就出錯,求指點
|
||
|
麻煩幫忙看一下~~編譯vasp的lib時就出錯,錯誤信息如下 root@sjtu-ThinkPad-SL:/home/sjtu/Downloads/vasp4.6/vasp/vasp.4.lib# make ifort -O0 -FI -FR -c dlexlib.f dlexlib.f(4): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(5): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(73): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(74): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ ----------^ #中間重復(fù),很多6683和7002錯誤# --------------------^ dlexlib.f(964): error #6592: This symbol must be a defined parameter, an enumerator, or an argument of an inquiry function that evaluates to a compile-time constant. [Q] PARAMETER (TINY=1.E-10_q,MAXINT=2147483647.E0_q) ----------------------------^ dlexlib.f(964): error #6975: A kind-param must be a digit-string or a scalar-int-constant-name [Q] PARAMETER (TINY=1.E-10_q,MAXINT=2147483647.E0_q) ----------------------------^ dlexlib.f(1084): catastrophic error: Too many errors, exiting compilation aborted for dlexlib.f (code 1) make: *** [dlexlib.o] Error 1 makefile文件基本沒改 只改了FC=ifort 全文: root@sjtu-ThinkPad-SL:/home/sjtu/Downloads/vasp4.6/vasp/vasp .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 -E -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 #----------------------------------------------------------------------- # general rules #----------------------------------------------------------------------- libdmy.a: $(DOBJ) lapack_double.o linpack_double.o lapack_atlas.o -rm libdmy.a ar vq libdmy.a $(DOBJ) # files which do not require autodouble lapack_min.o: lapack_min.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_min.f lapack_double.o: lapack_double.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_double.f lapack_single.o: lapack_single.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_single.f lapack_atlas.o: lapack_atlas.f $(FC) $(FFLAGS) $(NOFREE) -c lapack_atlas.f linpack_double.o: linpack_double.f $(FC) $(FFLAGS) $(NOFREE) -c linpack_double.f linpack_single.o: linpack_single.f $(FC) $(FFLAGS) $(NOFREE) -c linpack_single.f .c.o: $(CC) $(CFLAGS) -c $*.c .F.o: $(CPP) $(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f .F.f: $(CPP) .f.o: $(FC) $(FFLAGS) $(FREE) $(INCS) -c $*.f |
金蟲 (小有名氣)
木蟲 (正式寫手)
|
/root下的.bashrc加了 source /opt/intel/composer_xe_2011_sp1/bin/compilervars.sh intel64 export PATH=$PATH:/opt/intel/composer_xe_2011_sp1.7.256/bin export PATH=$PATH:/usr/bin vasp.4.lib下的文件有 ls crayerrf.F lapack_single_1.1.f makefile.rs6000_p1 dclock_.c lapack_single.f makefile.sgi dclock.c linpack_double.f makefile.sp2 dclock_ds20.c linpack_single.f makefile.sun dclock_.o makefile makefile.t3d dclock_simple.c makefile~ makefile.t3e derrf_.c makefile.cray makefile.vpp derrf.c makefile.dec preclib.f derrf_.o makefile.fujitsu preclib.F derrf_t3d.c makefile.hp preclib.o diolib.f makefile.hpux_itanium ptimers.f diolib.F makefile.linux ptimers.h diolib.o makefile.linux_abs README.lapack dlexlib.f makefile.linux_alpha sclock_cray.F dlexlib.F makefile.linux_efc_itanium sclock_nec.F dlexlib.s makefile.linux_ifc_ath sclock_t3d.F drdatab.F makefile.linux_ifc_opt serrf.c errf.F makefile.linux_ifc_P4 stripnr fujitsu.F makefile.linux_ifc_P4~ timing_.c itmtv.s makefile.linux_pg timing.c lapack_atlas.f makefile.linux_pgi_opt timing_ds20.c lapack_double_1.1.f makefile.nec timing.fujitsu.F lapack_double.f makefile.rs6000 timing_.o |
木蟲 (正式寫手)
木蟲 (正式寫手)
榮譽版主 (著名寫手)
榮譽版主 (著名寫手)
木蟲 (正式寫手)
木蟲 (正式寫手)
木蟲 (正式寫手)
木蟲 (正式寫手)
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿食品科學(xué)與工程083200求調(diào)劑 +4 | XQTJZ 2026-03-30 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 266分,求材料相關(guān)專業(yè)調(diào)劑 +6 | 哇呼哼呼哼 2026-03-30 | 8/400 |
|
|
[考研] 一志愿中海洋材料357 +3 | 麥恩莉. 2026-03-30 | 3/150 |
|
|
[考研] 材料工程專碩求調(diào)劑 +8 | hyl3153942 2026-03-29 | 8/400 |
|
|
[考研] 293求調(diào)劑 +3 | 末未mm 2026-03-30 | 5/250 |
|
|
[考研] 262求調(diào)劑 +4 | ZZ..000 2026-03-30 | 4/200 |
|
|
[考研] 085404求調(diào)劑,總分309,本科經(jīng)歷較為豐富 +6 | 來財aa 2026-03-25 | 6/300 |
|
|
[考研] 求調(diào)劑 +10 | 張zz111 2026-03-27 | 11/550 |
|
|
[考研] 294分080500材料科學(xué)與工程求調(diào)劑 +8 | 柳溪邊 2026-03-26 | 8/400 |
|
|
[考研] 【求調(diào)劑】085601材料工程專碩 | 總分272 | +7 | 腳滑的守法公民 2026-03-27 | 7/350 |
|
|
[考研] 356求調(diào)劑 +3 | gysy?s?a 2026-03-28 | 3/150 |
|
|
[考研] 085602 化工專碩 338分 求調(diào)劑 +12 | 路癡小琪 2026-03-27 | 12/600 |
|
|
[考研] 張芳銘-中國農(nóng)業(yè)大學(xué)-環(huán)境工程專碩-298 +4 | 手機用戶 2026-03-26 | 4/200 |
|
|
[考研] 331環(huán)境科學(xué)與工程求調(diào)劑 +3 | 熠然好運氣 2026-03-27 | 3/150 |
|
|
[考研] 275求調(diào)劑 +10 | jjjjjjjjjjl 2026-03-27 | 10/500 |
|
|
[有機交流]
高溫高壓反應(yīng)求助
10+4
|
chibby 2026-03-25 | 4/200 |
|
|
[考研]
|
18419759900 2026-03-25 | 8/400 |
|
|
[考研] 336材料求調(diào)劑 +7 | 陳瀅瑩 2026-03-26 | 9/450 |
|
|
[考研] 334分 一志愿武理-080500 材料求調(diào)劑 +4 | 李李不服輸 2026-03-25 | 4/200 |
|
|
[考研]
|
13659058978 2026-03-24 | 4/200 |
|