If you set the (file_)print_level large enough, you can see what matrix entries are given to the linear solver, and what the linear solver returns. Maybe there are some Nan/Inf ?<br><br><div class="gmail_quote">On Fri, Oct 14, 2011 at 4:10 PM, Ray Zimmerman <span dir="ltr"><<a href="mailto:rz10@cornell.edu">rz10@cornell.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Here's an update ...<div><br></div><div>1. As I suspected, it's unrelated to the hardware specs. When I rebooted the machine under Snow Leopard, my MEX builds work fine. I only mention this since I have encountered software for which the 64 GB of RAM triggered bugs.</div>
<div><br></div><div>2. After upgrading to Mac OS X 10.7.2 and Xcode 4.2, I see no change.</div><div><br></div><div>3. I was able to successfully compile Ipopt and the MEX interface using MA57 as the linear solver instead of MUMPS. In this case, the 'make test' step for Ipopt does not show any failures, at least in the several attempts I tried. However, the MEX file, while it executes, does not pass most of my tests and still spits out lots of ...</div>
<div class="im"><div><br></div><div><div style="word-wrap:break-word"><div><div><font face="Courier"> WARNING: Problem in step computation; switching to emergency mode.</font></div></div></div></div><div><br></div></div>
<div>... even for the examples in Ipopt/contrib/MatlabInterface/examples.</div><div><br></div><div>Any ideas?</div><div><br></div><div><div class="im"><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>
-- </div><div>Ray Zimmerman</div><div>Senior Research Associate</div><div>419A Warren Hall, Cornell University, Ithaca, NY 14853</div><div>phone: <a href="tel:%28607%29%20255-9645" value="+16072559645" target="_blank">(607) 255-9645</a></div>
<br></span></div></span></div></span><br></span><br>
</div>
<br></div><div><div><div></div><div class="h5"><div>On Oct 12, 2011, at 12:49 PM, Ray Zimmerman wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="h5"><div style="word-wrap:break-word">I used the same basic instructions as in my previous post about building Ipopt and the Matlab interface on Mac OS X Snow Leopard (<a href="http://list.coin-/" target="_blank">http://list.coin-</a><a href="http://or.org/pipermail/ipopt/2011-October/002609.html" target="_blank">or.org/pipermail/ipopt/2011-October/002609.html</a>) to attempt to build them on a different machine running OS X Lion 10.7.1, with the dev tools from XCode 4.1 and the gfortran for Lion (gfortran-lion-5666-3.pkg from <a href="http://r.research.att.com/tools/" target="_blank">http://r.research.att.com/tools/</a>).<div>
<br></div><div>Everything builds just fine, but when I run 'make test' for Ipopt in step 4. I get inconsistent results. Sometimes it passes all 3 tests, sometimes it fails one or more of the tests, and when they fail, it's always in the same way, with the following sort of output.</div>
<div><br></div><div><font face="Courier">iter objective inf_pr inf_du lg(mu) ||d|| lg(rg) alpha_du alpha_pr ls</font></div><div><div><font face="Courier"> 0 1.6109693e+01 1.12e+01 1.21e+01 0.0 0.00e+00 - 0.00e+00 0.00e+00 0</font></div>
<div><font face="Courier">WARNING: Problem in step computation; switching to emergency mode.</font></div><div><font face="Courier"> 1r 1.6109693e+01 1.12e+01 9.99e+02 1.1 0.00e+00 20.0 0.00e+00 0.00e+00R 1</font></div>
<div><font face="Courier">WARNING: Problem in step computation; switching to emergency mode.</font></div><div><font face="Courier">Restoration phase is called at point that is almost feasible,</font></div><div><font face="Courier"> with constraint violation 0.000000e+00. Abort.</font></div>
<div><font face="Courier">Restoration phase in the restoration phase failed.</font></div><div><br></div></div><div>I get this with both 32-bit and 64-bit builds.</div><div><br></div><div>I assume this is related to MUMPS? Any ideas?</div>
<div><br></div><div>I should mention that this is on a 12-core Mac Pro with 64 GB RAM, in case those specs would somehow come into play. I've also noticed that using a MEX file on this machine that I built under Snow Leopard on my MacBook Pro often results in failures as well with the same warning about "problem in step computation".</div>
<div><br></div><div>My next step is to try building with Pardiso or another linear solver to see if that fixes it, but if anyone has any ideas what might be causing this, I'd love to hear them.</div><div><br></div><div>
<span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<span style="border-collapse:separate;font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>
-- </div><div>Ray Zimmerman</div><div>Senior Research Associate</div><div>419A Warren Hall, Cornell University, Ithaca, NY 14853</div><div>phone: <a href="tel:%28607%29%20255-9645" value="+16072559645" target="_blank">(607) 255-9645</a></div>
<br></span></div></span></div></span><br></span><br>
</div>
<br></div></div></div>_______________________________________________<br>Ipopt mailing list<br><a href="mailto:Ipopt@list.coin-or.org" target="_blank">Ipopt@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br></blockquote></div><br>