| 查看: 913 | 回复: 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 求高手 |
» 猜你喜欢
教学课件你会给同学吗
已经有6人回复
求助2,4-二氯-5-嘧啶甲醛的合成方法
已经有5人回复
本人最近太闲了,谁有问题可以提,每天会统一回复
已经有19人回复
申博自荐
已经有6人回复
这年头没有找到涵评专家,还有中面上的可能吗
已经有8人回复
材料类只有一篇综述能申博么
已经有4人回复
风把牡丹吹跑了
已经有3人回复
请问大佬b0816评完了吗
已经有7人回复
评审感受-评审感受-评审感受
已经有16人回复
青C资助名额大幅增加!
已经有12人回复
» 抢金币啦!回帖就可以得到:
找结婚对象
+1/421
😭救救孩子的毕业论文吧💰有偿招募访谈对象丨延期学术型博士生
+1/291
郑州大学/南京大学急招2名2026级博士生
+1/179
海南大学生物医学工程学院 阿尔茨海默病早期诊断与检测团队 招2026申请考核制博士
+1/54
上海大学 “生物有机电子材料及器件”团队副教授、博士后招聘
+1/32
双一流高校-南京林业大学-化学工程学院-国家海外优青团队招青年师资(正式事业编制)
+1/24
本科XJTU硕士UCL目前就职双非一本,希望base西安的社会学or教育学博导收留
+1/15
211高校2026年入学博士名额
+1/7
杨亚研究员课题组(广西大学-纳米能源研究中心)招收2026年物理学专业学术型博士
+1/7
安徽农业大学材料与化学学院纤维再生与功能集成课题组博士后招聘
+1/5
西北农林科技大学朱杰教授团队招收 生物物理学专业2026级博士生1-2名(5.15报名截止)
+1/5
天津大学张小岩教授团队招收教授/副教授/副研究员岗位(有编制和名额)
+1/5
同济大学环境学院 肖倩特聘研究员课题组 招聘2027级硕士/博士
+1/5
海南大学黄玲/徐从军团队2026年博士研究生
+1/4
广东工业大学聚合物与胶体国家优青团队青年教师招聘启事(高分子合成及自组装方向)
+1/4
双一流高校-南京林业大学-化学工程学院-国家海外优青团队招青年师资(正式事业编制)
+1/4
求助标准《牙科学 氟化物防龋材料》YY/T 0823-2020标准
+1/3
试遍所有AI写作工具,最终锁定这个组合 Prose + DeepSeek V4 Pro
+1/2
博士后招聘启事|流行病学与AI大健康方向
+1/1
【急招】上海交通大学孟东课题组招收2026年申请-考核制博士-钙钛矿及有机热电器件方向
+1/1












回复此楼
精华III: