<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>That is what I essentially did. I just wanted to post out the problem that was already addressed by Ted.</div><div>It's great that Ipopt has such a good crowd taking care of business.</div><div><br></div><div>Best,</div><div><br></div><div>Marco </div><div><br><span style="background-color: rgba(255, 255, 255, 0);">Dipl.-Math. Marco Rozgic<br>Department of the Theory of Electrical Engineering at the<br>Helmut Schmidt University<br>University of the Federal Armed Forces Hamburg<br>Tel: <a href="tel:+49%20(0)%2040%206541%203647" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0/0">+49 (0) 40 6541 3647</a><br>Location: <a href="x-apple-data-detectors://0/1" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="0/1">Holstenhofweg 85, 22043 Hamburg Building</a> H3 Room 007</span></div><div><br>On 13.01.2015, at 21:08, Tony Kelman <<a href="mailto:kelman@berkeley.edu">kelman@berkeley.edu</a>> wrote:<br><br></div><blockquote type="cite"><div>
<div dir="ltr">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<div>There is some code that’s specific to the Matlab interface that deals with
-framework vecLib, since the mex compiler wrapper doesn’t understand that flag.
I would actually recommend just doing -lblas and -llapack because I believe the
end result should be the same.</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="ted@lehigh.edu" href="mailto:ted@lehigh.edu">Ted Ralphs</a> </div>
<div><b>Sent:</b> Tuesday, January 13, 2015 9:13 AM</div>
<div><b>To:</b> <a title="marco.rozgic@hsu-hh.de" href="mailto:marco.rozgic@hsu-hh.de">Marco Rozgic</a> </div>
<div><b>Cc:</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> Re: [Ipopt] Matlab Build with -framework
Accelerate</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">I made a new BuildTools release just a few days ago that should
address this issue. Here is the changeset:
<div> </div>
<div><a href="https://projects.coin-or.org/BuildTools/changeset/3273/">https://projects.coin-or.org/BuildTools/changeset/3273/</a><br></div>
<div> </div>
<div>For this change to propagate, though, we would need to make new releases of
all the dependent projects. I would guess that re-running autoconf on all
dependencies to produce new configure scripts would fix the issue. We'll
try to do this as quickly as possible. I believe a new stable version of Ipopt
is also in the works and that should be available within about 2 weeks, but
Stefan can confirm this. </div>
<div> </div>
<div>If you need this to be fixed quickly, I can tell you what to try yourself
in more detail.</div>
<div> </div>
<div>Cheers,</div>
<div> </div>
<div>Ted</div></div>
<div class="gmail_extra">
<div> </div>
<div class="gmail_quote">On Tue, Jan 13, 2015 at 8:14 AM, Marco Rozgic <span dir="ltr"><<a href="mailto:marco.rozgic@hsu-hh.de" target="_blank">marco.rozgic@hsu-hh.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="WORD-WRAP: break-word">Hi everybody,
<div> </div>
<div>I am currently building Ipopt 3.11.9 on MacOS 10.10 with Matlab2014b. I
managed to get a working mex file with some effort that I am willing to share.
However, afterwards I was trying to build a mex file that incorporates the
MacOS blas and lapack, wich are now given by the framework Accelerate and not
anymore by the vecLib framework. I used the configure site script and added
the following to the configure command:</div>
<div> </div>
<div><span style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); BACKGROUND-COLOR: rgb(0,0,0)">../configure
--enable-matlab-ma57 --with-blas='-framework Accelerate'
--with-lapack='-framework Accelerate</span><font color="#f5f5f5" face="Menlo"><span style="FONT-SIZE: 14px">‘</span></font> </div>
<div> </div>
<div>Afterwards I run</div>
<div> </div>
<div>make</div>
<div>make test</div>
<div>make install</div>
<div> </div>
<div>All good up to now. I create a mexopt.sh file, edit the SDKs to the
newest versions and modify the makefile for the Matlab interface. Now make
gives the following error:</div>
<div> </div>
<div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">Undefined
symbols for architecture x86_64:</div></div>
<div> </div>
<div>Followed by some lapack and blas routines that are not found, e.g.,
</div>
<div> </div>
<div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">"_dgemm_",
referenced from:</div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">
Ipopt::IpBlasDgemm(bool, bool, int, int, int, double, double const*, int,
double const*, int, double, double*, int) in libipopt.a(IpBlas.o)</div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">
_ma57td_ in libcoinhsl.a(ma57d.o)</div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">
_ma57rd_ in libcoinhsl.a(ma57d.o)</div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">
_ma57qd_ in libcoinhsl.a(ma57d.o)</div>
<div style="FONT-SIZE: 14px; FONT-FAMILY: menlo; COLOR: rgb(245,245,245); MARGIN: 0px; BACKGROUND-COLOR: rgb(0,0,0)">
_ma57od_ in libcoinhsl.a(ma57d.o)</div></div>
<div> </div>
<div>So I figure that the Acceleration framework is not passed correctly or
included correctly.</div>
<div>Does anybody have an idea how to work around that issue or resolve the
problem?</div>
<div> </div>
<div>Best,</div>
<div> </div>
<div>Marco</div>
<div> </div>
<div>
<div>
<div style="WORD-WRAP: break-word; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px">--</div>
<div style="WORD-WRAP: break-word; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); FONT: 12px helvetica; LETTER-SPACING: normal; TEXT-INDENT: 0px">Dipl.-Math.
Marco Rozgic<br>Department of the Theory of Electrical Engineering at
the<br>Helmut Schmidt University<br>University of the Federal Armed Forces
Hamburg<br>Tel: <a href="tel:%2B49%20%280%29%2040%206541%203647" target="_blank" value="+494065413647">+49 (0) 40 6541 3647</a><br>Location: Holstenhofweg 85,
22043 Hamburg Building H3 Room 007</div></div>
<div> </div></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><br clear="all">
<div> </div>-- <br>
<div class="gmail_signature">
<div dir="ltr">Dr. Ted Ralphs<br>Professor, Lehigh University<br>(610)
628-1280<br>ted 'at' lehigh 'dot' edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br></div></div></div>
<p>
</p><hr>
_______________________________________________<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">http://list.coin-or.org/mailman/listinfo/ipopt</a><br></div></div></div>
</div></blockquote></body></html>