[ADMB Users] 4 Gb limits

John Sibert sibert at hawaii.edu
Sat Nov 19 18:31:48 PST 2011


Nope. The value of the option behind -cbs is declared as a long long 
int. See nh99/xmodelm3.cpp.

Ian Taylor and Alan Hicks resolved this issue for -gbs.

John



On 11/19/2011 03:57 PM, Weihai Liu wrote:
> I would guess the size for cbs was defined as an unsigned long, which 
> is 32 bit, its range 0 to 4294967295, so 4294967296 will be just out 
> of range, although it = 2^32.
>
>
> weihai
>
> On Sat, Nov 19, 2011 at 8:23 PM, John Sibert <sibert at hawaii.edu 
> <mailto:sibert at hawaii.edu>> wrote:
>
>     Using simple.tpl
>
>     simple -cbs 4294967295 works fine
>     simple -cbs 4294967296 hangs
>
>     ubuntu 11.10, 64 bit, 32Gb RAM, gcc 4.6.1
>
>     Any thoughts?
>     John
>
>     -- 
>     John Sibert
>     Emeritus Researcher, SOEST
>     University of Hawaii at Manoa
>
>     Visit the ADMB project http://admb-project.org/
>
>     _______________________________________________
>     Users mailing list
>     Users at admb-project.org <mailto:Users at admb-project.org>
>     http://lists.admb-project.org/mailman/listinfo/users
>
>

-- 
John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa

Visit the ADMB project http://admb-project.org/




More information about the Users mailing list