LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] Syntax error by extra/bond/per/atom in read_data command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] Syntax error by extra/bond/per/atom in read_data command

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Wed, 13 Sep 2017 18:37:44 -0400

On Wed, Sep 13, 2017 at 6:09 PM, Hyungmook Kang <hmkang@...633...> wrote:
Dear lammps users,

I have the same problem of 

I'm trying to combine two data files by using read_data command. 
When I run without extra/bond/per/atom keyword, I get the following error message. 

Subsequent read data induced too many bonds per atom (../read_data.cpp:1222)

When I changed the syntax with the keyword, extra/bond/per/atom, and I get
"Ilegal read_data" error.

​there is no number following extra/bond/per/atom, hence the error.​

Previously, a solution using moltemplate was introduced. 
Could somebody let me know the way to directly solve this problem by using right lammps syntax?

​compare your input very carefully to the read_data documentation.



The follows are the lines in my input file.

read_data   water.dat group solvent extra/atom/types 5 extra/bond/types 10 extra/angle/types 10 extra/bond/per/atom
read_data    extra.dat add append group extra

Many Thanks

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.