| 查看: 852 | 回复: 0 | |||
[交流]
【求助】vasp4.6编译lib时出现错误求助
|
|
ifort+atlas 出现以下错误提示 /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) --------------------^ dlexlib.f(97): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(98): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(220): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(221): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(264): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(265): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(372): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(373): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(401): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(402): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(430): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(431): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(470): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(471): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(502): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(503): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(533): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(534): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(650): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(651): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(889): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(890): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ dlexlib.f(948): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PRECLIB] USE preclib ----------^ dlexlib.f(949): error #6683: A kind type parameter must be a compile-time constant. [Q] IMPLICIT REAL(q) (A-H,O-Z) --------------------^ 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] 错误 1 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 -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 求高手 |
» 猜你喜欢
博士读完未来一定会好吗
已经有24人回复
导师想让我从独立一作变成了共一第一
已经有9人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有11人回复
读博
已经有4人回复
JMPT 期刊投稿流程
已经有4人回复
心脉受损
已经有5人回复
Springer期刊投稿求助
已经有4人回复
小论文投稿
已经有3人回复
申请2026年博士
已经有6人回复
» 抢金币啦!回帖就可以得到:
Ei期刊青年编委招募(工程设计方向)
+1/372
桂林理工大学材料科学与工程学院诚聘青年教师
+1/119
【MLPA-NGS 技术】Y 染色体微缺失 / SNP 分型 /mtDNA 检测试剂盒,现货直供!
+1/85
转录组数据求助
+1/82
上市公司招聘电解液添加剂研发人员
+1/80
PhD position in microbiology and plant-pathogen interaction
+1/66
浙江大学药学院张小昀课题组诚聘博士后、研究助理 (核酸化学生物学方向)
+1/45
广州医科大学招聘微塑料生物毒理纳米材料方向博士后2名
+1/33
上海交通大学-化学化工学院-邱惠斌教授课题组招聘博士后
+1/32
工作一年半了,突然分配到浮选药剂的合成,我想问问浮选药剂是不是夕阳产业了
+1/31
石河子大学李诚,李春艳团队招生26年博士研究生
+1/23
鄢勇课题组2026年拟招收项目聘用人员1名,方向:1. 具身智能;2. 智能感知;3. 忆阻器
+1/22
博士/硕士招生
+1/10
新加坡南洋理工大学招聘博士后(固态电池,固体离子导体,转化正极方向)
+1/10
海南大学国家高层次人才团队2026年博士招生
+1/6
招收26年秋季入学博士生(北科大高精尖学院 力学超材料/机器学习/增材制造相关方向)
+1/4
荷兰奈梅亨大学招收2026 CSC博士: 非线性控制与神经调控
+1/4
深圳先进院三院院士成会明团队诚聘液流电池/高分子合成等方向博后、科研助理、工程师
+1/3
QS Top-88悉尼科技大学数据科学/AI 招收2026年入学 校奖 博士生2名,3月底截止
+1/2
西湖大学李小波课题组诚聘博士后3名(生物学方向)
+1/1













回复此楼