24小时热门版块排行榜    

CyRhmU.jpeg
查看: 208  |  回复: 1
当前主题已经存档。

marklau

银虫 (小有名气)

[交流] 【求助】VASP install problem已有1人参与

i have not installed  simple Chinese input method, sorry for my poor english!

when i compiler the "vasp.4.lib", this error occur :
CODE:
gcc -E -P -C preclib.F >preclib.f  
gcc: error trying to exec 'f951': execvp: No such file or directory
make: *** [preclib.o] Error 1

what should i do? please help me .


My computer :

AMD two core 4200+

intel fortran compiler 11.1.038

Gotoblas

the "makefile"
CODE:
.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

[ Last edited by marklau on 2010-4-6 at 10:50 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lono75

铁杆木虫 (著名写手)

★ ★ ★ ★
gavinliu7390(金币+2):xiexie! 2010-04-06 12:48
marklau(金币+2):3Q, i download the .deb ball,and install it ,but it does not work. 2010-04-06 15:32
hometownlove(金币+2):谢谢交流 2010-04-06 15:53
marklau(金币+3): 2010-04-06 19:32
it may help you to install gcc4.4

http://www.skycn.com/soft/54297.html

Gcc is a 'compiler collection'
Are you true that gcc is installed? The path is true?
[usr@localhost~]which gcc
......
[usr@localhost~]gcc -v
......
The version of gcc can't be too low

[ Last edited by lono75 on 2010-4-6 at 17:14 ]
由天命,成人事!
2楼2010-04-06 11:42:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 marklau 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见