<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Not owning an actual Mac myself, all I can say here is keep trying
different combinations of Blas and Lapack implementations (BUILD vs -framework
Accelerate vs -lblas), and GCC vs Clang compilers for the C and C++ components,
different settings for -stdlib=libstdc++ vs -stdlib=libc++ (in ADD_CXXFLAGS,
probably), and shared vs static linking (--enable-matlab-static).</DIV>
<DIV> </DIV>
<DIV>Based on tickets #250 and #252, the problem might be due to the exceptions
that Ipopt throws internally for flow control in different unusual algorithmic
conditions. Your code is apparently especially susceptible to those numerical
issues that cause problems. It’s possible something could be done in Matlab mex
interface code to mitigate this or make things more robust. But as I’ve said
before, I don’t personally use Matlab any more, or own a Mac. I only use Ipopt
via its C API these days with the Julia bindings, though we don’t have access to
Matlab’s MA57 there which is an issue. Acceptable loss for now, in exchange for
freedom from Matlab.</DIV>
<DIV> </DIV>
<DIV>If Mumps 5.0 can provide multithreading and be faster than MA57, or if
someone wants to have a look at Elemental’s new sparse LDL which can return
inertia and should be usable by Ipopt, I think those are good long-term projects
worth looking into, since they can benefit everyone whether or not you use
Matlab.</DIV>
<DIV> </DIV>
<DIV>-Tony</DIV>
<DIV> </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=anilvrao@gmail.com
href="mailto:anilvrao@gmail.com">Anil Rao</A> </DIV>
<DIV><B>Sent:</B> Monday, January 19, 2015 7:52 AM</DIV>
<DIV><B>To:</B> <A title=ipopt@list.coin-or.org
href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> [Ipopt] Continual Crashes with Mac OS-X MATLAB Mex
Files</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr>
<DIV>
<DIV>
<DIV>
<DIV>All,<BR><BR></DIV>I am writing again about continual crashes in Mac OS-X
with MATLAB. It does not matter whether we compile our own Mac OS-X
mex file or use the precompiled mex files. In either case the IPOPT mex
file causes fatal crashes in MATLAB. I note that the fatal crash occurs
using either the built-in version of MA57 or Mumps. Much to my surprise
the crashes with Mac versions of MATLAB do not seem to exist in
Windows.<BR><BR></DIV>I do not know what to do to fix the problem. My goal
is to compile a "crash-free" mex file using the MATLAB MA57 library. In
other words, I do not want to create a mex file that requires the MA57 source
code because I want to be able to distribute the mex file. <BR><BR></DIV>I
am grateful if somebody can help. <BR><BR></DIV>Regards,<BR><BR>Anil
Rao<BR><BR clear=all>
<DIV>
<DIV>
<DIV>
<DIV>
<DIV><BR>-- <BR>
<DIV class=gmail_signature>
<DIV dir=ltr>Anil V. Rao, PhD<BR>Associate Professor<BR>Department of Mechanical
and Aerospace Engineering<BR>University of Florida<BR>Gainesville, FL
32611-6250<BR>Tel: (352) 672-1529<BR>E-mail: <A
href="mailto:anilvrao@gmail.com"
target=_blank>anilvrao@gmail.com</A><BR></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Ipopt mailing
list<BR>Ipopt@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/ipopt<BR></DIV></DIV></DIV></BODY></HTML>