Erik, We found and fixed this in Trnsys17 when we moved over to the IVF compilers. CVF didn't mind if you exited a subroutine without deallocating your allocatable arrays (it deallocated them for you). IVF is a bit more rigorous and forces you do deallocate arrays manually. You need to add the following lines to the GROW() subroutine in DynamicData Deallocate(X1TEMPdd) Deallocate(X2TEMPdd) Deallocate(X3TEMPdd) Deallocate(X4TEMPdd) Deallocate(LUSTORTEMPdd) Deallocate(YDATATEMPdd) Deallocate(DATAINTEMPdd) Deallocate(IPTTEMPdd) Another issue that you may run into is that IVF does not like when a function returns without setting a return value. CVF was more forgiving about that. You will need to go through some of the TrnsysFunctions routines and make sure that they always set a return value. Again, this is fixed in Trnsys17. Best, David On 5/23/2012 06:13, Erik Boschek wrote:
-- *************************** 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@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |