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)
Change History (6)
Changed 15 years ago by
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | v2.0.0final → v2.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
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
Priority: | P3 → P1 |
---|---|
Severity: | normal → major |
These two issues are really nasty for the user, should be done with high priority.
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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)
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.