Open GoogleCodeExporter opened 9 years ago
Issue 66 has been merged into this issue.
Original comment by mark.th...@gmail.com
on 16 Apr 2010 at 5:20
In r527 , r528 and r529 I have addressed the issue of init_msg_db creating a
new log every time Rinit is called,
see svn:log for details
RE: Use of allocatable arrays in derived types
The current implementation has no problems in IVF11.0. Testing reveals that the
deallocating the derived type does
actually deallocate internal allocatable components.
Since my CVF is not operational, it is difficult for me to diagnose this
problem and I request that you make the
necessary changes to make it CVF-compatible and supply a patch for me to
implement, hence I am changing the owner of
this issue to you.
I have also added a new TEST_Rinit_multiple to test reinitialisation problems.
I have extended this example to illustrate how I recommend you handle multiple
RFortran initialisation's in
BATEA/DMSL. Call init_log first with always_append=.true. and then all messages
get written to the same log file,
otherwise the message.log will be overwritten everytime Rinit is called.
Original comment by mark.th...@gmail.com
on 16 Apr 2010 at 5:50
Mark, I repeated the RFortran tests, both with the 'samples' and with BATEA.
Your modifications have avoided triggering the multiple-Rinit bug in CVF, which
is a
good thing for the immediate future.
However, I checked the code and this occurs not by removing the potential
trigger
(the non-F95 allocatable components and a seeming CVF bug in their automatic
deallocation) but by improving the logic of the logging routines resulting in
the
problematic branch no longer being executed in the current BATEA case (which is
a
good thing here, but does not actually address the potential bug/trigger).
To enable me to debug this properly, can you design a test program that would
enter
the branch "if(allocated(msg_db))" on line 460 of MUtils_messageLog.f90. I am
unsure
what these circumstances are (or should be?), but once that is done I will
easily
check that my (likely) solutions works correctly.
I have hence reverted to the rightful owner of this issue ;-) but downgraded the
priority from blocker to critical
Original comment by dmitri.k...@gmail.com
on 16 Apr 2010 at 12:15
Original issue reported on code.google.com by
dmitri.k...@gmail.com
on 15 Apr 2010 at 9:11