Before compiling LAMMPS, I did include several standard packages (asphere, class2, colloid, and granular) by “make yes-granular” and others). I was able to compile LAMPPS successfully.
When I tried to run the pour example, I got the following error:
hsieh@…1744…:~/cfdem/LIGGGHTS-beta/lammps-24Jan10/examples/pour> mpirun -np 4 ./lmp_mpich2 < in.pour
LAMMPS (15 Jan 2010)
Created orthogonal box = (-10 -10 -0.5) to (10 10 16)
2 by 2 by 1 processor grid
ERROR: Illegal pair_style command
hsieh@…1744…:~/cfdem/LIGGGHTS-beta/lammps-24Jan10/examples/pour>
Before compiling LAMMPS, I did include several standard packages (asphere,
class2, colloid, and granular) by "make yes-granular" and others). I was
able to compile LAMPPS successfully.
When I tried to run the pour example, I got the following error:
[email protected]...:~/cfdem/LIGGGHTS-beta/lammps-24Jan10/examples/pour> mpirun
-np 4 ./lmp_mpich2 < in.pour
LAMMPS (15 Jan 2010)
Created orthogonal box = (-10 -10 -0.5) to (10 10 16)
2 by 2 by 1 processor grid
ERROR: Illegal pair_style command [email protected]...:~/cfdem/LIGGGHTS-beta/lammps-24Jan10/examples/pour>
---------------------------------------
I am able to run the flow example without any problem.
Can someone give me a hint on how to solve this problem?
this looks like your binary does *not* include the granular package.
you may want to do a make package-status to check, and perhaps
a make clean-all make package-update and then recompile.
When I tried “make package-status”, the system showed that the granular package was installed.
It turned out that the lammps package I am using might have some problem. I got a beta version of lammps from LIGGGHTS (www.cfdem.com). The example cases under LIGGGHTS all ran without any problem. But, got error when running the pour example in lammps.
I downloaded the official version of lammps and installed it on another computer. The pour example ran successfully.
There maybe some conflicts between official lammps and LIGGGHTS.
Illegal pair_style means that the args you have given to pair_style gran are
incorrect, not that the package hasn't been added. I'm guessing the LIGGHTS
add-ons changed the syntax of the command. I would talk to Christoph.