[lammps-users] doing an ensemble average inside lammps

i wish to do an ensemble average over multiple runs i.e run the simulation lets say 100 times ,
each time calculate a certain quantity's and after those 100 run somehow average over the 100 quantity's
i got ,i figured that i can do the 100 runs using the variable command but is there some way to do the averaging inside lammps ? i.e dump just the average over those 100 results ?
thanks a lot in advance!!!

See the fix ave/time command. It will average within
and/or across runs.