MOLECULAR package:How to make the improper style of harmonic available?


I’m a senior student in the University of Science and Technology Beijing. I major in thermal science and energy engineering. I’m using lammps to simulate the thermal properties of COFs.Now I need to use improper_harmonic. However, it is said “This improper style can only be used if LAMMPS was built with the MOLECULAR package (which it is by default).” And t saw your reply about this question. So I modify "MOLECULAR " to “MOLECULE” in the improper_harmonic.txt manually. But after I rebuilt LAMMPS and run my program, it still tell me “invalid improper style”. How can I successfully use this improper style?
Expecting your good solution!

Runzhi Wei
Apr 29th, 2015.

You may be using an older version of LAMMPS. The current

doc page for improper harmonic says MOLECULE, not MOLECULAR.

As the doc/Section_start.html page explains, you go to the src

dir and type

make yes-molecule

make machine

where machine is your target.