[Ipopt] Obtaining MA57 dll

Tony Kelman kelman at berkeley.edu
Thu Dec 20 20:34:05 EST 2012


It's definitely possible. Mathworks does it, you can find a dll of MA57 
included with Matlab (or the Matlab Compiler Runtime, if you don't have 
access to Matlab).

As far as using MinGW and Msys, try the following from your downloaded 
coinhsl directory:
gfortran -static-libgcc -static-libgfortran -shared -o libhsl.dll 
*.o -L$IPOPT_LIBDIR -lcoinlapack -lcoinblas -lcoinmetis

This is assuming you already built Ipopt including reference Lapack, Blas, 
and Metis in their appropriate ThirdParty directories, and did "make 
install" for Ipopt. You'll have to change around the last bit if you are 
using some other versions of Lapack, Blas, or Metis. The -static-libgcc 
and -static-libgfortran flags prevent the HSL dll from depending on MinGW's 
gcc and gfortran dll's.

Hopefully this will work for you, I only did a little bit of testing.


-----Original Message----- 
From: Pedro Tabacof <tabacof at gmail.com>
Date: Thu, 20 Dec 2012 13:13:02 -0200
To: ipopt at list.coin-or.org
Subject: [Ipopt] Obtaining MA57 dll


Has anyone here been able to generate a Windows shared library (dll) of
MA57? I downloaded HSL codes for Ipopt and followed the installation
instructions (using MinGW+MSYS) but after "make install" I only found .a
libraries. I tried forcing the generation of shared libraries but the
result was still the same.

I contacted HSL and they said I should try this mailing list, so any
support would be much appreciated.

Pedro Tabacof.

More information about the Ipopt mailing list