<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=DE-CH link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I want to build IPOPT with MKL and parallel Mumps
from the v8-ifort VS project files. I could successfully build a sequential
version but what is the easiest way to build a parallel one?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Until now I tried the following:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I installed MPICH2 and replaced all includes to the
Mumps libseq folder with the include folder of MPICH2. Furthermore I uncomment
the following define <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:black;background:white'> </span></font><font size=2 color=green
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:green;background:white'>// The following line is a fix for otherwise
twice-defined global variable</span></font><font size=2 color=black
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:black;background:white'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:black;background:white'> </span></font><font size=2 color=green
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:green;background:white'>// (This would have to be taken out for a
parallel MUMPS version!)</span></font><font size=2 color=black face=Consolas><span
lang=EN-GB style='font-size:9.5pt;font-family:Consolas;color:black;background:
white'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=green
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:green;background:white'> # define MPI_COMM_WORLD
IPOPT_MPI_COMM_WORLD</span></font><font size=2 color=black face=Consolas><span
lang=EN-GB style='font-size:9.5pt;font-family:Consolas;color:black;background:
white'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>in the IpMumpsSolverInterface.cpp, as explained by
the comment.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face=Consolas><span lang=EN-GB style='font-size:9.5pt;font-family:Consolas;
color:black;background:white'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Now I'm getting the following errors if building the
IpOpt project:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>IpMumpsSolverInterface.cpp<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(234): error C2526: 'MPI::Datatype::Create_struct'
: C linkage function cannot return C++ class 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6> c:\program
files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(266): error C2526: 'MPI::Datatype::Match_size' :
C linkage function cannot return C++ class 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6> c:\program
files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(318): error C2526:
'MPI::Datatype::Create_f90_real' : C linkage function cannot return C++ class
'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6> c:\program
files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(344): error C2526:
'MPI::Datatype::Create_f90_complex' : C linkage function cannot return C++
class 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6> c:\program files\mpich2\include\mpicxx.h(171)
: see declaration of 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(364): error C2526: 'MPI::Datatype::Create_struct'
: C linkage function cannot return C++ class 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6> c:\program
files\mpich2\include\mpicxx.h(171) : see declaration of 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=1 color="#1e1e1e"
face=Consolas><span lang=EN-GB style='font-size:9.0pt;font-family:Consolas;
color:#1E1E1E;background:white'>6>c:\program
files\mpich2\include\mpicxx.h(378): error C2526:
'MPI::Datatype::Create_f90_integer' : C linkage function cannot return C++
class 'MPI::Datatype'<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#1e1e1e" face=Consolas><span lang=EN-GB
style='font-size:9.0pt;font-family:Consolas;color:#1E1E1E;background:white'>6>
c:\program files\mpich2\include\mpicxx.h(171) : see declaration of
'MPI::Datatype'</span></font><font size=1 color="#1e1e1e" face=Consolas><span
lang=EN-GB style='font-size:9.0pt;font-family:Consolas;color:#1E1E1E'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#1e1e1e" face=Consolas><span lang=EN-GB
style='font-size:9.0pt;font-family:Consolas;color:#1E1E1E'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color="#1e1e1e" face=Consolas><span lang=EN-GB
style='font-size:9.0pt;font-family:Consolas;color:#1E1E1E'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Has anyone builded a parallel version from the v8-ifort
project files? If yes how did you do it? Or can anybody help me with the error
messages?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Best regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Stefan<o:p></o:p></span></font></p>
</div>
</body>
</html>