| 查看: 937 | 回复: 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 求高手 |
» 猜你喜欢
售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急
已经有12人回复
售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急
已经有12人回复
售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急
已经有9人回复
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有12人回复
售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急
已经有7人回复
售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急
已经有9人回复
面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇!
已经有22人回复
售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急
已经有9人回复
售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急
已经有6人回复
2026年国自然面上资助率
已经有19人回复
» 抢金币啦!回帖就可以得到:
2027年博士生(硕博连读/直博)吉林大学-苏州国家实验室光电半导体智能设计与应用团队
+1/476
坐标广州,征女友
+2/142
具有超高耐腐蚀性的铝合金阳极氧化后处理工艺
+1/82
药化高级研究员
+1/81
山东第一医科大学医工交叉团队2025年招收纳米医学、药物化学等领域副教授、博士后
+1/73
Postdoctoral fellow in Medicinal Chemistry, McGill University
+1/71
Postdoctoral fellow in Medicinal Chemistry, McGill University
+1/71
中科院东莞材料所依托中科大招收2027届推免生
+1/37
中国特种设备检测研究院招聘1名高温涂层方向博士后
+2/30
大连理工大学化学学院界面介导黏附与组装课题组招收推免生
+1/27
西湖大学物理学、光学、电子信息方向博士生招生(长期有效)
+5/25
西湖大学拓扑光学、非厄米光学、太赫兹方向博士后招聘(长期有效)
+5/20
北京师范大学(珠海校区)赵亚然副教授招收2027年电催化推免硕士/博士研究生
+1/8
新西兰坎特伯雷大学招博士后
+1/6
浙江大学医学院附属妇产科医院张霈婧课题组招科研助理——生物信息方向
+2/4
(Scopus期刊)Biofunctional Materials《生物功能性材料》招募青年编委及征稿
+1/4
宁波诺丁汉大学新能源与环境材料技术研究中心招收2027年春季入学博士生
+1/3
国际 EI 会议征稿进行时
+1/2
这些Scopus收录的英文国际期刊正在征稿(快速审稿)2026年底前免APC!
+1/2
浙江大学王宇课题组诚聘博士后/博士研究生/科研助理(招聘长期有效)
+1/1










回复此楼