| 查看: 859 | 回复: 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 求高手 |
» 猜你喜欢
参与限项
已经有3人回复
假如你的研究生提出不合理要求
已经有7人回复
实验室接单子
已经有4人回复
全日制(定向)博士
已经有4人回复
对氯苯硼酸纯化
已经有3人回复
求助:我三月中下旬出站,青基依托单位怎么办?
已经有12人回复
不自信的我
已经有12人回复
所感
已经有4人回复
要不要辞职读博?
已经有7人回复
北核录用
已经有3人回复
» 抢金币啦!回帖就可以得到:
坐标济南,来碰碰运气
+1/447
16年了,来看看大家
+1/198
限广州,征女友
+2/196
上海科技大学物质科学与技术学院|王平鸾课题组长期招聘(博后/博硕/科研助理)
+1/176
上海交通大学任垭萌课题组招聘博士后
+1/89
原子层沉积(ALD)磁控溅射PECVD等微纳代工服务:18817872921
+1/83
上海师范大学生物医用材料方向招收2026级博士研究生
+1/78
上海大学昝鹏教授、军事医学研究院伯晓晨研究员/倪铭副研究员 课题组招聘博士生
+1/77
中国石油大学(华东)电气工程专业博士研究生招生
+1/77
湖南科技大学资安学院管青军教授2026年招收审核制博士生
+1/68
江西理工大学稀土学院稀土发光材料研究所招收2026届材料科学与工程专业博士研究生2名
+2/68
昆士兰科技大学(QUT)博士招生信息 导师:李志勇教授
+1/44
中国矿业大学(徐州)蒋江民课题组招收2026年秋季新能源储能材料与器件方向博士生
+1/18
[请教]审稿意见回复
+1/10
中国环境科学研究院(北京)课题组招收1-2名联合培养硕士、博士
+1/8
上海大学李浩源课题组招收2026年秋季材料计算/机器学习方向博士生
+1/8
中国科学院大学-杨晗课题组-诚聘-博士后、副研究员
+1/6
重庆医科大学-药学院-新靶标教育部医药基础研究创新中心-药物化学2026年博士招生
+1/4
武汉双一流高校干细胞与肿瘤生物学团队招聘2026级申请考核制博士生
+1/3
都柏林大学(UCD)机械工程博士后招聘启事
+1/2












回复此楼