<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: [ADMB Users] survey of memory settings in ADMB</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Colleagues<BR>
<BR>
For the most memory intensive model that I've built the settings were as follows:<BR>
<BR>
if(bits==64)<BR>
{<BR>
arrmblsize =15000000; <BR>
gradient_structure::set_NUM_DEPENDENT_VARIABLES(20000); <BR>
gradient_structure::set_GRADSTACK_BUFFER_SIZE(44702000); <BR>
gradient_structure::set_CMPDIF_BUFFER_SIZE (1590000000); <BR>
gradient_structure::set_MAX_NVAR_OFFSET(1800);<BR>
} else{<BR>
//32 bit allocations<BR>
arrmblsize =15000000; <BR>
gradient_structure::set_NUM_DEPENDENT_VARIABLES(20000); <BR>
gradient_structure::set_GRADSTACK_BUFFER_SIZE(30000000); <BR>
gradient_structure::set_CMPDIF_BUFFER_SIZE (560000000); <BR>
gradient_structure::set_MAX_NVAR_OFFSET(1800);<BR>
}<BR>
<BR>
Nathan<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: users-bounces@admb-project.org on behalf of Arni Magnusson<BR>
Sent: Fri 3/23/2012 12:27 PM<BR>
To: Ian Taylor<BR>
Cc: users@admb-project.org<BR>
Subject: Re: [ADMB Users] survey of memory settings in ADMB<BR>
<BR>
Thanks for taking this initiative, Ian.<BR>
<BR>
The Coleraine stock assessment model had these settings in the<BR>
TOP_OF_MAIN_SECTION back in 2001,<BR>
<BR>
arrmblsize = 250000;<BR>
gradient_structure::set_GRADSTACK_BUFFER_SIZE(250000);<BR>
gradient_structure::set_CMPDIF_BUFFER_SIZE(1500000);<BR>
gradient_structure::set_MAX_NVAR_OFFSET(500);<BR>
gradient_structure::set_NUM_DEPENDENT_VARIABLES(500);<BR>
<BR>
and by 2003 the TOP_OF_MAIN_SECTION had changed to:<BR>
<BR>
arrmblsize = 5000000;<BR>
gradient_structure::set_GRADSTACK_BUFFER_SIZE(560000);<BR>
gradient_structure::set_CMPDIF_BUFFER_SIZE(15000000);<BR>
gradient_structure::set_MAX_NVAR_OFFSET(500);<BR>
gradient_structure::set_NUM_DEPENDENT_VARIABLES(500);<BR>
<BR>
I presume these changes were made because users had been running into<BR>
memory limits relating to 'arrmblsize', 'gradstack_buffer_size', and<BR>
'cmpdif_buffer_size'. But I can't vouch whether the authors "put thought<BR>
into the choices" or not.<BR>
<BR>
Personally I have almost never run into memory limits, but I hear ADMB-RE<BR>
users need to increase the memory limits in most applications.<BR>
<BR>
Arni<BR>
<BR>
<BR>
<BR>
On Thu, 22 Mar 2012, Ian Taylor wrote:<BR>
<BR>
> Hi ADMB Users,<BR>
><BR>
> The default memory settings in ADMB are out of date and I've been tasked<BR>
> with coming up with replacements that will work for reasonable sized<BR>
> models (big models will still require manual settings). It occurs to me<BR>
> that it makes sense to survey what common requirements of ADMB users<BR>
> might be.<BR>
><BR>
> Have you been required to change the memory settings for your model<BR>
> using either commands like the following in the TOP_OF_MAIN_SECTION,<BR>
><BR>
> arrmblsize=500000;<BR>
> gradient_structure::set_GRADSTACK_BUFFER_SIZE(200000);<BR>
> gradient_structure::set_CMPDIF_BUFFER_SIZE(2100000);<BR>
> gradient_structure::set_MAX_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<BR>
> picking values), could you send me your settings in a reply to this<BR>
> email?<BR>
><BR>
> Thanks,<BR>
><BR>
> -Ian<BR>
><BR>
_______________________________________________<BR>
Users mailing list<BR>
Users@admb-project.org<BR>
<A HREF="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</A><BR>
</FONT>
</P>
</BODY>
</HTML>