whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

#269 closed defect (fixed)

Time estimate for event generation can be off by an order of magnitude

Reported by: Christian Speckner Owned by: kilian
Priority: P1 Milestone: v2.0.1
Component: core Version: 2.0.0rc3
Severity: major Keywords:
Cc:

Description

For the attached input file, the time estimate for event generation is too low by more than an order of 10.

Attachments (1)

test.sin (642 bytes) - added by Christian Speckner 15 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by Christian Speckner

Attachment: test.sin added

comment:1 Changed 15 years ago by kilian

The timer module can also produce arithmetic exceptions (could result from the nagfor -nan option, which would indicate uninitialized reals). This is not easily reproducable, and no obvious cause.

comment:2 Changed 15 years ago by kilian

Milestone: v2.0.0finalv2.0.1

r2278 adds the option to switch on/off time estimates. Given that, I postpone the ticket to the next patchday.

comment:3 Changed 15 years ago by Juergen Reuter

There is one further point which is trivial (also to implement I guess) which is that if you read in grids (i.e. not integrating again) the time estimate is nevertheless calculated, namely exactly to one. Either leave out the time estimate in that case (only the conditional read_grids has to be accessed for this) or store the time estimate also in the grid set-up (which is fishy to me).

comment:4 Changed 15 years ago by Juergen Reuter

Priority: P3P1
Severity: normalmajor

These two issues are really nasty for the user, should be done with high priority.

comment:5 Changed 15 years ago by kilian

Resolution: fixed
Status: newclosed

Resolved in r2326.

  • Module 'clock' took wallclock time, replaced by 'cputime' which takes CPU time and is also much more lightweight.
  • Time estimate was computed for integration#n_pass, should have been #n_it (hence the NANs for uninitialized)
Note: See TracTickets for help on using tickets.