24小时热门版块排行榜    

查看: 1950  |  回复: 23
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

心宁

金虫 (正式写手)

[求助] Vasp 5.2 lib编辑错误 求达人指点 谢谢 已有3人参与

/opt/intel/Compiler/11.1/073/bin/intel64/ifort -I/opt/intel/mkl/10.2.6.038/include/fftw -FR -lowercase -assume byterecl -O3 -align -xT -FRDOBJ  -c drdatab.f
ifort: command line warning #10156: ignoring option '-F'; no argument required
drdatab.f(5): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
drdatab.f(6): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
drdatab.f(82): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      REAL(q)            FLTRES(*)
-----------^
drdatab.f(83): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      COMPLEX(q)         CMPRES(*)
--------------^
compilation aborted for drdatab.f (code 1)
make: *** [drdatab.o] Error 1
---------------------------------------------makefile 如下-------------按照网上说的做了好久 其他都都编辑安装过了 到vasp卡住了------------------------------------------------------------------------------
.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     = icc -E -P -C $*.F >$*.f
FC=ifort

#CFLAGS = -O
#FFLAGS = -O0 -FI


CPP = /opt/intel/Compiler/11.1/073/bin/icc -E -P -C $*.F >$*.f
#CC= /opt/intel/cce/10.1.018/bin/icc
CC= /opt/intel/Compiler/11.1/073/bin/intel64/icc
#FC= /opt/intel/Compiler/11.0/074/bin/intel64/ifort
FC= /opt/intel/Compiler/11.1/073/bin/intel64/ifort
CFLAGS = -O
OFLAGS = -O3 -align -xT
FFLAGS =  -I/opt/intel/mkl/10.2.6.038/include/fftw -FR -lowercase -assume byterecl $(OFLAGS)

#FREE   =  -FR
FREE   =  -FRDOBJ

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
回复此楼

» 本帖已获得的红花(最新10朵)

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

志存高远须积厚流广-坚持不懈定斗转星移!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

chuanghua304

禁虫 (职业作家)

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
liliangfang: 金币+1, 谢谢交流 2014-08-11 07:54:51
心宁: 金币+10, ★★★很有帮助, 我感觉没有什么错误了啊 跟4.6一样编译的 结果就是不行 哎 2014-08-11 21:49:23
本帖内容被屏蔽

3楼2014-08-10 16:39:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 24 个回答

chuanghua304

禁虫 (职业作家)


感谢参与,应助指数 +1
liliangfang: 金币+1, 谢谢交流 2014-08-11 07:54:42
本帖内容被屏蔽

2楼2014-08-10 16:33:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

心宁

金虫 (正式写手)

送红花一朵
好的 我慢慢试试吧 谢谢您
志存高远须积厚流广-坚持不懈定斗转星移!
4楼2014-08-10 20:30:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

心宁

金虫 (正式写手)

source /opt/intel/composer_xe_2011_sp1.11.339/mkl/bin/mklvars.sh intel64
source /opt/intel/composer_xe_2011_sp1.11.339/bin/ifortvars.sh intel64
source /opt/intel/composer_xe_2011_sp1.11.339/bin/iccvars.sh intel64

这三个是写在.bashrc里面

最后一个是干啥的呢 没有看懂 是在root目录下终端输入么? 谢谢哈
export LD_LIBRARY_PATH=/opt/intel/composer_xe_2011_sp1.11.339/compiler/lib/intel64:$LD_LIBRARY_PATH
志存高远须积厚流广-坚持不懈定斗转星移!
5楼2014-08-10 20:40:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 081700 调剂 267分 +5 迷人的哈哈 2026-03-23 5/250 2026-03-23 14:59 by lbsjt
[考研] 306求调剂 +9 chuanzhu川烛 2026-03-18 9/450 2026-03-23 13:17 by luoyongfeng
[考研] 263求调剂 +6 yqdszhdap- 2026-03-22 9/450 2026-03-23 12:57 by yqdszhdap-
[考研] 276求调剂 +3 YNRYG 2026-03-21 4/200 2026-03-23 08:31 by 醉在风里
[考研] 一志愿070300浙大化学358分,求调剂! +4 酥酥鱼.. 2026-03-21 4/200 2026-03-23 08:12 by Iveryant
[考研] 307求调剂 +11 冷笙123 2026-03-17 11/550 2026-03-22 20:16 by edmund7
[考研] 08工科 320总分 求调剂 +11 梨花珞晚风 2026-03-17 11/550 2026-03-22 17:42 by luoyongfeng
[考研] 306求调剂 +5 来好运来来来 2026-03-22 5/250 2026-03-22 16:17 by BruceLiu320
[考研] 寻找调剂 +4 倔强芒? 2026-03-21 4/200 2026-03-22 16:14 by 木托莫露露
[考研] 求调剂 +7 Auroracx 2026-03-22 7/350 2026-03-22 12:38 by 素颜倾城1988
[考研] 085601调剂 358分 +3 zzzzggh 2026-03-20 4/200 2026-03-21 10:21 by luoyongfeng
[考研] 299求调剂 +6 △小透明* 2026-03-17 6/300 2026-03-21 02:42 by JourneyLucky
[考研] 085700资源与环境308求调剂 +12 墨墨漠 2026-03-18 13/650 2026-03-21 01:42 by JourneyLucky
[考研] 304求调剂 +7 司空. 2026-03-18 7/350 2026-03-20 23:08 by JourneyLucky
[考研] 一志愿中国海洋大学,生物学,301分,求调剂 +5 1孙悟空 2026-03-17 6/300 2026-03-19 23:46 by zcl123
[考研] 288求调剂,一志愿华南理工大学071005 +5 ioodiiij 2026-03-17 5/250 2026-03-19 18:22 by zcl123
[考研] 085600材料与化工求调剂 +6 绪幸与子 2026-03-17 6/300 2026-03-19 13:27 by houyaoxu
[考研] 本科郑州大学物理学院,一志愿华科070200学硕,346求调剂 +4 我不是一根葱 2026-03-18 4/200 2026-03-19 09:11 by 浮云166
[考研] 收复试调剂生 +4 雨后秋荷 2026-03-18 4/200 2026-03-18 14:16 by elevennnne
[考研] 333求调剂 +3 文思客 2026-03-16 7/350 2026-03-16 18:21 by 文思客
信息提示
请填处理意见