<div dir="ltr">Dear Tony,<div><br></div><div>Your suggestions worked perfectly! Ipopt now works fine for me under <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Kubuntu 11.10 (64 bit).</span></div>
<div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Would it be possible to update the installation manual (I would be willing to update it myself)? </span></div>
<div style><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">1. Getting Ipopt via subversion: </span><a href="http://www.coin-or.org/Ipopt/documentation/node12.html">http://www.coin-or.org/Ipopt/documentation/node12.html</a></div>
<div style>This page refers to an outdated version of Ipopt. Perhaps the link on this page needs to be replaced with: <a href="https://projects.coin-or.org/svn/Ipopt/trunk" target="_blank" style="font-size:12.800000190734863px;font-family:arial,sans-serif">https://projects.coin-or.org/<u></u>svn/Ipopt/trunk</a></div>
<div style><br></div><div style>2. Downloading the HSL routines: <a href="http://www.coin-or.org/Ipopt/documentation/node16.html">http://www.coin-or.org/Ipopt/documentation/node16.html</a></div><div style>This page is outdated.</div>
<div style><br></div><div style>a. The page does not mention that there exists an HSL package for Ipopt including all the routines. Perhaps refer to this page: <a href="http://www.hsl.rl.ac.uk/ipopt/">http://www.hsl.rl.ac.uk/ipopt/</a></div>
<div style>b. Include in the installation instructions that after downloading the above package, you can simply put the folder under ./<span style="font-size:12.800000190734863px;font-family:arial,sans-serif">ThirdParty/HSL/ and rename it to coinhsl. Currently, this page contains a rather complex description of renaming and merging a number of files, which apparently is no longer required.</span></div>
<div style><span style="font-size:12.800000190734863px;font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:12.800000190734863px;font-family:arial,sans-serif">br,</span></div><div style><span style="font-size:12.800000190734863px;font-family:arial,sans-serif"><br>
</span></div><div style><span style="font-size:12.800000190734863px;font-family:arial,sans-serif">Joris</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 30, 2013 at 9:49 AM, Tony Kelman <span dir="ltr"><<a href="mailto:kelman@berkeley.edu" target="_blank">kelman@berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Joris,<br>
<br>
The issue is because you're using an older version of Ipopt. The latest all-in-one "HSL for Ipopt" coinhsl downloads don't work immediately with any released version of Ipopt without a few extra steps (detailed in this file: <a href="https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/releases/1.3.3/INSTALL.HSL" target="_blank">https://projects.coin-or.org/<u></u>svn/BuildTools/ThirdParty/HSL/<u></u>releases/1.3.3/INSTALL.HSL</a>). But rather than going through those steps, it's simplest to work with Ipopt trunk (<a href="https://projects.coin-or.org/svn/Ipopt/trunk" target="_blank">https://projects.coin-or.org/<u></u>svn/Ipopt/trunk</a>) for now, which should just work if you put the coinhsl folder in that location.<br>
<br>
-Tony<br>
<br>
<br>
-----Original Message----- From: Joris Kinable <<a href="mailto:deus87@gmail.com" target="_blank">deus87@gmail.com</a>><br>
Date: Sat, 30 Mar 2013 08:09:21 +0100<br>
To: <a href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a><div class="HOEnZb"><div class="h5"><br>
Subject: [Ipopt] ipopt make test fails: missing MA27<br>
<br>
Dear,<br>
<br>
I'm having some issues with the installation of Ipopt. I have followed<br>
the installation guide<br>
(<a href="http://www.coin-or.org/Ipopt/documentation/node22.html" target="_blank">http://www.coin-or.org/Ipopt/<u></u>documentation/node22.html</a>) up to the<br>
point where I have to run 'make test'. This fails with the following<br>
error:<br>
<br>
==============================<u></u>===<br>
Running unitTests...<br>
<br>
Testing AMPL Solver Executable...<br>
no AMPL solver executable found, skipping test...<br>
Testing C++ Example...<br>
<br>
---- 8< ---- Start of test program output ---- 8< ----<br>
Exception of type: OPTION_INVALID in file<br>
"../../../../Ipopt/src/<u></u>Algorithm/IpAlgBuilder.cpp" at line 297:<br>
Exception message: Selected linear solver MA27 not available.<br>
Tried to obtain MA27 from shared library "libhsl.so", but the<br>
following error occured:<br>
libhsl.so: cannot open shared object file: No such file or directory<br>
==============================<u></u>====<br>
<br>
First I have downloaded ipopt from svn:<br>
svn co <a href="https://projects.coin-or.org/svn/Ipopt/stable/3.9" target="_blank">https://projects.coin-or.org/<u></u>svn/Ipopt/stable/3.9</a> CoinIpop<br>
Next I have have downloaded the 3th party packages, including the following<br>
package containing MA27: coinhsl v2012.12.21. The contents of the latter<br>
package have been placed (according<br>
to the instructions) in: /opt/CoinIpopt/ThirdParty/HSL/<u></u>coinhsl<br>
This folder contains the following files:<br>
<br>
==============================<u></u>====<br>
aclocal.m4 hsl_ma77d.o hsl_zb01_integer.mod<br>
ChangeLog hsl_ma77_double_iface.mod hsl_zd11_double.mod<br>
CoinHslConfig.h hsl_ma77_double.mod INSTALL<br>
<a href="http://CoinHslConfig.h.in" target="_blank">CoinHslConfig.h.in</a> hsl_ma86 install-sh<br>
coinhsl.pc hsl_ma86d_ciface.lo <a href="http://libcoinhsl.la" target="_blank">libcoinhsl.la</a><br>
<a href="http://coinhsl.pc.in" target="_blank">coinhsl.pc.in</a> hsl_ma86d_ciface.mod libtool<br>
common hsl_ma86d_ciface.o LICENCE<br>
config.guess hsl_ma86d.lo ltmain.sh<br>
config.h hsl_ma86d.o m4<br>
<a href="http://config.h.in" target="_blank">config.h.in</a> hsl_ma86_double.mod ma27<br>
config.log hsl_ma97 ma27d.lo<br>
config.status hsl_ma97d_ciface.lo ma27d.o<br>
config.sub hsl_ma97d_ciface.o ma28<br>
configure hsl_ma97d.lo ma28d.lo<br>
<a href="http://configure.ac" target="_blank">configure.ac</a> hsl_ma97d.o ma28d.o<br>
deps90.lo hsl_ma97_double_ciface.mod ma57<br>
deps90.o hsl_ma97_double.mod ma57d.lo<br>
deps.lo hsl_mc34_double.mod ma57d.o<br>
deps.o hsl_mc64_double.mod Makefile<br>
dump.lo hsl_mc68 Makefile.am<br>
dump.o hsl_mc68_double.mod Makefile.in<br>
hsl_kb22_long_integer.mod hsl_mc68_integer.mod mc19<br>
hsl_ma54_double.mod hsl_mc68_single.mod mc19d.lo<br>
hsl_ma64_double.mod hsl_mc69_double.mod mc19d.o<br>
hsl_ma77 hsl_mc78_integer.mod missing<br>
hsl_ma77d_ciface.lo hsl_mc80_double.mod README<br>
hsl_ma77d_ciface.o hsl_of01_double.mod stamp-h1<br>
hsl_ma77d.lo hsl_of01_integer.mod stamp-h2<br>
==============================<u></u>============================<br>
<br>
Next I created the folder /opt/CoinIpopt/build. Inside the folder<br>
build, I ran "../configure", "./make", "./make test". The result is<br>
the above error. Attached to this e-mail you can find the config.log<br>
file which is located in the /opt/CoinIpopt/build folder.<br>
<br>
I thought that the problem was that the files inside<br>
/opt/CoinIpopt/ThirdParty/HSL/<u></u>coinhsl were not compiled for some<br>
reason. So I went to this folder and also ran "../configure",<br>
"./make", "./make install". The result is that I now have the<br>
following files inside /usr/local/lib:<br>
libcoinhsl.a libcoinhsl.so libcoinhsl.so.0.0.0<br>
<a href="http://libcoinhsl.la" target="_blank">libcoinhsl.la</a> libcoinhsl.so.0<br>
<br>
I made sure that the directory /usr/local/lib was set in the variable<br>
LD_LIBRARY_PATH.<br>
<br>
Any suggestions what I did wrong? Feel free to ask if you need more<br>
information.<br>
<br>
br,<br>
<br>
Joris <br>
</div></div></blockquote></div><br></div>