Thanks for all these Arni,<div>I'm also looking at the examples models included with ADMB and indeed the admb-re examples have many more settings than the non-re examples.</div><div><br></div><div>I'm also assuming that very few ADMB users have less than 2GB available, but will try not to require more by default.
</div><div><br></div><div>Someday we'll follow Dave's suggestion to make the memory allocation dynamic, but for now some new defaults will hopefully work alright for average models.</div><div>-Ian</div><div><br><div class="gmail_quote">
On Fri, Mar 23, 2012 at 12:56 PM, Arni Magnusson <span dir="ltr"><<a href="mailto:arnima@hafro.is">arnima@hafro.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
More examples I have come across:<br>
<br>
ADCAM (stock assmt model by Bjornsson)<br>
<br>
TOP_OF_MAIN_SECTION<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(10000000);<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(1000000)<u></u>;<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(1500);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(1500);<br>
arrmblsize = 50000000;<br>
<br>
<br>
AMAK (stock assmt model by Ianelli)<br>
<br>
TOP_OF_MAIN_SECTION<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(1000);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(1000);<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(1000000)<u></u>;<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(10000000);<br>
arrmblsize=500000000;<br>
<br>
<br>
Stock Synthesis (stock assmt model by Methot)<br>
<br>
TOP_OF_MAIN_SECTION<br>
arrmblsize = 50000000;<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(<u></u>20000000000);<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(170000000);<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(5000);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(10000);<br>
<br>
<br>
Pacific Ocean Perch (stock assmt by Stewart)<br>
<br>
TOP_OF_MAIN_SECTION<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(1000);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(800);<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(100000);<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(1000000);<br>
arrmblsize=900000;<br>
<br>
<br>
Red Snapper (stock assmt by Prager)<br>
<br>
TOP_OF_MAIN_SECTION<br>
arrmblsize=20000000;<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(1600);<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(2000000)<u></u>;<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(2000000);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(500);<br>
<br>
<br>
S-Atlantic Vermillion Snapper (stock assmt by Williams)<br>
<br>
TOP_OF_MAIN_SECTION<br>
arrmblsize=2000000;<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(300);<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(<u></u>20000000);<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(100000000);<br>
gradient_structure::set_NUM_<u></u>DEPENDENT_VARIABLES(300);<br>
<br>
<br>
Walleye (stock assmt by Bence)<br>
<br>
TOP_OF_MAIN_SECTION<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(200000);<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(1000000);<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(400);<br>
<br>
<br>
Many of these settings might be arbitrary and even unnecessary, but may still give us some ideas for new defaults.<div class="im HOEnZb"><br>
<br>
<br>
Arni<br>
<br>
<br>
<br>
<br>
On Thu, 22 Mar 2012, Ian Taylor wrote:<br>
<br>
</div><div class="HOEnZb"><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi ADMB Users,<br>
<br>
The default memory settings in ADMB are out of date and I've been tasked with coming up with replacements that will work for reasonable sized models (big models will still require manual settings). It occurs to me that it makes sense to survey what common requirements of ADMB users might be.<br>
<br>
Have you been required to change the memory settings for your model using either commands like the following in the TOP_OF_MAIN_SECTION,<br>
<br>
arrmblsize=500000;<br>
gradient_structure::set_<u></u>GRADSTACK_BUFFER_SIZE(200000);<br>
gradient_structure::set_<u></u>CMPDIF_BUFFER_SIZE(2100000);<br>
gradient_structure::set_MAX_<u></u>NVAR_OFFSET(500);<br>
<br>
or through command line arguments like -ams, -gbs, -cbs, or -mno?<br>
<br>
If so, and if you've put thought into the choices (rather than blindly picking values), could you send me your settings in a reply to this email?<br>
<br>
Thanks,<br>
<br>
-Ian<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>