Fix rigid

Hello, I’m new to Lammps and I have a problem with the fix rigid command. First of all I tried to run the example rigid in the example directory, but I have the error:
ERROR: Invalid fix style (…/modify.cpp:731)

I tried other examples and they works well, such as the example of crack etc. I don’t know if my Lammps version is well built or if the command fix rigid has some problem.
Have you ever had the same problem?
Is there any very simple script with the rigid command, that you know that works, I can try?
Thank you very much
Francesco

Francesco Tavanti, Ph.D.

PhD student at the Department of Chemistry and Geology
Laboratory for Computational Material Chemistry (CompMaterChem)
Via Campi 183 - 41125 Modena, Italy
Room: MO-16-01-034
Mobile: +39 3336711500
Homepage: https://sites.google.com/site/compmaterchem/pople/francesco-tavanti
E-mail: francesco.tavanti@…3753…
Alternative e-mail: tavanfran@…24…

Fix rigid is part of the RIGID package. Please ser Making Lammps for how to include optional packages.

Ray

And lmp_machine -h
is your friend. It will show
you if your executable contains fix rigid or not.

Steve