<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:SimSun}
@font-face
        {font-family:SimSun}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"\@SimSun"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.E-MailFormatvorlage17
        {font-family:"Arial","sans-serif";
        color:windowtext}
span.bold1
        {font-weight:bold}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 2.0cm 70.85pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Hello <br>
<br>
I am using a external library to vtk with MPI <br>
<br>
I have my code this way:<br>
<br>
void vtkXYZReader::DistributeData(vtkSmartPointer&lt;<span class="bold1">vtkMPICommunicator</span>&gt; commtr) {<br>
external_Lib_Init(MPI_COMM_WORLD);<br>
....<br>
}<br>
<br>
well this works, but it is not elegant. How can I get the MPI_Comm from &quot;commtr&quot; ?<br>
<br>
like :<br>
external_Lib_Init(commtr-&gt;GetMPIComm ()); <br>
<br>
this is unfortunately not of type MPI_Comm but of <span class="bold1">vtkMPICommunicatorOpaqueComm</span>*<br>
<br>
Thanks in advance</span><span lang="EN-US" style="font-size:10.0pt; font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"></span></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><span lang="EN-US">Orlando</span></p>
</div>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">--</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver"><strong>MTU Aero Engines GmbH</strong></span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Geschaeftsfuehrung/Board of Management: Egon W. Behle, Vorsitzender/CEO; Dr. Rainer Martens, Dr. Stefan Weingartner, Reiner Winkler</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Klaus Eberhardt</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Sitz der Gesellschaft/Registered Office: Muenchen</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Handelsregister/Commercial Register: Muenchen HRB 154230</span><br>
<br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Diese E-Mail sowie ihre Anhaenge enthalten MTU-eigene vertrauliche oder rechtlich geschuetzte Informationen.</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte den Absender und loeschen Sie diese</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">E-Mail sowie die Anhaenge. Das unbefugte Speichern, Kopieren oder Weiterleiten ist nicht gestattet.</span><br>
<br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">This e-mail and any attached documents are proprietary to MTU, confidential or protected by law.</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">If you are not the intended recipient, please advise the sender and delete this message and its attachments.</span><br>
<span style="font-size:8.0pt; font-family:&quot;Arial&quot;; color:silver">Any unauthorised storing, copying or distribution is prohibited.</span><br>
</body>
</html>