24小时热门版块排行榜    

查看: 15838  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 293求调剂 +6 zjl的号 2026-03-16 11/550 2026-03-17 14:27 by houyaoxu
[考研] 268求调剂 +7 一定有学上- 2026-03-14 8/400 2026-03-17 13:10 by zz820
[考研] 211本,11408一志愿中科院277分,曾在中科院自动化所实习 +6 Losir 2026-03-12 7/350 2026-03-17 12:09 by danranxie
[考研] 材料与化工304求B区调剂 +7 邱gl 2026-03-11 8/400 2026-03-17 09:36 by 努力学习赚彩礼
[论文投稿] 有没有大佬发小论文能带我个二作 +3 增锐漏人 2026-03-17 4/200 2026-03-17 09:26 by xs74101122
[考研] 278求调剂 +3 Yy7400 2026-03-13 3/150 2026-03-17 08:24 by laoshidan
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] [导师推荐]西南科技大学国防/材料导师推荐 +3 尖角小荷 2026-03-16 6/300 2026-03-16 23:21 by 尖角小荷
[考研] 285求调剂 +6 ytter 2026-03-12 6/300 2026-03-16 15:05 by njzyff
[考研] 326求调剂 +4 上岸的小葡 2026-03-15 5/250 2026-03-16 08:39 by Linda Hu
[考研] 22408总分284求调剂 +3 InAspic 2026-03-13 3/150 2026-03-15 11:10 by zhq0425
[基金申请] 现在如何回避去年的某一个专家,不知道名字 +3 zk200107 2026-03-12 6/300 2026-03-14 17:13 by zk200107
[考研] 331求调剂(0703有机化学 +5 ZY-05 2026-03-13 6/300 2026-03-14 10:51 by Jy?
[考研] 学硕285求调剂 +13 Wisjxn 2026-03-12 46/2300 2026-03-14 10:33 by JourneyLucky
[考研] 266求调剂 +4 学员97LZgn 2026-03-13 4/200 2026-03-14 08:37 by zhukairuo
[考研] 332求调剂 +3 zjy101327 2026-03-11 6/300 2026-03-13 22:48 by JourneyLucky
[考研] 一志愿中科院,化学方向,295求调剂 +4 一氧二氮 2026-03-11 4/200 2026-03-13 22:35 by JourneyLucky
[考研] 求调剂(材料与化工327) +4 爱吃香菜啦 2026-03-11 4/200 2026-03-13 22:11 by JourneyLucky
[考研] 274求调剂 +3 S.H1 2026-03-12 3/150 2026-03-13 15:15 by JourneyLucky
[考研] 290求调剂 +3 柯淮然 2026-03-10 8/400 2026-03-11 13:48 by 柯淮然
信息提示
请填处理意见