[ADMB Users] memory units
mbrooks at ufl.edu
Wed Oct 13 19:41:28 PDT 2010
I'm still having trouble allocating memory.
You said "any value greater than 2^31 for any of these inputs will be
truncated, rounded, or otherwise produce unpredictable results"
So how do I allocate more than 2GB?
In my TOP_OF_MAIN_SECTION I have
arrmblsize = 40000000000;
Of course this gets truncated or rounded down.
The program stops and I get this in my output file:
No memory for dvar_vectors
Need to increase ARRAY_MEMBLOCK_SIZE parameter
In gradient_structure declaration
On Sep 10, 2010, at 3:47 PM, Ian Taylor wrote:
> Hi Mollie,
> This topic seems to be frequently asked about, so I'll add something
> about it to the ADMB FAQ: http://admb-project.org/documentation/faq
> This values should be in Bytes, so your arrmblsize = 800000000000
> Bytes = 800000000000/(1024^2) = 762939.5 MB = 800000000000/(1024^3)
> = 745 GB, which is surely more memory than your cluster has available.
> However, depending on the compiler, any value greater than 2^31 for
> any of these inputs will be truncated, rounded, or otherwise produce
> unpredictable results. Allan Hicks and I did some work on this topic
> which is available at http://admb-project.org/community/benchmarks/compilers
> You can search the users list archives at: http://groups.google.com/group/admb-users/
> On 9/10/2010 12:11 PM, Mollie Brooks wrote:
>> Hi all,
>> I'm not very good at understanding hardware.
>> I'm running ADMB on a cluster and have to specify how much memory
>> to allocate.
>> If my ADMB code has the lines
>> arrmblsize = 800000000000;
>> How do I translate this into Megabytes?
>> Mollie Brooks
>> Ph.D. Candidate
>> NSF IGERT Fellow
>> Biology Department
>> University of Florida
>> mbrooks at ufl.edu
>> Users mailing list
>> Users at admb-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users