24小时热门版块排行榜    

查看: 1496  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 奇怪,两个人的filecode固定段从头到尾一模一样 +7 布布和一二 2026-08-10 9/450 2026-08-11 22:12 by 医学老男孩
[基金申请] 小木虫上这么多卖论文的,真有人买论文么?感觉没必要啊 +8 Tide man 2026-08-10 9/450 2026-08-11 20:39 by beefly
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
[基金申请] 分享一下我之前已中青C的计划书的filecode +3 布布和一二 2026-08-11 4/200 2026-08-11 15:20 by aasahr
[基金申请] FileCode能看出啥? +7 要乐观耀哥 2026-08-10 17/850 2026-08-11 10:50 by 要乐观耀哥
[基金申请] 确定了,国自然21号放榜 +6 布布和一二 2026-08-10 7/350 2026-08-10 19:15 by 2000zf36392
[基金申请] 关于代码变化问题,想知道的进来 +17 且听虎啸 2026-08-07 24/1200 2026-08-10 18:35 by zhangduo2008
[基金申请] 关于Filecode分析方法 +3 majunge000 2026-08-10 3/150 2026-08-10 15:46 by lch2012
[基金申请] 据悉今年马上要出结果了 +7 瞬息宇宙 2026-08-10 8/400 2026-08-10 12:42 by Vivilian
[基金申请] 2026国自然放榜时间 +9 布布和一二 2026-08-08 9/450 2026-08-10 11:22 by xxxx2020
[基金申请] 这样的filecode谁见过 +11 布布和一二 2026-08-08 22/1100 2026-08-10 11:10 by wmfsnow
[基金申请] filecode与中标关系的预测 +5 布布和一二 2026-08-07 5/250 2026-08-09 16:15 by 袁向阳007
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 by zhanghaozhu
[基金申请] 国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率 +7 a089 2026-08-07 7/350 2026-08-08 18:05 by gltch
[基金申请] 关于filecode +4 布布和一二 2026-08-07 7/350 2026-08-07 22:55 by zhanghaozhu
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
信息提示
请填处理意见