ERROR: Numeric index is out of bounds

Dear LAMMPS users,

When running my simulation I get the message “ERROR: Numeric index is out of bounds <…/pair_lj_cut.cpp:455).

The error seems to come from the implementation of Lennard-Jones potentials. I implement these using the next few lines:

pair_style lj/cut 20

pair_coeff matrix matrix 1.519 5.382 13.455

pair_coeff carbon carbon 1.2 7.48 20

pair_coeff hydroxyl hydroxyl 1.2 7.48 20

Where does this error come from and how do I solve this? Please find the log file in attachment.

Kind regards,

Tim

log.curing_test.txt (1.52 KB)

Dear LAMMPS users,

When running my simulation I get the message “ERROR: Numeric index is out of
bounds <../pair_lj_cut.cpp:455).

The error seems to come from the implementation of Lennard-Jones potentials.
I implement these using the next few lines:

pair_style lj/cut 20

pair_coeff matrix matrix 1.519 5.382 13.455

pair_coeff carbon carbon 1.2 7.48 20

pair_coeff hydroxyl hydroxyl 1.2 7.48 20

these last three lines are _very obviously_ incorrect syntax.

Where does this error come from and how do I solve this? Please find the log
file in attachment.

before posting such obvious issues to the mailing list again, i kindly
suggest you have a look at this section of the manual:
http://lammps.sandia.gov/doc/Section_errors.html
in general, you will see that you welcome will wear thin very quickly,
when you keep asking questions that can be resolved simply by checking
carefully with the documentation, searching the mailing list archives
and/or using the latest version of LAMMPS.

axel.