Invalid dihedral style

Dear lammps users,

I have this error “Invalid dihedral style” in my bead-spring model. I have double checked the input file and updated the lammps to the newest version, but still cannot work it through. I would really appreciate if any help is given. Below please see part of my input file. Thank you very much in advance.

#---------------------Initialization----------------------
units real
atom_style molecular
dimension 3
boundary p p p
read_data bead_spring.data

mass * 1
timestep 1
neighbor 2 bin

#----------------------Group Setting----------------------
group chain1 type 5 3 1
group chain2 type 6 4 2

#----------------------Force Fields-----------------------

bond_style harmonic
bond_coeff 1 500.00 10.00

angle_style harmonic
angle_coeff 1 5000.00 180.00

dihedral_style table linear 360
dihedral_coeff 1 table_dihedral.txt DIH_TABLE1

Have you built LAMMPS with the USER-MISC package? It is required to use this dihedral style.