24小时热门版块排行榜    

CyRhmU.jpeg
查看: 910  |  回复: 8
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

benben123

金虫 (小有名气)

[交流] 【求助】安装VASP时遇到的问题

各位虫友大家好,我在安装vasp时,遇见了下列问题,期望得到大家的指点。
一、        我首先安装了PGI,是15天的试用版的。
tar zxvf pgilinux86-64-625.tar.gz之后执行./install,顺利将PGI装好了,之后我修改了主目录下的.bashrc文件,键入了如下几行:
export PGI=/opt/pgi
export PATH=$PGI/linux86/6.2/bin:$PATH
export MANPATH=$MANPATH:$PGI/linux86/man
export LM_LICENSE_FILE=$PGI/license.dat
之后执行source ~/.bashrc使之生效。

二、        之后我安装了MPI
tar zxvf mpich-1.2.7.tar.gz之后,我执行了./configure --prefix=/dawning/software/mpich-1.2.7-pgi64/ -cc=pgcc –fc=pgf77 –f90=pgf90 –c++=pgCC –cflags=”-fast” -fflags=”-fast” –f90flags=”-fast”
然后make,make install。
vi .bashrc修改如下:
#export  MPIDIR=/dawning/software/mpich-1.2.7-gcc/
export MPIDIR=/dawning/home/test/bin/
#export MPIDIR=/dawning/software/mpich-1.2.7-pgi64/
export PATH=$MPIDIR/bin:$PATH
export MANPATH=$MPIDIR/man:$MANPATH
export LD_LIBRARY_PATH=$MPIDIR/lib:$ LD_LIBRARY_PATH
再执行source ~/.bashrc
三、        安装vasp
1、        在vasp.4.lib下,cp makefile.linux_pgi_opt makefile,然后make。
2、在vasp.4.6下,cp makefile.linux_pgi_opt makefile,然后make,执行了一段时间后报错:
PGF90-S-0017-Unable to open include file: fftw3.f (fftw3d.f90: 429)
  0 inform,   0 warnings,   1 severes, 0 fatal for fftbas
PGF90-S-0017-Unable to open include file: fftw3.f (fftw3d.f90: 458)
  0 inform,   0 warnings,   1 severes, 0 fatal for fftmakeplan
make: *** [fftw3d.o] Error 2

我修改了makefile,将FFT3D   = fft3dfurth.o fft3dlib.o
FFT3D   = fftw3d.o fft3dlib.o   ../fftw/lib/libfftw3.a这两行注销。将FFT3D   = fftmpi.o fftmpi_map.o fft3dlib.o取消注销,再执行make,报错:
PGF90-S-0142-node_me is not a member of this RECORD (fftmpi_map.f90: 77)
PGF90-S-0142-ionode is not a member of this RECORD (fftmpi_map.f90: 78)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 97)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 119)
PGF90-S-0142-mpi_comm is not a member of this RECORD (fftmpi_map.f90: 142)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 229)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 245)
  0 inform,   0 warnings,   7 severes, 0 fatal for mapset
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 327)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 335)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 339)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 344)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 352)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 356)
  0 inform,   0 warnings,   6 severes, 0 fatal for map_forward
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 383)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 390)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 394)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 404)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 411)
  0 inform,   0 warnings,   5 severes, 0 fatal for map_backward
make: *** [fftmpi_map.o] Error 2

有人能告诉我是怎么回事吗?谢谢了!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cambdream

木虫 (小有名气)


benben123(金币+1,VIP+0):谢谢回复 6-25 17:01
没必要用fftw,可以用ifort 9试试。
6楼2009-06-25 16:28:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

veryman

木虫 (正式写手)

$_$

★ ★ ★
benben123(金币+1,VIP+0):谢谢回复 6-25 11:53
wuchenwf(金币+2,VIP+0):谢谢回帖交流 8-12 22:08
你需要把 fftw3.f拷到编译目录下,或者加上 fftw3.f的路径
2楼2009-06-25 10:06:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

benben123

金虫 (小有名气)

谢谢!
我下载了fftw.3.0.1.tar.gz
解压后执行./configure --prefix=/dawning/software/fftw-3.2.1及make还有make install
然后我将include目录下的fftw3d.f文件拷入vasp.4.6目录下。
再执行make,报错:PGF90-S-0142-node_me is not a member of this RECORD (fftmpi_map.f90: 77)
PGF90-S-0142-ionode is not a member of this RECORD (fftmpi_map.f90: 78)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 97)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 119)
PGF90-S-0142-mpi_comm is not a member of this RECORD (fftmpi_map.f90: 142)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 229)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 245)
  0 inform,   0 warnings,   7 severes, 0 fatal for mapset
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 327)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 335)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 339)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 344)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 352)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 356)
  0 inform,   0 warnings,   6 severes, 0 fatal for map_forward
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 383)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 390)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 394)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 404)
PGF90-S-0142-ncpu is not a member of this RECORD (fftmpi_map.f90: 411)
  0 inform,   0 warnings,   5 severes, 0 fatal for map_backward
make: *** [fftmpi_map.o] Error 2
3楼2009-06-25 11:53:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

veryman

木虫 (正式写手)

$_$


benben123(金币+1,VIP+0):谢谢回答! 6-25 16:09
在FFT3D   = fftmpi.o fftmpi_map.o fft3dlib.o后面加上你编译的fftw-3.2.1里面的libfftw3.a的路径
4楼2009-06-25 15:55:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见