24小时热门版块排行榜    

查看: 16686  |  回复: 314

jgq880125

木虫 (正式写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
请问楼主这个问题怎么解决

   /opt/intel/Compiler/11.1/072/bin/intel64/ifort -FR -lowercase -assume byterecl  -FR -O0   
-c main.f90
main.f90(177): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [AEDENS]
      
USE aedens


----------^
compilation aborted for main.f90 (code 1)

make: *** [main.o] 错误 1
51楼2010-08-02 18:00:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

匿名

用户注销 (正式写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
本帖仅楼主可见
52楼2010-08-05 10:57:40
已阅   申请1ST强帖   回复此楼   编辑   查看我的主页

贺仪

铁杆木虫 (著名写手)

vasp安装的问题


小木虫(金币+0.5):给个红包,谢谢回帖交流
你好!我在装vasp最开始总是提示 说ifc 不存在,改了ifort后又提示ifort找不到,我把Makefile中的文件改了,发现是Makefile里的路径错了,可是改过来后再make,又提醒运行af905出错:execvp找不到,这是怎么回事呀?改怎样改呢?
嘟啦啦嘟啦啦嘟
53楼2010-08-11 18:21:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主


小木虫(金币+0.5):给个红包,谢谢回帖交流
引用回帖:
Originally posted by 贺仪 at 2010-08-11 18:21:24:
你好!我在装vasp最开始总是提示 说ifc 不存在,改了ifort后又提示ifort找不到,我把Makefile中的文件改了,发现是Makefile里的路径错了,可是改过来后再make,又提醒运行af905出错:execvp找不到,这是怎么回事呀 ...

最好把出错的详细信息给出,不然大家也不知道你什么地方应该改正
博学、审问、慎思、明辨、笃学
54楼2010-08-11 19:29:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

贺仪

铁杆木虫 (著名写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
前面的就不列出来
heyi@heyi-laptop:~/vasp/vasp.5.lib$ make
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI -FR  -c dlexlib.f
: remark #5133: The input stream is empty

/usr/bin/gcc -E -P -C drdatab.F >drdatab.f
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI -FR  -c drdatab.f
drdatab.f(7): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [PRECLIB]
      USE preclib
----------^
drdatab.f(8): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      IMPLICIT REAL(q) (A-H,O-Z)
--------------------^
drdatab.f(89): error #6683: A kind type parameter must be a compile-time constant.   [Q]
      REAL(q)            FLTRES(*)
-----------^
drdatab.f(90): 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] 错误 1
heyi@heyi-laptop:~/vasp/vasp.5.lib$
什么问题呢?麻烦前辈们赐教!

[ Last edited by 贺仪 on 2010-8-12 at 09:16 ]
嘟啦啦嘟啦啦嘟
55楼2010-08-12 09:10:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主


小木虫(金币+0.5):给个红包,谢谢回帖交流
引用回帖:
Originally posted by 贺仪 at 2010-08-12 09:10:17:
前面的就不列出来
heyi@heyi-laptop:~/vasp/vasp.5.lib$ make
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI -FR  -c dlexlib.f
: remark #5133: The input stream is empty

/usr/bin/gcc -E -P -C ...

说一下你是怎么改的,或是贴一下你的Makefile
一般来说lib的编译只要指定编译器应该没什么问题的
博学、审问、慎思、明辨、笃学
56楼2010-08-12 09:21:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

贺仪

铁杆木虫 (著名写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
这是我的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     = /usr/bin/gcc -E -P -C $*.F >$*.f
FC= /opt/intel/Compiler/11.1/072/bin/ia32/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
发现什么了吗?我的系统是ubuntu10。04 的,openmpi 和 ifc,mkl,gfortran,gcc ,g++都是最新的
嘟啦啦嘟啦啦嘟
57楼2010-08-12 09:35:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主

★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
aylayl08(金币+1):thank you 2010-09-04 09:33:50
引用回帖:
Originally posted by 贺仪 at 2010-08-12 09:35:33:
这是我的makefile文件的全部内容
.SUFFIXES: .inc .f .F
#-----------------------------------------------------------------------
# Makefile for Portland Group F90/HPF compiler
# the makefile was t ...

应该没甚问题
你备份一个makefile
把这个文件夹删除,重新解压再来一遍试试
博学、审问、慎思、明辨、笃学
58楼2010-08-12 09:39:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

贺仪

铁杆木虫 (著名写手)


小木虫(金币+0.5):给个红包,谢谢回帖交流
呵呵 是好点了 但是编译了一会儿问题又来了内容如下
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI -FR  -c drdatab.f
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI  -c lapack_double.f
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI  -c linpack_double.f
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI  -c lapack_atlas.f
rm libdmy.a
rm: 无法删除"libdmy.a": 没有那个文件或目录
make: [libdmy.a] 错误 1 (忽略)
ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o  diolib.o dlexlib.o drdatab.o
ar: creating libdmy.a
a - preclib.o
a - timing_.o
a - derrf_.o
a - dclock_.o
a - diolib.o
a - dlexlib.o
a - drdatab.o
heyi@heyi-laptop:~/vasp/vasp.5.lib$
呵呵 太感谢您咯!
嘟啦啦嘟啦啦嘟
59楼2010-08-12 09:44:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

优秀版主优秀版主优秀版主优秀版主


小木虫(金币+0.5):给个红包,谢谢回帖交流
引用回帖:
Originally posted by 贺仪 at 2010-08-12 09:44:33:
呵呵 是好点了 但是编译了一会儿问题又来了内容如下
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI -FR  -c drdatab.f
/opt/intel/Compiler/11.1/072/bin/ia32/ifort -O0 -FI  -c lapack_double.f
/op ...

没有问题
编译通过了
博学、审问、慎思、明辨、笃学
60楼2010-08-12 09:46:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 gavinliu7390 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 YLHlRHNwYkce 2026-09-02 6/300 2026-09-03 15:23 by T0rGB46095mJ
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 YLHlRHNwYkce 2026-09-02 9/450 2026-09-03 15:21 by T0rGB46095mJ
[硕博家园] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 rFEsUBKXRll0 2026-09-02 5/250 2026-09-03 15:10 by T0rGB46095mJ
[教师之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 8/400 2026-09-03 14:48 by T0rGB46095mJ
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 ero8OE6tv9cu 2026-09-02 9/450 2026-09-03 14:48 by T0rGB46095mJ
[基金申请] 国社科又开始会评了,不知道这次命运如何 +10 雨打竹帘 2026-08-30 14/700 2026-09-03 13:17 by qsd10086
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +8 gdd2018 2026-08-28 13/650 2026-09-03 06:22 by 羽毛枫f
[基金申请] 科研人应该花精力去思考如何解决问题,而不是去凝练问题 +7 瞬息宇宙 2026-09-01 14/700 2026-09-02 17:33 by ma0526
[基金申请] 要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够 +9 瞬息宇宙 2026-08-31 17/850 2026-09-02 14:04 by anjeeshine
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 10/500 2026-09-02 11:35 by 大不刘6
[基金申请] 学科评审组评审是指会评吗? +5 瞬息宇宙 2026-08-31 5/250 2026-09-02 10:13 by 雨冰共舞
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[论文投稿] 小白求助 投论文要求的highlights应该如何写 5+3 l1963982152 2026-08-29 4/200 2026-09-01 09:04 by 北京莱茵编辑
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 能否申诉? +7 echo8914667 2026-08-30 8/400 2026-08-31 17:00 by yihongxu
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 29号明天会评吗 +4 笨笨唐 2026-08-28 4/200 2026-08-31 09:30 by huixian257
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[基金申请] 我就是申请一个面上项目而已,这评审意见是按照杰青的条件评的吧? +6 gouxfjh 2026-08-28 11/550 2026-08-30 07:57 by gouxfjh
[基金申请] 国自然评审意见 +13 wangmingqi 2026-08-28 19/950 2026-08-29 10:22 by Poppy1104
信息提示
请填处理意见