A clarification on Allan's comments about safe vs. optimized:<div>To get the fast compile, it requires removing the "-O3" optimization stuff in adcomp.bat. Compiling in safe mode add the bounds checks and whatnot, but doesn't remove the optimization commands.<br>
-Ian</div><div><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 6:42 PM, Allan Hicks <span dir="ltr"><<a href="mailto:allan.hicks@noaa.gov">allan.hicks@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have found that when compiling Stock Synthesis, especially with Microsoft compilers it took more than 20 minutes. But, this was mostly due to optimization. Therefore, when developing SS, we compile without optimization (safe-mode) which takes a minute or two at most, then for a release version, we turn on optimization. I haven't formally compared compilation times between Borland and Microsoft, but safe-mode may be a useful option when developing models.<div>
<br></div><div>The Microsoft compilers are also free, including 32-bit and 64-bit. I am not sure about a conflict with rtools, but if I remember correctly, that may be an issue with emacs instead of the compiler.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div></font></span><div><span class="HOEnZb"><font color="#888888">Allan</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 6:24 PM, Paul Conn <span dir="ltr"><<a href="mailto:paul.conn@noaa.gov" target="_blank">paul.conn@noaa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>Kyle Shertzer compared compile times awhile back and found that Borland had much shorter compile times than some other compilers out there. When developing and compiling multiple fisheries models, we found the compile times to be fairly important as often you are just twiddling your thumbs while models are compiling. Also, it's free and doesn't conflict with rtools.</div>
<div><br>Sent from my iPhone</div><div><div><div><br>On Mar 15, 2012, at 5:15 PM, Mark Maunder <<a href="mailto:mmaunder@iattc.org" target="_blank">mmaunder@iattc.org</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div>
<div>
<p class="MsoNormal">Can you please send us an e-mail letting us know if you use the Borland 5.5 compiler for your ADMB or ADMB-re modeling and why you prefer to use the Borland compiler. Maintaining this compiler has some issues so we are considering dropping
it.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Mark<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Mark Maunder <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">IATTC fall workshop: Using Oceanography for Fisheries Stock Assessment and Management<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">11-14 October 2011, La Jolla, CA<u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Using+Oceanography+for+Fisheries+Stock+Assessment+and+Management+2011" target="_blank"><span style="color:blue">http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Using+Oceanography+for+Fisheries+Stock+Assessment+and+Management+2011</span></a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Head of the Stock Assessment Program
<u></u><u></u></p>
<p class="MsoNormal">Inter-American Tropical Tuna Commission
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">President<u></u><u></u></p>
<p class="MsoNormal">ADMB Foundation<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">8604 La Jolla Shores Drive<u></u><u></u></p>
<p class="MsoNormal">La Jolla, CA, 92037-1508, USA<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Tel: <a href="tel:%28858%29%20546-7027" value="+18585467027" target="_blank">(858) 546-7027</a><u></u><u></u></p>
<p class="MsoNormal">Fax: <a href="tel:%28858%29%20546-7133" value="+18585467133" target="_blank">(858) 546-7133</a><u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:mmaunder@iattc.org" target="_blank"><span style="color:blue">mmaunder@iattc.org</span></a><u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Mark+Maunder" target="_blank"><span style="color:blue">http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Mark+Maunder</span></a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Visit the AD Model Builder project at<u></u><u></u></p>
<p class="MsoNormal"> <a href="http://admb-project.org/" target="_blank"><span style="color:blue">http://admb-project.org/</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">See the following website for information on fisheries stock assessment
<a href="http://www.fisheriesstockassessment.com/" target="_blank"><span style="color:blue">http://www.fisheriesstockassessment.com/</span></a><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a></span><br>
<span><a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a></span><br></div></blockquote></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>