<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/28/2014 03:14 PM, Johnoel Ancheta
wrote:<br>
<br>
I posted the change. <br>
<br>
explicity oine gets rid of <br>
<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>
and replaces it with the two step<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>
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
cite="mid:CAJMx2XVhpDk3PG5yCuT0pOvw5EPs1bXNhmRF_bFpyv_NF=JCcA@mail.gmail.com"
type="cite">The intel also complains. Let me know if you have a
solution.<br>
<br>
On Friday, November 28, 2014, dave fournier <<a
moz-do-not-send="true" href="mailto:davef@otter-rsch.com">davef@otter-rsch.com</a>>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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>
*/<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 moz-do-not-send="true">Users@admb-project.org</a><br>
<a moz-do-not-send="true"
href="http://lists.admb-project.org/mailman/listinfo/users"
target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
</blockquote>
</blockquote>
<br>
</body>
</html>