QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: hejun8035 on March 23, 2009, 06:05

Title: How can we get end time while use ATK?
Post by: hejun8035 on March 23, 2009, 06:05
In the head of .out file we can get the start time of ATK,but how can we  get end time while use ATK?
Title: Re: How can we get end time while use ATK?
Post by: Anders Blom on March 23, 2009, 10:43
Add the following lines at the very end of the script you run:

Code
if processIsMaster():
    print '# Finished at',time.ctime()

Or, look at the time of the NetCDF file or VNL file created by the script :)