[ET Trac] [Einstein Toolkit] #1420: Timers are never started

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Aug 6 09:04:33 CDT 2013


#1420: Timers are never started
---------------------+------------------------------------------------------
 Reporter:  sbrandt  |       Owner:  eschnett  
     Type:  defect   |      Status:  new       
 Priority:  major    |   Milestone:  ET_2013_11
Component:  Carpet   |     Version:  ET_2013_05
 Keywords:           |  
---------------------+------------------------------------------------------
 I modified clock.cc to add a boolean named "started". I initialized it to
 false in the constructor, set it to true inside the start() method, and
 call abort() inside stop() if "started" is false. It fails for me during
 every run.

 This is a problem because the variable "last" inside the clock class is
 uninitialized, and is potentially random.

 I'm not sure what's going wrong, as it appears that funcs->start() is
 being called inside CactusTimers.c, but somehow the relevant start
 function isn't called in clock.cc.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1420>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list