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: YOHANNA Jacob Baro <jakesbaro@...16...>
Date: Tue, 7 Nov 2017 09:01:22 +0000 (UTC)

yes sir, am new with lammps and gradually getting use it.
the problem am trying to solve involves the use of morethan One pair potential. can it be model without the use of 'hybrid'?

On Tuesday, November 7, 2017, 5:28:43 AM GMT+1, Axel Kohlmeyer <akohlmey@...24...> wrote:

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
lammps-users@...396... lists/listinfo/lammps-users

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