24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1800  |  回复: 7
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

huangll99

木虫 (职业作家)

[求助] vasp脚本运行问题

#! /bin/bash
rm WAVECAR
for i in  3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.2 4.3 ; do
cat >POSCAR < fcc:
   $i
0.5 0.5 0.0
0.0 0.5 0.5
0.5 0.0 0.5
   1
cartesian
0 0 0
!
echo "a= $i"
mpirun -np 8 /usr/local/vasp.4.6/vasp > out&
E=`tail -1 OSZICAR` ; echo $i $E  >>SUMMARY.fcc
done
cat SUMMARY.fcc

运行时出现下列问题,请各位大侠指教

rm: cannot remove `WAVECAR': No such file or directory
a= 3.5
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 3.6
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 3.7
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 3.8
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 3.9
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 4.0
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 4.1
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 4.2
tail: cannot open `OSZICAR' for reading: No such file or directory
a= 4.3
tail: cannot open `OSZICAR' for reading: No such file or directory
3.5
3.6
3.7
3.8
3.9
4.0
4.1
4.2
4.3
[renjie@power5506 2_1_fccSi]$ poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
poll: protocol failure in circuit setup
回复此楼

» 收录本帖的淘帖专辑推荐

纳米能源与计算模拟

» 猜你喜欢

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

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

liliangfang

荣誉版主 (著名写手)

引用回帖:
4楼: Originally posted by enola at 2012-02-27 12:11:01:
nohup ./XX.bash &
这样提交任务后,就会在后台运行,终端可以关掉。

谢谢回复,楼主试试吧
5楼2012-02-27 14:46:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 8 个回答

liliangfang

荣誉版主 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
WDD880227(金币+1): 感谢交流提示 2012-02-26 22:10:57
huangll99(金币+10): ★★★★★最佳答案 谢谢 2012-02-27 09:50:10
这个可能你脚本里面的有错误的字符导致的,检查一下里面的字符,`这个最会出错,脚本要自己写,复制会出问题
2楼2012-02-26 22:06:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

huangll99

木虫 (职业作家)

引用回帖:
2楼: Originally posted by liliangfang at 2012-02-26 22:06:15:
这个可能你脚本里面的有错误的字符导致的,检查一下里面的字符,`这个最会出错,脚本要自己写,复制会出问题

斑竹,再问你一个问题,如果我想让这个脚本后台运行,不在屏幕上显示东西,nohup这个命令该怎么用,帮帮忙,多谢啦
3楼2012-02-27 09:52:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

enola

捐助贵宾 (正式写手)

franch(金币+2): 谢谢回帖交流。。。。 2012-02-27 13:40:16
引用回帖:
3楼: Originally posted by huangll99 at 2012-02-27 09:52:54:
斑竹,再问你一个问题,如果我想让这个脚本后台运行,不在屏幕上显示东西,nohup这个命令该怎么用,帮帮忙,多谢啦

nohup ./XX.bash &
这样提交任务后,就会在后台运行,终端可以关掉。
timeflies..
4楼2012-02-27 12:11:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见