[Ipopt] help with compilation problem

Martijn Disse M.W.Disse at student.tudelft.nl
Tue Oct 2 05:14:43 EDT 2012


Hi Kaushik,

I totally agree with Jonathan; use the OPTItoolbox for Matlab or use precompiled static libraries ( .lib files) for IPOPT and the other packages (BLAS etc.).

Compiling IPOPT is a true struggle for beginners.

Best,

-Martijn
________________________________
Van: ipopt-bounces at list.coin-or.org [ipopt-bounces at list.coin-or.org] namens Jonathan Currie [jonathan.currie at aut.ac.nz]
Verzonden: maandag 1 oktober 2012 22:38
To: 'Kaushik Matia'; 'ipopt at list.coin-or.org'
Onderwerp: Re: [Ipopt] help with compilation problem

Hi Kaushik,

In order to use IPOPT on Windows you will also need to compile a number of other packages, including METIS and MUMPS (or one of the HSL solvers), as well as having access to BLAS and LAPACK. Some of these will require a Fortran compiler (such as ifort from Intel).

If you wish to use Visual Studio 2010 (VC++) then steps for compiling all the above from source is included with my OPTI Toolbox (for MATLAB), simply have a look at opti_MUMPS_Install.m and opti_IPOPT_Install.m. This can be downloaded from http://i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/DownloadOPTI.

Can I ask what your goal is using IPOPT? You may find using the supplied binaries (on coin-or) is much easier than attempting to compile all from source.

Regards,

Jonathan



From: ipopt-bounces at list.coin-or.org [mailto:ipopt-bounces at list.coin-or.org] On Behalf Of Kaushik Matia
Sent: Monday, 1 October 2012 1:44 a.m.
To: ipopt at list.coin-or.org
Subject: [Ipopt] help with compilation problem

Hi,

 i have downloaded the 3.10.2.zip file.
 when i unzip it i find int the following directory

C:\work\Ipopt-3.10.2\Ipopt\MSVisualStudio\v8-ifort

the IpOpt-vc10 solution which i open in visual studio 2010 express and try to compile.

not this is the problem i face.

1>c:\work\ipopt-3.10.2\ipopt\src\algorithm\linearsolvers\ipmumpssolverinterface.cpp(20): fatal error C1083: Cannot open include file: 'mpi.h': No such file or directory.

 how should i resolve the issue ?

I am on a windows machine.

it would be very kind for someone to help.

Thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20121002/fe3bc059/attachment-0001.html>


More information about the Ipopt mailing list