24小时热门版块排行榜    

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

yjhqdm

金虫 (小有名气)

[求助] lammmps win版串行出错,求助

我采用windows下的命令:
lmp_win_no-MPI -in example.input
然后就报错了。因为我用的是read_data的方式,错误提示如下:
Reading data file....
     orthogonal box = (-2 -2 -2 ) to (2 2 2)
   1 by 1 by 1 MPI processor grid
ERROR: Unknown identifier in data file: 1 12.01 (.../read_data.cpp:343)

显然是在读取Masses时出错了。好奇怪 啊。
附上代码,求大侠帮助

直接贴上我的代码:
1. example.input文件
variable        vz index 10 20
log                log_${vz}.txt
units                metal
dimension        3
boundary        f p s
atom_style        atomic
read_data        example.data
pair_style        tersoff
pair_coeff        * * SiCGe.tersoff C C C
group                a id == 1 3 5
group                 1 id == 2 4 6
group                 a1 union a 1
neighbor        2.0 bin
neigh_modify        delay 0
minimize        1.0e-6 1.0e-6 1000 1000
fix                 1 all nve
thermo                100
compute                1 all temp
compute                2 all ke/atom
compute         3 all pe/atom
variable        et atom c_2[]+c_3[]
fix                2 all ave/time 1 1 10 c_1 file temp_${vz}.dat
dump                1 all xyz 100 config_${vz}.dat
dump                2 all custom 100 etotal_${vz}.dat v_et
velocity all create 400.0 273237 units box
run                1000
clear
next                vz
jump                example.input

2. example.data文件:
LAMMPS data file

6 atoms

3 atoms typles

-2 2 xlo xhi
-2 2 ylo yhi
-2 2 zlo zhi

Masses

1 12.01
2 12.01
3 12.01

1 1  1.000000 0.000000 0.000000
2 2  0.500000 0.866025 0.000000
3 3 -0.500000 0.866025 0.000000
4 3 -1.000000 0.000000 0.000000
5 2 -0.500000 -0.866025 0.000000
6 1  0.500000 -0.866025 0.000000

哪位大侠帮看一下
回复此楼

» 猜你喜欢

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

yjhqdm

金虫 (小有名气)

引用回帖:
2楼: Originally posted by snail594 at 2014-05-18 10:27:33
3 atoms typles错了吧

这个单词写错了,但是错误信息如故,还是这样的。
3楼2014-05-19 10:40:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

snail594

金虫 (小有名气)


月只蓝: 金币+1, 鼓励交流! 2014-05-30 18:57:23
3 atoms typles错了吧
Inlearningwetrust
2楼2014-05-18 10:27:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yjhqdm

金虫 (小有名气)

这个单词写错了,但是还是错误,我自己版本已经该回来了,错误信息还是这样
4楼2014-05-19 10:41:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见