print instantanous time in dump file

Submitted by sajjadjeeven on Wed, 12/08/2010 - 16:29

Hi!
How can i print the instantaneous time of my simulation in my dump file.Can anybody help?
Thanks
sajjad

ckloss's picture

ckloss | Wed, 12/08/2010 - 19:40

Currently, to my knowledge there is no possibility to do this out-of-the-box as the relevant class does not possess an absolute time. It would need some code change.

Cheers,
Christoph

cstoltz | Wed, 12/08/2010 - 21:36

You could use the thermo_modify to print the cpu time. Then, assuming you have this printing to a log file somewhere, you could shift this cpu time by the start time of the job and merge this with the dump data later on. Far from perfect, but might at least get you in the ballpark for what you need.

Regards,
Chris

ckloss's picture

ckloss | Wed, 12/08/2010 - 21:48

Ok, I was assuming that the simulation time was meant instead of "real" time. But yes, Chris is right, that should work,

Christoph

sajjadjeeven | Thu, 12/09/2010 - 02:49

HI!
Thanks Chris and Christoph.
I will try this.
sajjad

gukargl | Mon, 10/30/2017 - 14:30

For loggin purposes you might use

shell date>>${logoutput}

which will put a line with the current date and time into your log file but only on linux systems.