About ERROR: Illegal fix ave/correlate command

Hi,
I tried to findout the thermal conductivity of DLC using written code in LAMMPS. But after running it shows in logfile -ERROR: Illegal fix ave/correlate command. I include the input file and log file for understanding. Please help me to solve this problem.

Sankar

mmdlcin.5-5-p (1.47 KB)

log.lammps (9.95 KB)

You have a "&" character in the middle of your fix ave/correlate
command. Why? That will screw up the parsing.

Steve