24小时热门版块排行榜    

查看: 549  |  回复: 4
当前主题已经存档。

junyjin

银虫 (小有名气)

[交流] 【求助】vasp编译出错,郁闷。

我在编译vasp4.6时出现了一下错误,不知是哪里出了问题,请大家帮忙看看,不甚感激。
文件如下:
fort: command line remark #10148: option '-tp' not supported
fortcom: Error: fftw3d.f90, line 403: Cannot open include file 'fftw3.f'
       include 'fftw3.f'
---------------^
fortcom: Error: fftw3d.f90, line 412: This name does not have a type, and must have an explicit type.   [FFTW_FORWARD]
                           FFTW_FORWARD, FFTW_ESTIMATE)
---------------------------^
fortcom: Error: fftw3d.f90, line 412: This name does not have a type, and must have an explicit type.   [FFTW_ESTIMATE]
                           FFTW_FORWARD, FFTW_ESTIMATE)
-----------------------------------------^
fortcom: Error: fftw3d.f90, line 416: This name does not have a type, and must have an explicit type.   [FFTW_BACKWARD]
                           FFTW_BACKWARD, FFTW_ESTIMATE)
---------------------------^
fortcom: Error: fftw3d.f90, line 432: Cannot open include file 'fftw3.f'
       include 'fftw3.f'
---------------^
fortcom: Error: fftw3d.f90, line 439: This name does not have a type, and must have an explicit type.   [FFTW_FORWARD]
                           FFTW_FORWARD, FFTW_EXHAUSTIVE)
---------------------------^
fortcom: Error: fftw3d.f90, line 439: This name does not have a type, and must have an explicit type.   [FFTW_EXHAUSTIVE]
                           FFTW_FORWARD, FFTW_EXHAUSTIVE)
-----------------------------------------^
fortcom: Error: fftw3d.f90, line 443: This name does not have a type, and must have an explicit type.   [FFTW_BACKWARD]
                           FFTW_BACKWARD, FFTW_EXHAUSTIVE)
---------------------------^
fftw3d.f90(294): (col. 16) remark: LOOP WAS VECTORIZED.
fftw3d.f90(309): (col. 16) remark: REVERSED LOOP WAS VECTORIZED.
compilation aborted for fftw3d.f90 (code 1)
make: *** [fftw3d.o] 错误 1
我安装了fftw3.1.2,可是找不到fftw3.f的文件在哪里。

[ Last edited by wuli8 on 2009-6-21 at 22:29 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cuihang

铁杆木虫 (正式写手)

VASPer

编辑数学库的时候用到的吗?
聪明人知道自己是傻子,傻子以为自己是聪明人
2楼2008-07-18 20:02:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jghe

金虫 (著名写手)

★ ★
suntao1982(金币+2,VIP+0):xiexie
把Makefile 后面的-tp 选项去掉
你可能没装fftw3.f,下个装一下,把fftw3.f拷贝到vasp.4.6目录下在编译(网上搜搜,这方面的很多)
3楼2008-07-18 21:10:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bshliu

铁虫 (小有名气)

★ ★
lei0736(金币+2,VIP+0):谢谢
fft3dlib.o : fft3dlib.F
        $(CPP)
        $(FC) $(FFLAGS) -O1 $(INCS) -c $*$(SUFFIX)
在makefile的后面加上
$前面为Tab
就可以了
4楼2008-08-15 16:34:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yangprc

木虫 (小有名气)


lei0736(金币+1,VIP+0):谢谢
把fftw安装目录下的。f文件复制到vasp的目录可以吧
5楼2008-08-17 13:08:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 junyjin 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见