[Bonmin-tickets] Re: [Bonmin] #7: Bonmin fails to compile on MacOS
X (ppc)
Bonmin
coin-trac at coin-or.org
Sun Mar 4 09:10:50 EST 2007
#7: Bonmin fails to compile on MacOS X (ppc)
---------------------+------------------------------------------------------
Reporter: tautschn | Owner: somebody
Type: defect | Status: new
Priority: blocker | Component: component1
Version: | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by andreasw):
Hi Michael,
I'm was worried that this problem would happen at some point. I know what
the problem is, but I don't know a quick solution of this, except for the
following work around:
Please compile BLAS (unless it is already installed and can be access with
-lblas) and LAPACK yourself on your system. For LAKACP, you only need to
compile the following files (if you don't want to compile everything):
{{{
LAPACK_FILES = \
dgetf2.f \
dgetrf.f \
dgetrs.f \
dlae2.f \
dlaev2.f \
dlamch.f \
dlanst.f \
dlansy.f \
dlapy2.f \
dlarf.f \
dlarfb.f \
dlarfg.f \
dlarft.f \
dlartg.f \
dlascl.f \
dlaset.f \
dlasr.f \
dlasrt.f \
dlaswp.f \
dlassq.f \
dlatrd.f \
dorg2l.f \
dorg2r.f \
dorgql.f \
dorgqr.f \
dorgtr.f \
dpotf2.f \
dpotrf.f \
dpotrs.f \
dsteqr.f \
dsterf.f \
dsyev.f \
dsytd2.f \
dsytrd.f \
ieeeck.f \
ilaenv.f \
iparmq.f
}}}
Once you have done this, rerun configure with the options {{{--with-
blas="-L$MYLIBDIR -lmyblas"}}} and {{{--with-lapack="-L$MYLIBDIR
-lmylapack"}}}, where I assume that you have the libraries
{{{libmyblas.a}}} and {{{libmylapacl.a}}} in {{{$MYLIBDIR}}}. You can of
course adapt this however you want.
Sorry for that. At some point, we need to clean this up. The problem is
that both CoinUtils and Ipopt require BLAS and LAPACK, and currently both
include those libraries in their libraries. Only in Bonmin, both Ipopt
and CoinUtils are used together...
I hope this helps,
Andreas
--
Ticket URL: <https://projects.coin-or.org/Bonmin/ticket/7#comment:1>
Bonmin <http://projects.coin-or.org/Bonmin>
Basic Open-source Nonlinear Mixed INteger programming
More information about the Bonmin-tickets
mailing list