#277 closed defect (fixed)
Already opend unit for event files triggeres runtime error
Reported by: | Juergen Reuter | Owned by: | Christian Speckner |
---|---|---|---|
Priority: | P1 | Milestone: | |
Component: | core | Version: | 2.0.0rc3 |
Severity: | blocker | Keywords: | runtime error |
Cc: |
Description
When demanding any special kinds of events (like e.g. LHEF), and having two consecutive simulate statements for the same process (e.g. because of different cuts or beams or whatever), a Fortran runtime error is triggered:
At line 1191 of file commands.f90 (unit = 16, file = '') Fortran runtime error: File already opened in another unit
Here is the SINDARIN test file for it:
process eemm = e1, E1 => e2, E2 compile sqrts = 200 integrate(eemm) n_events = 1 sample_format = lhef simulate (eemm) simulate (eemm)
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Status: | new → assigned |
---|
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r2266. This were two separate issues: a missing close
statement and the possibility of multiple requests for an event formats. The first one I fixed, the latter I circumvented by ignoring multiple request for a format with a warning message.
Note: See
TracTickets for help on using
tickets.
Also this triggers the error: