[ADMB Users] survey of memory settings in ADMB
John Sibert
sibert at hawaii.edu
Fri Mar 23 10:19:49 PDT 2012
Hi Ian,
Not wanting to think about it too much, I go big.
Here is what I use in one model:
> #ifdef __x86_64
> // 64 bit configuration
> #ifdef USE_ADMPI
> arrmblsize= 10000000;
> gradient_structure::set_CMPDIF_BUFFER_SIZE( 150000000L);
> gradient_structure::set_GRADSTACK_BUFFER_SIZE(12550000L);
> gradient_structure::set_MAX_NVAR_OFFSET(1000);
> #else
> arrmblsize= 10000000;
> gradient_structure::set_CMPDIF_BUFFER_SIZE( 1500000000L);
> gradient_structure::set_GRADSTACK_BUFFER_SIZE(50000000L);
> gradient_structure::set_MAX_NVAR_OFFSET(1000);
> #endif
> #else
> // 32 bit configuration
> arrmblsize= 1000000;
> gradient_structure::set_CMPDIF_BUFFER_SIZE( 150000000L);
> gradient_structure::set_GRADSTACK_BUFFER_SIZE( 5000000L);
> gradient_structure::set_MAX_NVAR_OFFSET(1000);
> #endif
John
John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Visit the ADMB project http://admb-project.org/
On 03/22/2012 10:49 AM, Ian Taylor wrote:
> Hi ADMB Users,
> 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.
>
> Have you been required to change the memory settings for your model
> using either commands like the following in the TOP_OF_MAIN_SECTION,
>
> arrmblsize=500000;
> gradient_structure::set_GRADSTACK_BUFFER_SIZE(200000);
> gradient_structure::set_CMPDIF_BUFFER_SIZE(2100000);
> gradient_structure::set_MAX_NVAR_OFFSET(500);
>
> or through command line arguments like -ams, -gbs, -cbs, or -mno?
>
> 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?
>
> Thanks,
> -Ian
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
More information about the Users
mailing list