LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] hybrid pair_style error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] hybrid pair_style error

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Mon, 6 Nov 2017 23:28:41 -0500

On Mon, Nov 6, 2017 at 10:02 PM, YOHANNA Jacob Baro via lammps-users <> wrote:
I got this error when running mysimulation. can somebody help please?

​there are about 5 definite errors in this little input segment​, and likely a couple more conceptual problems which point to a significant lack of experience and understanding.
i suggest you start with something simpler, where you don't need to use anything "hybrid".

since LAMMPS is a modular software, you need to make certain, that you have all modules included, that are needed for your simulations. it appears, that this is not the case here.


    ERROR: Illegal pair_style command (../pair_lj_cut.cpp:430)
    Last command: pair_style hybrid lj/cut 2.5 sw tersoff

here is part of my input file.

pair_style hybrid lj/cut 2.5 sw tersoff
pair_coeff       * * Ge.tersoff Ge
pair_coeff       * * p.sw P
pair_coeff       1 2 lj/cut 1.0 1.0 2.5


Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...12...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.