<div dir="ltr">No worries Mark,<div>Glad to know things worked out for you faster than my catching up on old emails.</div><div>Just when everything is going smoothly, you can switch to Windows 8 and start over.</div><div>-Ian</div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 27, 2013 at 11:54 AM, Fowler, Mark <span dir="ltr"><<a href="mailto:Mark.Fowler@dfo-mpo.gc.ca" target="_blank">Mark.Fowler@dfo-mpo.gc.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-CA" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry, Ian, that was solved as well…<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m with stupid. I got my model folders crossed up at some point between program and data. Both Borland and MinGW models work fine (just had to put the MinGW model back to the original memory settings). I am so sorry. I’m not usually this disorganized, the new OS is garbling me a bit.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:users-bounces@admb-project.org" target="_blank">users-bounces@admb-project.org</a> [mailto:<a href="mailto:users-bounces@admb-project.org" target="_blank">users-bounces@admb-project.org</a>] <b>On Behalf Of </b>Ian Taylor - NOAA Federal<br>

<b>Sent:</b> August 27, 2013 3:29 PM<br><b>To:</b> dave fournier<br><b>Cc:</b> <a href="mailto:users@admb-project.org" target="_blank">users@admb-project.org</a><br><b>Subject:</b> Re: [ADMB Users] memory allocation error<u></u><u></u></span></p>

<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Hi Mark,</span><u></u><u></u></p></div><div><p class="MsoNormal">

<span style="font-family:"Arial","sans-serif"">I don't have any good ideas on how the change in operating would have messed up your old model. </span><u></u><u></u></p></div><div><p class="MsoNormal">

<u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">However, ADMB's default memory settings were improved last year with 100x increases in GRADSTACK_BUFFER_SIZE and CMPDIF_BUFFER_SIZE. Therefore, your model might work just fine if you simply delete that block of lines related to memory and run with the defaults. </span><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Since your model is </span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">monstrous, it may need adjustment, but the error messages you get will hopefully be specific enough to tell you which setting(s) to increase, rather than the uninformative allocation error that you got.</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-Ian</span><u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>

<div><p class="MsoNormal">On Tue, Aug 13, 2013 at 9:11 AM, dave fournier <<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>> wrote:<u></u><u></u></p><p class="MsoNormal">I would run it in debug mode and find out the line where it crashes.<br>

<br>Otherwise a common cause of this is that the program is getting a bad number somehow<br>and doing something like this<br><br>   dvector v(1,n);   // n contains garbage which is interpreted as a huge number.<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><u></u><u></u></p>

</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>