lammps报错该怎么解决

LAMMPS以下为输入文件
units metal
dimension 3
boundary p
atom_style full

Variables for easy adjustments

variable T equal 300.0
variable p equal 1.0

System setup

read_data MoSe2.data # Read data file for MoSe2
#read_data H2.data # Read data file for the adsorbate (H)

group MoSe2 type 1 2 # Define MoSe2 group
group adsorbate type 3 # Define adsorbate group

Interatomic potentials

pair_style hybrid/overlay tersoff lj/cut 8.0
pair_coeff * * tersoff MoSe.tersoff Mo Se
pair_coeff 1 3 lj/cut 0.00376 3.127
pair_coeff 2 3 lj/cut 0.00376 3.127

Settings for simulations

compute pe_MoSe2 MoSe2 pe/atom
compute pe_adsorbate adsorbate pe/atom
compute pe_system all pe/atom

thermo_style custom step temp pe c_pe_MoSe2 c_pe_adsorbate c_pe_system
thermo 100

Minimization

minimize 1e-4 1e-6 1000 10000

Run a short NPT simulation

reset_timestep 0
timestep 1.0
fix 1 all npt temp ${T} ${T} 100.0 iso ${p} ${p} 1000
run 1000

Energy calculations

variable E_MoSe2 equal c_pe_MoSe2
variable E_adsorbate equal c_pe_adsorbate
variable E_system equal c_pe_system
variable E_adsorption equal ${E_system} - ${E_MoSe2} - ${E_adsorbate}

print "Adsorption energy (eV): ${E_adsorption}"

Output data

dump 1 all custom 100 dump.custom id type x y z q
出现错误ERROR: Incorrect args for pair coefficients (../pair.cpp:813)
Last command: pair_coeff * * tersoff MoSe.tersoff Mo Se
请问是什么原因该如何解决

可以看一下这个讲解:https://mp.weixin.qq.com/s/Kl-DjmaQXa8TvP6SwniABQ%EF%BC%88%E5%8F%AF%E5%85%B3%E6%B3%A8VX%E5%85%AC%E4%BC%97%E5%8F%B7%EF%BC%9A%E7%A0%94%E8%80%8C%E6%9C%89%E4%BF%A1er

根据提供的搜索结果[1], 该网页显示了一个错误页面,建议重新尝试或联系ops@duckduckgo.com进行进一步的支持和解决。但这与您的LAMMPS报错信息似乎没有直接关联。

根据您提供的LAMMPS输入文件,报错信息是 "ERROR: Incorrect args for pair coefficients (../pair.cpp:813)",这个错误通常是由于pair_coeff命令中的参数设置不正确引起的。请检查输入文件中的pair_coeff命令,并确保参数的正确性,尤其是与元素名相关的参数。如果问题仍然存在,请检查输入文件的其他部分是否有错误或不完整的命令。如果需要进一步帮助,可以查看LAMMPS官方文档或向LAMMPS社区寻求帮助。