24小时热门版块排行榜    

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

信任开花

铁杆木虫 (知名作家)

[交流] 【求助成功】请教一下vasp4.6编译lib得到libdmy.a出现如下信息对不? 已有3人参与

intel ifc +mkl+mpich2

这个能说明前面数据库安装正确不能?

[root@lj vasp.4.lib]# make
rm libdmy.a
rm: cannot remove `libdmy.a': No such file or directory
make: [libdmy.a] Error 1 (ignored)
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

[ Last edited by 信任开花 on 2010-7-27 at 11:03 ]
回复此楼
从不温柔,从不体贴,从不讲理
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

信任开花

铁杆木虫 (知名作家)

引用回帖:
Originally posted by zzy870720z at 2010-07-27 09:38:25:
那你删除这个文件夹
重新加压缩再编译一下吧

问题依旧

版主看看可是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
从不温柔,从不体贴,从不讲理
6楼2010-07-27 10:04:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 11 个回答

zzy870720z

荣誉版主 (文坛精英)

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


aylayl08(金币+1):谢谢指教 2010-07-27 09:34:16
信任开花(金币+3):谢谢热心帮助 2010-07-27 09:37:43
是不是有这个文件了
先make clean一下
然后make
博学、审问、慎思、明辨、笃学
2楼2010-07-27 09:31:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

信任开花

铁杆木虫 (知名作家)

引用回帖:
Originally posted by zzy870720z at 2010-07-27 09:31:50:
是不是有这个文件了
先make clean一下
然后make

[root@lj vasp.4.lib]# make clean
make: *** No rule to make target `clean'.  Stop.

make clean结果这样是否有没有错误?
从不温柔,从不体贴,从不讲理
3楼2010-07-27 09:36:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zzy870720z

荣誉版主 (文坛精英)

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


aylayl08(金币+1):继续奖励 2010-07-27 09:43:18
那你删除这个文件夹
重新加压缩再编译一下吧
博学、审问、慎思、明辨、笃学
4楼2010-07-27 09:38:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见