Error: Numeric Index Is Out Of Bounds

Hello everybody,
i’m trying to simulate monolayer protected gold cluster, but when i run my program, it gives me the error: Numeric index is out of bounds. From the data file:

-20.000000 20.000000 xlo xhi
-20.000000 20.000000 ylo yhi
-20.000000 20.000000 zlo zhi

Could you explain me why i got this error?

Thanks a lot.

Michele Formica

Hello everybody,

i’m trying to simulate monolayer protected gold cluster, but when i run my program, it gives me the error: Numeric index is out of bounds. From the data file:

-20.000000 20.000000 xlo xhi
-20.000000 20.000000 ylo yhi
-20.000000 20.000000 zlo zhi

Could you explain me why i got this error?

Thanks a lot.

Michele Formica

Hello everybody,
i'm trying to simulate monolayer protected gold cluster, but when i run my
program, it gives me the error: Numeric index is out of bounds. From the
data file:

-20.000000 20.000000 xlo xhi
-20.000000 20.000000 ylo yhi
-20.000000 20.000000 zlo zhi

Could you explain me why i got this error?

could you explain what makes you think that these lines have any
relation to the error message you are seeing?

the first place to look for help with error messages is here:

http://lammps.sandia.gov/doc/Section_errors.html

http://lammps.sandia.gov/threads/msg29977.html

This might be helpful to you.

The problem was in your LAMMPS input script, not your data file. It
has nothing to do with the size of your simulation box.

As a first step, I'll suggest how to diagnose the problem yourself:

1) look up the error message in the documentation
http://lammps.sandia.gov/doc/Section_errors.html

In your browser, search for "index is out of bounds"

"A command with an argument that specifies an integer or range of
integers is using a value that is less than 1 or greater than the
maximum allowed limit."

Unfortunately, this message does not tell you which command you were using

2) Read your "log.lammps" file. Usually when LAMMPS crashes, the last
few lines in this file tell you what command (line) in your input
script LAMMPS was working on when it crashed.

Try these steps, and if you still can not identify the problem, then post again.

Cheers

Andrew