[lammps-users] Illegal minimize command


I am trying to do a simple minimization.
It is giving me: ERROR Illegal Minimize command

I cannot see any apparent syntex error, or mistake,
Anybody has any suggestions ?
Thanks a lot.


The input file looks like this :

units real
pair_style lj/cut/coul/long 12.5
kspace_style pppm 0.0001
atom_style full
angle_style cosine/squared
bond_style harmonic
dihedral_style harmonic
improper_style cvff
neighbor 2.0 bin
neigh_modify delay 0 every 1 check yes
#neigh_modify every 2 delay 4 check yes page 100000000
read_data ilsystem.lammps05
pair_coeff 1 1 0.1479999981 3.6170487995
pair_coeff 1 2 0.1572132179 3.5591404031

#fix 100 all nve
#timestep 0.01
#run 1000

min_style cg
minimize 1.0e-4 1.0e-6 1000 5000

Your syntax looks fine. Can you run examples/in.min ?