计算化学公社

标题: 运行lammps例子in.shear出错 [打印本页]

作者
Author:
mars936    时间: 2020-4-7 21:51
标题: 运行lammps例子in.shear出错
那位老师帮忙看一下,不胜感激。安装完lammps,运行其自带例子in.shear,出错,结果:
LAMMPS (3 Mar 2020)
Lattice spacing in x,y,z = 3.52 3.52 3.52
Created orthogonal box = (0 0 0) to (56.32 35.2 9.95606)
  3 by 1 by 1 MPI processor grid
Lattice spacing in x,y,z = 3.52 4.97803 4.97803
Created 1912 atoms
  create_atoms CPU = 0.000338134 secs
ERROR: Unrecognized pair style 'eam' is part of the MANYBODY package which is not enabled in this LAMMPS binary. (../force.cpp:285)
Last command: pair_style        eam
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:


  Process name: [[36343,1],0]
  Exit code:    1


已经使用make ps看过,MANYBODY已经安装。上网查过,都是Unknown pair style 'eam' 报的错,而我是Unrecognized pair style 'eam' 。

作者
Author:
甘顺12138    时间: 2020-12-2 13:39
您好,请问这个问题解决了吗?
作者
Author:
Graphite    时间: 2020-12-4 19:32
ERROR: Unrecognized pair style 'eam' is part of the MANYBODY package which is not enabled in this LAMMPS binary.


字面意思,这是因为你没有正确安装MANYBODY包导致的。
LAMMPS很多功能是由额外的包提供的,如这里提到的原子对形式eam。如果你没有编译这些包,或者所下载的安装好的二进制文件没编译这些包,就不能使用这些功能。详见LAMMPS手册install and build相关内容。
作者
Author:
ohlalaoh    时间: 2022-8-9 10:30
可以清空编译环境然后重新编译




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3