<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Mollie,<br>
This topic seems to be frequently asked about, so I'll add something
about it to the ADMB FAQ: <a
href="http://admb-project.org/documentation/faq">http://admb-project.org/documentation/faq</a><br>
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.<br>
<br>
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 <a
href="http://admb-project.org/community/benchmarks/compilers">http://admb-project.org/community/benchmarks/compilers</a><br>
<br>
You can search the users list archives at:
<a class="moz-txt-link-freetext" href="http://groups.google.com/group/admb-users/">http://groups.google.com/group/admb-users/</a><br>
-Ian<br>
<br>
On 9/10/2010 12:11 PM, Mollie Brooks wrote:
<blockquote cite="mid:B0F932FF-08D9-413C-BB2D-9A95974D28CB@ufl.edu"
type="cite">Hi all,
<div>I'm not very good at understanding hardware. </div>
<div>I'm running ADMB on a cluster and have to specify how much
memory to allocate.</div>
<div>If my ADMB code has the lines</div>
<div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>arrmblsize
= 800000000000;</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>gradient_structure::set_GRADSTACK_BUFFER_SIZE(1.e7);</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>gradient_structure::set_CMPDIF_BUFFER_SIZE(1.e7);</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>gradient_structure::set_MAX_NVAR_OFFSET(5000);</div>
<div><span class="Apple-tab-span" style="white-space: pre;"> </span>gradient_structure::set_NUM_DEPENDENT_VARIABLES(5000);</div>
<div><br>
</div>
<div>How do I translate this into Megabytes?</div>
<div>thanks,</div>
<div>Mollie</div>
<div><br>
</div>
<div apple-content-edited="true">
<div style="word-wrap: break-word;">
<div><span class="Apple-style-span" style="font-size: 12px;">
<div>Mollie Brooks</div>
<div>Ph.D. Candidate</div>
<div>NSF IGERT Fellow</div>
<div>Biology Department</div>
<div>University of Florida</div>
<div><a moz-do-not-send="true"
href="mailto:mbrooks@ufl.edu">mbrooks@ufl.edu</a></div>
<div><a moz-do-not-send="true"
href="http://www.zoology.ufl.edu/mbrooks">www.zoology.ufl.edu/mbrooks</a></div>
<div><br>
</div>
</span></div>
</div>
<br class="Apple-interchange-newline">
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>