[lammps-users] fix ave/time

Hi

I am trying to use fix ave/time command and it gives me illegal fix ave/time command irrespective of what combination according to syntax I try. I am confused as to what’s happening. Can anybody help me here please?

I use fix 2 all ave/time 100 5 1000 thermo_temp file temp.profile

Or fix 2 all ave/time 100 5 1000 thermo_temp

I also have varied the numbers above, but same error!

Since thermo_temp is a default compute, I tried using a new compute like

compute 1 all ke

fix 2 all ave/time 100 5 1000 1 file ke.profile

but then it says invalid compute style! It’s a bit confusing as to what’s happening

thanks

Chetan

This line works in the current LAMMPS:

fix 2 all ave/time 100 5 1000 c_thermo_temp file temp.profile

Every quantity is either a compute, fix, or variable, which must
be prefixed by c_ or f_ or v_.

One of the examples on the doc page was wrong, which may have
been confusing.

Steve

Hi Steve

I am sorry but I when I use

fix 2 all ave/time 100 5 1000 c_thermo_temp file info.profile fix 1 all
ave/time 100 5 1000 c_thermo_temp c_thermo_press file info.profile

I Still get the same error! As illegal fix ave/time command

Also with reference to my another recent email of illegal minimize command I
am getting, just for the sake of information, i am using STUBS library
instead of MPI, since I am running lammps on a single processor

I am not sure where's the error
Thanks
Regards,
Chetan

Those 2 commands work fine in my version of LAMMPS,
22 May 08, fully patched.

Steve