24小时热门版块排行榜    

查看: 15310  |  回复: 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 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见