<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">If you are an academic, you may also want to check out the IPOPT-PARDISO binaries for Mac recently posted at the bottom of the page at <a href="http://www.pardiso-project.org/index.php?p=manual" class="">http://www.pardiso-project.org/index.php?p=manual</a>. I’ve found them to be significantly faster than the MUMPS-based builds I’ve created in the past.</div><div class=""><br class=""></div><div class=""> Ray</div><div class=""><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-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; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div class="">-- </div><div class="">Ray Zimmerman</div><div class="">Senior Research Associate</div><div class="">B30 Warren Hall, Cornell University, Ithaca, NY 14853 USA</div><div class="">phone: (607) 255-9645</div></span></div></span></div></span></div></span></div></div>
</div>
<div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 9, 2015, at 8:13 PM, Tony Kelman <<a href="mailto:kelman@berkeley.edu" class="">kelman@berkeley.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">I don't think it's going to be fixed unless someone who uses the combination of OSX, Matlab, and Ipopt finds and proposes a fix. I'll gladly review any patches to address this if someone can come up with something to try changing in the code.<br class=""><br class="">There are interfaces to Ipopt from all of Python, R, and Julia. As I understand it, the Python and R interfaces require compiling some mex-like glue code. The Julia interface does not, all you need is a compiled ipopt.dylib (or dll or so) and the Julia wrappers work through the existing C interface, no compiled glue code required. I do not believe there are precompiled binaries posted anywhere for the Python or R wrappers, but I could be wrong. The Julia package Ipopt.jl is set up in such a way that, on OSX or Windows, it automatically downloads a compiled Ipopt binary when you install it via Pkg.add("Ipopt"). On Linux it needs to compile Ipopt from source, or you can point it to an existing libipopt.so if you already have one available.<br class=""><br class="">Redistributing binaries of MA57 is not allowed by the HSL license without paying an additional license fee. The Matlab interface to Ipopt is able to use the binary version of MA57 that Matlab itself distributed (and uses for the sparse "ldl" function), but this may be at least partially the cause of the instability you're hitting on OSX. If you ask for linear_solver mumps, does the Matlab interface still crash?<br class=""><br class="">The Python, R, and Julia interfaces to Ipopt are not going to be able to distribute precompiled MA57 binaries for licensing reasons (without some organization paying the fee that Mathworks did). They can however use the linear solver loader functionality in Ipopt. You can compile a binary of Ipopt using just Mumps, but if you select linear_solver ma57 and you put a libhsl.dylib (or dll or so) file somewhere on the path or next to libipopt, it can dynamically load and use it.<br class=""><br class="">With some additional work, it might also be possible to install the redistributable Matlab Compiler Runtime which should also include a binary of ma57, and try using that in Ipopt via the linear solver loader from one of these other languages. As far as I'm aware this has not yet been tried.<br class=""><br class="">-Tony<br class=""><br class=""><br class="">-----Original Message----- From: Anil Rao<br class="">Sent: Monday, March 09, 2015 4:54 PM<br class="">To: <a href="mailto:ipopt@list.coin-or.org" class="">ipopt@list.coin-or.org</a><br class="">Subject: [Ipopt] More Mac Mex File Crashes<br class=""><br class=""><br class="">All,<br class=""><br class="">I have reported this problem before, but I am reporting it again because it seems as if it has not been fixed. I continually get crashes when I run the Mac OS-X versions of the precompiled IPOPT mex files. I do not know why the crash occurs, but it happens frequently and it seems as if it is specific to the Mac. An example of the crash is shown the following crash dump file.<br class=""><br class="">To be honest, I have no idea why such a problem exists on a Mac (which is UNIX, so I would expect better reliability). This problem does not seem to occur on a Windows machine (makes me want to switch to Windows, perish the thought!). Anyway, any help is greatly appreciated.<br class=""><br class="">On a separate note, are there IPOPT mex files (or equivalent) for languages such as Python, R, or Julia? If so, has anyone uploaded precompiled versions of such executables for these other languages? Finally, would any such mex files have MA57 capability, or would they be limited to just being able to use Mumps?<br class=""><br class="">Thanks in advance for any help anyone can provide.<br class=""><br class="">Anil Rao<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">------------------------------------------------------------------------<br class=""> abort() detected at Mon Mar 9 19:45:44 2015<br class="">------------------------------------------------------------------------<br class=""><br class="">Configuration:<br class=""> Crash Decoding : Disabled<br class=""> Crash Mode : continue (default)<br class=""> Current Graphics Driver: Unknown hardware<br class=""> Current Visual : Quartz<br class=""> Default Encoding : ISO-8859-1<br class=""> Host Name : Anils-MacBook-Pro.local<br class=""> MATLAB Architecture : maci64<br class=""> MATLAB Root : /Applications/MATLAB_R2015a.app<br class=""> MATLAB Version : 8.5.0.197613 (R2015a)<br class=""> OpenGL : hardware<br class=""> Operating System : Darwin 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64<br class=""> Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel<br class=""> Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode<br class=""> Window System : Quartz<br class=""><br class="">Fault Count: 1<br class=""><br class=""><br class="">Abnormal termination:<br class="">abort()<br class=""><br class="">Register State (from fault):<br class=""> RAX = 000000011c373af8 RBX = 0000000000000000<br class=""> RCX = 0000000000000003 RDX = 000000011c37209c<br class=""> RSP = 0000000000000016 RBP = 00007fff8d7f09a7<br class=""> RSI = 000000011c372080 RDI = 000000011c380000<br class=""><br class=""> R8 = 0000000000000006 R9 = 00000001513467a5<br class=""> R10 = 000000011c372660 R11 = 000000011c380000<br class=""> R12 = 00007f9497aa2600 R13 = 000000011c3720b0<br class=""> R14 = 00007fff8d7f142f R15 = 0000000000000000<br class=""><br class=""> RIP = 00004d031c3720d0 RFL = 000000011c3720d0<br class=""><br class=""> CS = 000000011c3722b0 FS = 000000011c3720e0 GS = 00007fff9c0c4b53<br class=""><br class="">Stack Trace (from fault):<br class="">[ 0] 0x000000011044e964 /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00031076 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052<br class="">[ 1] 0x000000011045202b /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00045099 _ZN2fl4test17terminate_handledEv+00000763<br class="">[ 2] 0x0000000110451ac7 /Applications/MATLAB_R2015a.app/bin/maci64/libmwfl.dylib+00043719 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000119<br class="">[ 3] 0x000000010ff74f9b /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00380827 _Z32mnRunPathDependentInitializationv+00002875<br class="">[ 4] 0x000000010ff75217 /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00381463 _Z32mnRunPathDependentInitializationv+00003511<br class="">[ 5] 0x000000010ff74908 /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00379144 _Z32mnRunPathDependentInitializationv+00001192<br class="">[ 6] 0x000000010ff742cc /Applications/MATLAB_R2015a.app/bin/maci64/libmwmcr.dylib+00377548 _Z22mnInstallCrashHandlersv+00000236<br class="">[ 7] 0x00007fff9385ef1a /usr/lib/system/libsystem_platform.dylib+00020250 _sigtramp+00000026<br class="">[ 8] 0x0000000000000000 <unknown-module>+00000000<br class="">[ 9] 0x00007fff9c0c4b53 /usr/lib/system/libsystem_c.dylib+00383827 abort+00000129<br class="">[ 10] 0x0000000151397fb6 /Users/anilvrao/Documents/MATLAB/GPOPS-II/R2-May-2014/nlp/ipopt/ipopt.mexmaci64+03760054 uw_init_context_1+00000134<br class=""><br class=""><br class="">This error was detected while a MEX-file was running. If the MEX-file<br class="">is not an official MathWorks function, please examine its source code<br class="">for errors. Please consult the External Interfaces Guide for information<br class="">on debugging MEX-files.<br class=""><br class="">If this problem is reproducible, please submit a Service Request via:<br class=""> <a href="http://www.mathworks.com/support/contact_us/" class="">http://www.mathworks.com/support/contact_us/</a><br class=""><br class="">A technical support engineer might contact you with further information.<br class=""><br class="">Thank you for your help.<br class=""><br class=""><br class=""><br class="">Anil V. Rao, PhD<br class="">Associate Professor<br class="">Department of Mechanical and Aerospace Engineering<br class="">University of Florida<br class="">Gainesville, FL 32611-6250<br class="">Tel: (352) 672-1529<br class="">E-mail: <a href="mailto:anilvrao@gmail.com" class="">anilvrao@gmail.com</a><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">_______________________________________________<br class="">Ipopt mailing list<br class=""><a href="mailto:Ipopt@list.coin-or.org" class="">Ipopt@list.coin-or.org</a><br class="">http://list.coin-or.org/mailman/listinfo/ipopt <br class="">_______________________________________________<br class="">Ipopt mailing list<br class="">Ipopt@list.coin-or.org<br class="">http://list.coin-or.org/mailman/listinfo/ipopt<br class=""><br class=""></div></blockquote></div><br class=""></body></html>