<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</style><style type="text/css" id="owaParaStyle"></style>
</head>
<body lang="EN-NZ" link="blue" vlink="purple" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Kaushik,
<div><br>
</div>
<div>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.).</div>
<div><br>
</div>
<div>Compiling IPOPT is a true struggle for beginners.</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>-Martijn<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF276609" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>Van:</b> ipopt-bounces@list.coin-or.org [ipopt-bounces@list.coin-or.org] namens Jonathan Currie [jonathan.currie@aut.ac.nz]<br>
<b>Verzonden:</b> maandag 1 oktober 2012 22:38<br>
<b>To:</b> 'Kaushik Matia'; 'ipopt@list.coin-or.org'<br>
<b>Onderwerp:</b> Re: [Ipopt] help with compilation problem<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Hi Kaushik,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">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).
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">If you wish to use Visual Studio 2010 (VC&#43;&#43;) 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
</span><a href="http://i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/DownloadOPTI" target="_blank">http://i2c2.aut.ac.nz/Wiki/OPTI/index.php/DL/DownloadOPTI</a>.
</p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">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.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">Jonathan</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; color:#1F497D">&nbsp;</span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> ipopt-bounces@list.coin-or.org [mailto:ipopt-bounces@list.coin-or.org]
<b>On Behalf Of </b>Kaushik Matia<br>
<b>Sent:</b> Monday, 1 October 2012 1:44 a.m.<br>
<b>To:</b> ipopt@list.coin-or.org<br>
<b>Subject:</b> [Ipopt] help with compilation problem</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">&nbsp;i have downloaded the 3.10.2.zip file.&nbsp;</p>
</div>
<div>
<p class="MsoNormal">&nbsp;when i unzip it i find int the following directory</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">C:\work\Ipopt-3.10.2\Ipopt\MSVisualStudio\v8-ifort</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">the&nbsp;IpOpt-vc10 solution which i open in visual studio 2010 express and try to compile.</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">not this is the problem i face.&nbsp;</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<div>
<p class="MsoNormal">1&gt;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.</p>
</div>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">&nbsp;how should i resolve the issue ?</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">I am on a windows machine.</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">it would be very kind for someone to help.</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">Thanks</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>