[TRNSYS-users] W7-IVF11.1 TRNSYS16 compatibility issue ?
David BRADLEY
d.bradley at tess-inc.com
Tue May 10 08:05:38 PDT 2011
David,
I did run into this - although with some allocatable arrays in the
DynamicData() routine. Your error (I think) is coming from the
setStorageSize() routine. CVF apparently deleted allocatable arrays
whenever you exited the routine in which they had been created. IVF
doesn't do that so you have to manually deallocate everything (there is
probably a compiler setting for this...)
To fix the problem, look for the subroutine "GROW_STORAGE()" (its in
storage.for) and add the line
DEALLOCATE(XSTORE_TEMP)
just before the RETURN.
You'll have to recompile the TRNDll but it sounds like you are able to
do that.
best,
David
On 5/10/2011 09:23, CHEZE David 227480 wrote:
>
> Hi,
>
> I'm puzzling while trying to run an existing project
>
> on TRNSYS 16.1.3 Windows7 32bits, TRNDLL and userDlls builded with IVF
> 11.1 (from the ivf10d1.zip downloaded from trnsys's website) : severe
> runtime error "allocatable array is already allocated" with no detail
> from the origin in the message window.
>
> On TRNSYS 16.1.3 WinXP 32bits build with CVF6.6 there's no problem at
> runtime.
>
> The project uses 2 instances of an old user type running in legacy
> mode (using S array) and other user TRNSYS16 types.
>
> When debugging with IVF11.1: trnexe.exe has triggered a breakpoint in
> "calltypes.for", when it is handling one of my 4 type31 (pipe) units.
> I've traced that the pb occurs the second time Type00 is called on
> this unit (first call of all component didn't cause any crash).
>
> Any idea about what could explain this behavior is welcomed !
>
> Thanks,
>
> David
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20110510/744d4b85/attachment-0011.htm>
More information about the TRNSYS-users
mailing list