24小时热门版块排行榜    

查看: 1190  |  回复: 9

ifgovh

金虫 (小有名气)

[求助] vasp运行报错 已有3人参与

各位大侠 我安装各种教程装了VASP,把四个输入文件放在一个文件夹内,再把vasp复制到这个文件夹中。
执行如下:
[wangch@fat01 vasp.5.2]$ mpirun -np 16 vasp
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
problem with execution of vasp  on  fat01:  [Errno 2] No such file or directory
总是出现这个报错,不知道到底什么原因?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

shuyuan8239

木虫 (正式写手)

【答案】应助回帖


感谢参与,应助指数 +1
liliangfang: 金币+1, 谢谢交流 2014-09-29 07:45:27
在论坛中询问类似的问题很多,各不相同。
还请将INCAR KPOINT POSCAR三个文件中的数据复制上来(不要上传文件),注意条理性,简介详实。
这样的话方便大家帮你解决问题。
2楼2014-09-25 08:45:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ifgovh

金虫 (小有名气)

引用回帖:
2楼: Originally posted by shuyuan8239 at 2014-09-25 08:45:48
在论坛中询问类似的问题很多,各不相同。
还请将INCAR KPOINT POSCAR三个文件中的数据复制上来(不要上传文件),注意条理性,简介详实。
这样的话方便大家帮你解决问题。

incar
system= Clean relaxation calculation
#Startparameter for this run
ISTART=0
ICHARG=2
ISPIN=2
PREC=Medium
ENCUT= 450
GGA= PE
ALGO=FAST

#Electronic relaxation
NELM=400; NELMIN=10;
NELMDL=8
WEIMIN=0
LREAL=AUTO
EDIFF=0.1E-3
ISMEAR=0; SIGMA=0.02

LMAXMIX=4

AMIX     = 0.2
BMIX     = 0.00001
AMIX_MAG = 0.8
BMIX_MAG = 0.00001

#Ionic relaxation
EDIFFG=-0.02
NSW=500
IBRION=2
ISIF=3
ISYM=0
POTIM=0.3

#Write flag
LWAVE=.F.
LCHARG=.F.


kpoint
con0.0
0
Gamma point shift
4 4 4
0 0 0

poscar
Si
1.0
        5.4306998253         0.0000000000         0.0000000000
        0.0000000000         5.4306998253         0.0000000000
        0.0000000000         0.0000000000         5.4306998253
   Si
    8
Cartesian
     0.000000000         0.000000000         0.000000000
     0.000000000         2.715349913         2.715349913
     2.715349913         2.715349913         0.000000000
     2.715349913         0.000000000         2.715349913
     4.073024869         1.357674956         4.073024869
     1.357674956         1.357674956         1.357674956
     1.357674956         4.073024869         4.073024869
     4.073024869         4.073024869         1.357674956


实际我只是想测试一下我的vasp是不是真正编译成功可用了 用了一个很简单的Si
3楼2014-09-25 12:02:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Jiansh

新虫 (小有名气)

【答案】应助回帖


感谢参与,应助指数 +1
liliangfang: 金币+1, 谢谢交流 2014-09-29 07:45:37
楼主很可能没编译成功....
这种情况,先试试which vasp,或者直接vasp命令一下,看看,先别并行....
一般来说输入文件有问题,不会出现这类错误
学术网(www.scholarnet.cn)秉承一切为学术工作者的理念,竭诚为广大科研工作者提供优质的服务。
4楼2014-09-25 12:23:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Jiansh

新虫 (小有名气)

【答案】应助回帖


liliangfang: 金币+1, 谢谢交流 2014-09-29 07:45:43
另外,你需要把vasp复制到bin中,这样直接当命令用,或者在~/.bashrc中添加途径

建议还是复制到bin中试试
学术网(www.scholarnet.cn)秉承一切为学术工作者的理念,竭诚为广大科研工作者提供优质的服务。
5楼2014-09-25 12:27:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ifgovh

金虫 (小有名气)

引用回帖:
4楼: Originally posted by Jiansh at 2014-09-25 12:23:53
楼主很可能没编译成功....
这种情况,先试试which vasp,或者直接vasp命令一下,看看,先别并行....
一般来说输入文件有问题,不会出现这类错误

输入which vasp
[wangch@fat01 vasp.5.2]$ which vasp
/usr/bin/which: no vasp in (/opt/intel/composer_xe_2011_sp1.10.319/bin/intel64:/usr/local/maui/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/bin:/opt/intel/composer_xe_2011_sp1.10.319/mpirt/bin/intel64:/home/wangch/bin)

这样算正常吗?
6楼2014-09-25 18:38:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ifgovh

金虫 (小有名气)

引用回帖:
5楼: Originally posted by Jiansh at 2014-09-25 12:27:05
另外,你需要把vasp复制到bin中,这样直接当命令用,或者在~/.bashrc中添加途径

建议还是复制到bin中试试

辅助到bin中
[wangch@fat01 vasp.5.2]$ sudo cp vasp /bin
再输入which vasp提示
[wangch@fat01 vasp.5.2]$ sudo cp vasp /bin
然后我又运行了一次提示这个
[wangch@fat01 vasp.5.2]$ cd /data/wangch/test/
[wangch@fat01 test]$ mpirun -np 16 vasp
mpiexec_fat01: cannot connect to local mpd (/tmp/mpd2.console_wangch); possible causes:
  1. no mpd is running on this host
  2. an mpd is running but was started without a "console" (-n option)
In case 1, you can start an mpd on this host with:
    mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see
the MPICH2 Installation Guide.
[wangch@fat01 test]$
7楼2014-09-25 18:42:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ifgovh

金虫 (小有名气)

引用回帖:
5楼: Originally posted by Jiansh at 2014-09-25 12:27:05
另外,你需要把vasp复制到bin中,这样直接当命令用,或者在~/.bashrc中添加途径

建议还是复制到bin中试试

之后我按照提示输入mpd &
再运行
[wangch@fat01 test]$ mpd &
[1] 175272
[wangch@fat01 test]$ mpirun -np 16 vasp
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
vasp: error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
说缺少这个库文件 非常纳闷 当时编译通过还能找不到这个库文件吗?
8楼2014-09-25 18:49:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ifgovh

金虫 (小有名气)

自己顶一下
9楼2014-09-26 11:32:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

【答案】应助回帖


liliangfang: 金币+1, 谢谢交流 2014-09-29 07:45:53
1. 楼主需要把MPI的bin目录加入环境,如果是OpenMPI,还要把lib目录加入环境
2. 对于复制VASP与POSCAR,POTCAR,INCAR及KPOINTS一个目录下运行,需要的命令应该是:
CODE:
mpirun -n 16 ./vasp

思想重于技巧,内涵重于表象
10楼2014-09-28 22:31:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 ifgovh 的主题更新
信息提示
请填处理意见