<div dir="ltr">Thanks Dave,<div><br></div><div>Committed the changes</div><div><br></div><div><a href="http://www.admb-project.org/redmine/projects/issues/repository/revisions/2740/diff/">http://www.admb-project.org/redmine/projects/issues/repository/revisions/2740/diff/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 28, 2014 at 1:25 PM, dave fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>On 11/28/2014 03:14 PM, Johnoel Ancheta
wrote:<br>
<br>
I posted the change. <br>
<br>
explicity oine gets rid of <br><span class="">
<br>
<br>
<br>
struct {<br>
integer mp, lp;<br>
doublereal gtol, stpmin, stpmax;<br>
} lb3_1 = { .mp = 6, .lp = 6, .gtol = .9, .stpmin = 1e-20, .stpmax
= 1e20};<br>
<br></span>
and replaces it with the two step<span class=""><br>
<br>
struct kkkludge{<br>
integer mp, lp;<br>
doublereal gtol, stpmin, stpmax;<br>
};<br>
struct kkkludge lb3_1 = { 6, 6, 0.9, 1e-20, 1e20};<br>
<br></span>
where you first define the kkludge struct and then define an
instance and initialize it without the dot stuff.<br>
<br>
<br>
<br>
<br>
</div>
<blockquote type="cite"><span class="">The intel also complains. Let me know if you have a
solution.<br>
<br>
On Friday, November 28, 2014, dave fournier <<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>>
wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">I built admb
on a quad core arm processor in a TV dongle. Wanted to compare
the power to my old 486.<br>
<br>
The 486 took 38 seconds to run the catage example. The TV dongle
runs it in less than a second. Neat.<br>
<br>
However the version of gcc chokes on the code in lbfgs.cpp.
Around line 250 it seems to prefer a more pedestrian way of<br>
declaring and initializing a struct.<br>
<br>
/* Common Block Declarations */<br>
<br>
#if !defined(__SUNPRO_CC) && !defined(__OPEN64__)
&& !defined(_MSC_VER)<br>
<br>
struct kkkludge{<br>
integer mp, lp;<br>
doublereal gtol, stpmin, stpmax;<br>
};<br>
struct kkkludge lb3_1 = { 6, 6, 0.9, 1e-20, 1e20};<br>
<br>
// comment out<br>
/*<br>
struct kkkludge lb3_1 = { 6, 6, 0.9, 1e-20, 1e20};<br></span><span class="">
*/<br>
<br>
there appears to be a problem with "."<br>
<br>
Changin the line<br>
<br>
struct kkkludge lb3_1 = { 6, 6, 0.9, 1e-20, 1e20};<br>
<br>
to<br>
<br>
struct kkkludge lb3_1 = { 6, 6, .9, 1e-20, 1e20};<br>
<br>
produces an error.<br>
_______________________________________________<br>
Users mailing list<br>
<a>Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
</span></blockquote>
</blockquote>
<br>
</div>
</blockquote></div><br></div>