#185 closed defect (fixed)
W2 crashes due to multple interactions= assignments in one file
Reported by: | sschmidt | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | |
Component: | core | Version: | 2.0.0rc1 |
Severity: | normal | Keywords: | |
Cc: |
Description
W2 crashes in case there are multiple interactions= assignements in one input file:
Runtime Error: commands.f90, line 848: Cannot allocate ALLOCATABLE variable - it is already currently allocated
Solution: Replace
allocate (it_list%pass (it_list%n_pass))
in whizard.nw, subroutine iterations_list_init, line 58647, by
if(allocated(it_list%pass)) deallocate(it_list%pass) allocate (it_list%pass (it_list%n_pass))
I did it myself but unfortunately I am not allowed to commit my changes :-(
Attachments (1)
Change History (3)
Changed 15 years ago by
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed this in r1678. WHIZARD now takes the last entry in the list of iterations assignments.
Note: See
TracTickets for help on using
tickets.
simple input file