<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ipopt Users,<br>
<br>
I am having some problems with the matlab interface (the one in
/Ipopt/contrib/MatlabInterface). The issue is whenever I use the
limited memory bfgs update matlab crashes (without a crash report),
i.e., it just closes.<br>
<br>
I am using Ipopt 3.10.2 on Ubuntu 10.04 64bit with matlab R2010b
64bit. I compiled Ipopt using gcc 4.4 with the following specs (and
set PATH and LD_LIBRARY_PATH appropriately),<br>
<br>
<font face="Courier New, Courier, monospace" size="-1">./configure
--prefix=/opt/Ipopt-3.10.2/install_x64_mat \<br>
--with-blas="/usr/lib/atlas/libblas.so.3gf.0" \<br>
--with-lapack="/usr/lib/atlas/liblapack.so.3gf.0" \<br>
--with-matlab-home="/opt/MATLAB/R2010b" \<br>
CC=gcc-4.4 CXX=g++-4.4 F77=gfortran-4.4 \<br>
ADD_CXXFLAGS="-ansi -D_GNU_SOURCE -fexceptions -fPIC
-fno-omit-frame-pointer -pthread" \<br>
ADD_CFLAGS="-ansi -D_GNU_SOURCE -fexceptions -fPIC
-fno-omit-frame-pointer -pthread" \<br>
ADD_FFLAGS="-fexceptions -fPIC
-fno-omit-frame-pointer -pthread"</font><br>
<br>
I also compiled the 64bit mex file using auto generated makefile
(with no problems) and placed it on the matlab path. Running the
provided test examples 'examplehs038.m', 'examplehs071.m', works
fine; however, when I try 'examplehs051.m', which uses the
limited-memory update, matlab immediately crashes.<br>
<br>
I suspect I didn't configure the compiler settings properly. <br>
<br>
If anyone has had the same issue, some advice would be much
appreciated.<br>
<br>
Thanks,<br>
<br>
Ian. <br>
<br>
<br>
</body>
</html>