<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi All,<br>
<br>
I tried using static libraries with the libcoin blas/lapack with
gcc 4.3 (officially supported by matlab R2010b) and everything
again builds ok; however, this doesn't solve the problem when the
limited memory option is switched on. <br>
<br>
<font face="Courier New, Courier, monospace" size="-1">./configure
--prefix=/opt/Ipopt-3.10.2/install_x64_mat \<br>
--with-matlab-home="/opt/MATLAB/R2010b" \<br>
CC=gcc-4.3 CXX=g++-4.3 F77=gfortran-4.3 \<br>
--disable-shared \<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>
Anybody have any suggestions ?<br>
<br>
Thanks,<br>
Ian.<br>
<br>
<br>
<br>
On 10/01/2012 06:55 PM, Ian Washington wrote:<br>
</div>
<blockquote
cite="mid:27657_1349132357_q91Mx9Yj025065_506A1F49.1030607@mcmaster.ca"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ipopt mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/ipopt">http://list.coin-or.org/mailman/listinfo/ipopt</a>
</pre>
</blockquote>
<br>
</body>
</html>