计算化学公社
标题:
vtst版vasp编译问题-cannot open include file 'fftw3.f'
[打印本页]
作者Author:
hrht
时间:
2023-12-3 14:10
标题:
vtst版vasp编译问题-cannot open include file 'fftw3.f'
大家好,我在编译vtst版vasp时总是出现这个错误,我时参考官网教程
Installation — Transition State Tools for VASP (utexas.edu)
和中科大李会民老师的教程
VASP 5.4.1+VTST编译安装 (ustc.edu.cn)
编译的,不知道是哪里出了问题,我找不到fftw3.f这个文件,我是需要另外编译fftw再来编vasp吗?
mpiifort -free -names lowercase -assume byterecl -w -O1 /root/local/interfaces/fftw3xf/libfftw3xf_intel.a -c fftmpiw.f90
fftmpiw.F(32): error #5102: Cannot open include file 'fftw3.f'
include 'fftw3.f'
--------------^
fftmpiw.F(77): error #5102: Cannot open include file 'fftw3.f'
include 'fftw3.f'
--------------^
fftmpiw.F(96): error #5102: Cannot open include file 'fftw3.f'
include 'fftw3.f'
--------------^
fftmpiw.F(254): error #5102: Cannot open include file 'fftw3.f'
include 'fftw3.f'
--------------^
compilation aborted for fftmpiw.f90 (code 1)
make[2]: *** [makefile:173: fftmpiw.o] Error 1
make[2]: Leaving directory '/root/Download/vasp.5.4.4/build/std'
cp: cannot stat 'vasp': No such file or directory
make[1]: *** [makefile:142: all] Error 1
make[1]: Leaving directory '/root/Download/vasp.5.4.4/build/std'
make: *** [makefile:10: std] Error 2
作者Author:
Stalle
时间:
2024-2-16 19:02
我也遇到了同样的问题,请问解决了吗
作者Author:
clxqyt
时间:
2024-8-20 23:48
本帖最后由 clxqyt 于 2024-8-20 23:49 编辑
你好,我正好遇到了,是个比较愚蠢的小错误,makefile.include中MKLROOT位置的指定问题,请查看你是否指定了MKLROOT,因为FFTW相关的库都在MKL里,
MKLROOT
?=
/fs0/home/xxxxx/intel/oneapi/mkl/2024.1 这里我是=,不是?=,取你自己的MKL地址哈
LLIBS += -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64
INCS =-I$(MKLROOT)/include/fftw
欢迎光临 计算化学公社 (http://bbs.keinsci.com/)
Powered by Discuz! X3.3