[Ipopt] Build Problems with HSL for IPOPT

Breannan Smith smith at cs.columbia.edu
Mon Nov 12 22:36:04 EST 2012


Moving to the Ipopt trunk resolved the build problems. Thanks for the advice!

Cheers.

On Mon, Nov 12, 2012 at 4:37 AM, Stefan Vigerske
<stefan at math.hu-berlin.de> wrote:
> Hi,
>
> The instructions that you followed assume Ipopt trunk.
> For Ipopt 3.10.x, the installation procedure is somewhat different.
>
> You could either check out Ipopt/trunk and follow the same instructions, or
> you stick with Ipopt 3.10, but follow the instructions from
> https://projects.coin-or.org/BuildTools/browser/ThirdParty/HSL/stable/1.3/INSTALL.HSL
>
> The message that the HSL sources were found is a bit missleading. In this
> case, it just means that the ThirdParty/HSL directory was found.
>
> Stefan
>
>
>
> On 11/12/2012 06:06 AM, Breannan Smith wrote:
>>
>> I'm attempting to build HSL for IPOPT (http://www.hsl.rl.ac.uk/ipopt/)
>> "with" Ipopt. That is, per the install instructions included with HSL, I
>> extract coinhsl-2012.02.14.tar.gz, rename the resulting directory coinhsl,
>> and place it in the ThirdParty/HSL subdirectory of Ipopt. After running
>> configure with '../configure ADD_CFLAGS="-fopenmp" ADD_CXXFLAGS="-fopenmp"
>> ADD_FFLAGS="-fopenmp"', I can confirm that Ipopt has detected the source:
>>
>> checking whether source of project HSL is available and should be
>> compiled... yes, source in ThirdParty/HSL
>>
>> I can successfully build Ipopt, but when running make test, I recieve the
>> following error:
>>
>> Tried to obtain MA27 from shared library "libhsl.so", but the following
>> error occured:
>> libhsl.so: cannot open shared object file: No such file or directory
>>
>> Searching for all .so files under the build directory, I only see
>> libipopt.so and libcoinmetis.so, so it would appear that Ipopt is not
>> actually compiling the HSL source, despite detecting it. Am I missing
>> something in the HSL for IPOPT instructions and perhaps placing the source
>> in the wrong location? Has anyone come across a similar error?
>>
>> For reference, I'm using Ipopt-3.10.2 and GCC 4.7.2 on Ubuntu 12.10. I've
>> also followed the same install instructions on OS X with Ipopt-3.10.2 and
>> GCC 4.7.2 and encounter a similar error.
>>
>> Cheers!
>>
>>
>>
>> _______________________________________________
>> Ipopt mailing list
>> Ipopt at list.coin-or.org
>> http://list.coin-or.org/mailman/listinfo/ipopt
>>
>


More information about the Ipopt mailing list