Bug: in.chute: ERROR: Invalid pair style (force.cpp:168)

Hi all,

The input file in.chute (and in.chute.scaled) delivered with LAMMPS seems to be incompatible since some point in time. With lammps-27Oct11, an error is thrown

   $ lmp < in.chute
   LAMMPS (27 Oct 2011)
   Reading data file ...
     orthogonal box = (0 0 0) to (40 20 37.2886)
     1 by 1 by 1 processor grid
     32000 atoms
     32000 velocities
   ERROR: Invalid pair style (force.cpp:168)

(other examples run fine; system is Linux x86_64 with OpenMPI)

The general issue seems to exist since quite some time: one gets nearly the same result with lammps-22Jun07 on IA64 Linux with SGI MPI:

   $ mpirun -np 1 ./lmp_altix < in.chute
   LAMMPS (22 Jun 2007)
   ERROR: Invalid atom style

Even though that's a minor issue, in.chute should maybe get repaired/replaced/removed in order not to confuse beginners.

Best regards
   Fabian

Hi all,

The input file in.chute (and in.chute.scaled) delivered with LAMMPS
seems to be incompatible since some point in time. With lammps-27Oct11,
an error is thrown

fabian,

this example requires the granular package to be installed.
have you done this? this is not one of the packages that
are installed by default. if you type ./lmp_<version> -h
it should print a list of installed styles.

for more details, please see:
http://lammps.sandia.gov/doc/Section_start.html#start_3

cheers,
    axel.

Hi Axel,

> Hi all,
>
> The input file in.chute (and in.chute.scaled) delivered with
> LAMMPS seems to be incompatible since some point in time. With
> lammps-27Oct11, an error is thrown

fabian,

this example requires the granular package to be installed. have you
done this? this is not one of the packages that are installed by
default. if you type ./lmp_<version> -h it should print a list of
installed styles.

Thanks for your reply.

I've not specifically installed any additional packages, so this is likely
the course why in.chute won't run. I do still guess that having an
example that does not necessarily work out of the box might confuse
starters who do not have the granular package installed, but your
mileage might vary.

(lmp -h gives me "Invalid command-line argument")

Best regards
   Fabian

Hi Axel,

Hi all,

The input file in.chute (and in.chute.scaled) delivered with
LAMMPS seems to be incompatible since some point in time. With
lammps-27Oct11, an error is thrown

fabian,

this example requires the granular package to be installed. have you
done this? this is not one of the packages that are installed by
default. if you type ./lmp_ -h it should print a list of
installed styles.

Thanks for your reply.

I’ve not specifically installed any additional packages, so this is likely
the course why in.chute won’t run. I do still guess that having an
example that does not necessarily work out of the box might confuse
starters who do not have the granular package installed, but your
mileage might vary.

this is well documented. people that don’t read documentation
get what they deserve.

(lmp -h gives me “Invalid command-line argument”)

that means you have an outdated executable.

axel.

I've not specifically installed any additional packages, so this is likely
the course why in.chute won't run. I do still guess that having an
example that does not necessarily work out of the box might confuse
starters who do not have the granular package installed, but your
mileage might vary.

If you look in the examples dir, there are several cases there
where the example scripts require extra packages be installed.
We don't want to install all the packages by default, so not
sure what else can be done, if we want to provide as many examples
as possible.

Steve