[Ipopt] Ipopt + MA27 compiled for Visual Studio 2008

scanpat at free.fr scanpat at free.fr
Fri Jan 10 09:30:03 EST 2014

I want to use MA27 because it seems to be *threadsafe* :

"- localized global variables in TaggedObject and RegisteredOption,
   so that Ipopt should now be threadsafe as long as Ipopt objects
   (esp. SmartPtr's) are not shared between threads and a threadsafe
   linear solver is used (e.g., MA27) [#167]"

----- Mail original -----
De: "Jonathan Hogg" <jonathan.hogg at stfc.ac.uk>
À: "Tony Kelman" <kelman at berkeley.edu>
Cc: scanpat at free.fr, ipopt at list.coin-or.org
Envoyé: Vendredi 10 Janvier 2014 15:08:43
Objet: Re: [Ipopt] Ipopt + MA27 compiled for Visual Studio 2008

Hi Tony,

I think I've got a working setup for putting the precompiled libhsl.dll 
on the site, I've just not had time to do so.

I'll see if I can make time this afternoon.


On 10/01/14 14:06, Tony Kelman wrote:
> As I mentioned in the ticket, the HSL license unfortunately does not 
> allow redistribution. What you're asking for would violate that license.
> It should be possible, with a few extra steps, to use a MinGW DLL with 
> Visual Studio. Did you try using dumpbin to generate a .def file from 
> the dll, then a .lib from the .def?
> Someone who has Intel Fortran may be able to send you a MSVC/ifort 
> Ipopt dll that was compiled with MUMPS. I'd be curious to hear if 
> anyone has done this, I don't think it's currently possible using the 
> autotools but maybe it is doable using the Visual Studio project files.
> There's also the option of compiling Ipopt without any linear solver 
> (you can do this with Visual Studio compiler and autotools if you use 
> compile_f2c for Blas and Lapack, as I described in the ticket) and 
> using the linear solver loader functionality. Ipopt can load HSL 
> linear solvers (MA27 or others) dynamically at runtime if it can find 
> a libhsl.dll library.
> Jonathan, did you make much progress towards providing a pre-compiled 
> libhsl.dll download from the HSL site for Windows users?
> -Tony
> -----Original Message----- From: scanpat at free.fr
> Sent: Friday, January 10, 2014 4:58 AM
> To: ipopt at list.coin-or.org
> Subject: [Ipopt] Ipopt + MA27 compiled for Visual Studio 2008
> Hi
> I send you this mail because I did not identify any independent 
> technical solution allowing me to reach my goal.
> Here's my goal : I want to use IPOPT compiled with MA27 as a DLL used 
> in Miscrosoft Visual Studio 2008.
> Unfortunately this IPOPT version (with MA27) is not available in the 
> binary repository (http://www.coin-or.org/download/binary/Ipopt/)
> Since I do not have Intel Fortran compiler , I tried to recompile the 
> sources IPOPT MA27 + with MinGW / Msys . This has been long and 
> arduous but thanks to the help of some contributors IPOPT, I managed 
> to achieve my goal (https://projects.coin-or.org/Ipopt/ticket/227). 
> BUT I quickly realized that the DLL compiled via MinGW were not 
> compatible with Visual Studio 2008 (.lib).
> Therefore, I have no choice : I have to use a version of IPOPT DLL 
> compiled with Visual Studio 2008.
> As I do not have Intel Fortran and Intel suite ( MKL ) compiler, I can 
> not make this compilation myself.
> My last chance is to ask to this mailing list if someone can compile 
> IPOPT with MA27 and send it by email (win32_x86)
> Thank you.

Scanned by iCritical.

More information about the Ipopt mailing list