<HTML><HEAD></HEAD>
<BODY dir=ltr>
<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>
<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>