| 查看: 891 | 回复: 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人回复
335求调剂
已经有5人回复
求调剂
已经有7人回复
一志愿吉大化学322求调剂
已经有4人回复
环境学硕288求调剂
已经有8人回复
341求调剂(一志愿湖南大学070300)
已经有6人回复
一志愿北京化工大学 070300 学硕 336分 求调剂
已经有7人回复
299求调剂
已经有5人回复
306求0703调剂一志愿华中师范
已经有8人回复
一志愿河北工业大学0817化工278分求调剂
已经有11人回复
» 抢金币啦!回帖就可以得到:
祈福中标
+1/231
广东工业大学-木质纤维素高值化利用团队招博士研究生
+1/81
双一流南京医科大学招计算机、AI、统计、生物信息等方向26年9月入学博士
+1/79
【全额奖学金+英国博士学位】国科大杭高院Nathan课题组招收2026级联培博士生1名!
+1/49
招收荧光探针/有机合成/生物学 博士后--薪金: 30万-50万
+1/31
浙江大学光电学院极端光学技术与仪器国家重点实验室诚聘极紫外阿秒方向博士后
+1/26
双一流大学湘潭大学“化工过程模拟与强化”国家地方联合工程研究中心招收各类博士生
+1/20
湖南大学微生物结构与功能实验室2026年计划招收博士研究生
+1/17
丽水学院 材料与能源工程学院 陈江飞老师课题组硕士招生----材料与化工专业
+1/16
---大龄的未婚男找结婚女对象
+1/14
招收从事大气复合污染成因领域研究生
+1/14
西南某211招27届博士
+1/12
中国科学院上海硅酸盐研究所 介孔与低维纳米材料课题组招聘博士后
+1/7
【博士招生】上海交通大学陈倩栎课题组招收2026年申请-考核博士生1名(能源材料方向)
+1/7
南昌航空大学代威力教授招收光催化和光热催化研究方向博士生
+1/6
宁波东方理工大学余鹏课题组2026年上海交大联培博士生、博士后、科研助理招聘
+1/6
上海交通大学招聘:新型X射线管设计仿真计算工程师/博士后/助理研究员
+1/5
福建师范大学环境与资源学院招收2026级硕士生
+1/5
天津工业大学双一流高校招博士、硕士、博士后
+1/3
浙江大学高纯分离团队诚聘博士后
+1/1













回复此楼