Commit 70b85a1c authored by Gregor Michalicek's avatar Gregor Michalicek

Quick fix for wrong times in juDFT_times.

I put the resetIterationDependentTimers call to the beginning of
each iteration. This should provide correct timings in
juDFT_times if a single iteration is performed. Right now, the
iteration dependent times in juDFT_times are not cumulated over
the iterations. Only the total runtime is for all iterations.
The other times are only for the last iteration performed.

If the timings for each iteration are relevant they can be
found in the out.xml file.
parent 18febd0e
......@@ -261,6 +261,7 @@
IF (it.GT.1) THEN
obsolete%eig66(1)= .FALSE.
CALL resetIterationDependentTimers()
CALL timestart("Iteration")
IF (mpi%irank.EQ.0) THEN
......@@ -858,7 +859,6 @@
l_cont = ( it < input%itmax )
CALL writeTimesXML()
CALL resetIterationDependentTimers()
CALL check_time_for_next_iteration(it,l_cont)
IF ((mpi%irank.EQ.0).AND.(isCurrentXMLElement("iteration"))) THEN
CALL closeXMLElement('iteration')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment