<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Erik,<br>
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<br>
<br>
Deallocate(X1TEMPdd)<br>
Deallocate(X2TEMPdd)<br>
Deallocate(X3TEMPdd)<br>
Deallocate(X4TEMPdd)<br>
Deallocate(LUSTORTEMPdd)<br>
Deallocate(YDATATEMPdd)<br>
Deallocate(DATAINTEMPdd)<br>
Deallocate(IPTTEMPdd)<br>
<br>
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.<br>
Best,<br>
David<br>
<br>
<br>
On 5/23/2012 06:13, Erik Boschek wrote:
<blockquote
cite="mid:1337771625.96986.YahooMailNeo@web120204.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:12pt">
<div style="RIGHT: auto">Dear TRNSYS users,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">I am in the process of migrating to
Intel Visual Fortran Composer XE 2011, with VS2010 from CVF6.6
for component development. I'm currently using TRNSYS 16.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Generally, with not too many problems
I've gotten TRNSYS to compile and a few custom types.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">However, in the mean time I've run into
an issue which seems to be related to calling "DynamicData",
which I use quite often.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">I've found that if I create a
simulation wi<var id="yui-ie-cursor"></var>th more than one
call, TRNSYS crashes with a run-time error "severe (151):
allocatable array is already allocated" (as attaced screen
shot).</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">To check that it wasn't related to my
own component, I could also reproduce this simply by e.g.
putting two instances of TESS Type581 (multi dimensional
interpolation) into an empty project. This never occurs for
the basic installed TRNDll or one I've compiled with the old
compiler.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Is this problem known to anyone and is
there a fix? Is the new intel compiler supported or is it
known to give problems with TRNSYS? Would this problem
disapear using TRNSYS 17?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Thanks for any insight,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Erik Boschek</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
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
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>