Tony, thank you very much, that worked perfectly!<div><br></div><div>I ended up using the standard netlib packages (using Ipopt "get" scripts), do you think there is a significant performance difference from other implementations?<div>
<br></div><div>Pedro.<br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 11:34 PM, 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">
Pedro,<br>
<br>
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).<br>
<br>
As far as using MinGW and Msys, try the following from your downloaded coinhsl directory:<br>
./configure<br>
make<br>
gfortran -static-libgcc -static-libgfortran -shared -o libhsl.dll *.o -L$IPOPT_LIBDIR -lcoinlapack -lcoinblas -lcoinmetis<br>
<br>
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.<br>
<br>
Hopefully this will work for you, I only did a little bit of testing.<br>
<br>
-Tony<br>
<br>
<br>
-----Original Message----- From: Pedro Tabacof <<a href="mailto:tabacof@gmail.com" target="_blank">tabacof@gmail.com</a>><br>
Date: Thu, 20 Dec 2012 13:13:02 -0200<div class="HOEnZb"><div class="h5"><br>
To: <a href="mailto:ipopt@list.coin-or.org" target="_blank">ipopt@list.coin-or.org</a><br>
Subject: [Ipopt] Obtaining MA57 dll<br>
<br>
Hello,<br>
<br>
Has anyone here been able to generate a Windows shared library (dll) of<br>
MA57? I downloaded HSL codes for Ipopt and followed the installation<br>
instructions (using MinGW+MSYS) but after "make install" I only found .a<br>
libraries. I tried forcing the generation of shared libraries but the<br>
result was still the same.<br>
<br>
I contacted HSL and they said I should try this mailing list, so any<br>
support would be much appreciated.<br>
<br>
Thanks,<br>
Pedro Tabacof.<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Pedro Tabacof,<br>Unicamp - Eng. de Computação 08.<br>
</div></div>