<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been struggling to make the Stream Tracer with Custom Source (STCS) work in parallel. It works in serial mode without any issues but in parallel I am hitting a wall of obstacles. I made a little test with the disk_out_ref.ex2 in
 serial and parallel by and this is what I found. I am using Paraview v5.0.0 compiled from source with system libs linked against openmpi 1.7.1. I also briefly checked with other mpi flavours and under Windows with the MPI enabled binaries from paraview.org,
 but the problems did not disappear.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Serial mode:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1)<o:p></o:p></p>
<p class="MsoNormal">Load file (just with the “V” variable)<o:p></o:p></p>
<p class="MsoNormal">Slice with Z=5<o:p></o:p></p>
<p class="MsoNormal">Stream Tracer with Custom Source (STCS)<o:p></o:p></p>
<p class="MsoNormal">Success<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">Slice with Z=5<o:p></o:p></p>
<p class="MsoNormal">Mask points (10 points with random sampling)<o:p></o:p></p>
<p class="MsoNormal">STCS<o:p></o:p></p>
<p class="MsoNormal">Success<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">3)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">Select some points with Select Points Through<o:p></o:p></p>
<p class="MsoNormal">Extract Selection<o:p></o:p></p>
<p class="MsoNormal">STCS<o:p></o:p></p>
<p class="MsoNormal">Success<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Everything worked without issues. Now the same in parallel on 6 processes. Here is a little word of warning, the Exodus reader reads all the data onto just one process, so unless the D3 filter is used everything works in more or less serial
 mode.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">D3<o:p></o:p></p>
<p class="MsoNormal">Slice with Z=5<o:p></o:p></p>
<p class="MsoNormal">STCS<o:p></o:p></p>
<p class="MsoNormal">Crash <o:p></o:p></p>
<p class="MsoNormal">“<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Generic Warning: In /home/caldron-b/paluszek/linux/Software/Paraview/v5.0.0/ParaView-v5.0.0-source/VTK/Parallel/MPI/vtkMPICommunicator.cxx, line 72<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI had an error<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI_ERR_IN_STATUS: error code in status<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">--------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI_ABORT was invoked on rank 5 in communicator MPI_COMM_WORLD
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">with errorcode 18.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">You may or may not see output from other processes, depending on<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">exactly when Open MPI kills them.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">--------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal">“<o:p></o:p></p>
<p class="MsoNormal">2)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">D3<o:p></o:p></p>
<p class="MsoNormal">Slice with Z=5<o:p></o:p></p>
<p class="MsoNormal">Mask points (10 points, random sampling & proportional distribution)<o:p></o:p></p>
<p class="MsoNormal">Paraview hangs:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt">“<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">ERROR: In /home/caldron-b/paluszek/linux/Software/Paraview/v5.0.0/ParaView-v5.0.0-source/VTK/Filters/Core/vtkMaskPoints.cxx, line 325<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">vtkPMaskPoints (0x31c8480): No points to mask<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">ERROR: In /home/caldron-b/paluszek/linux/Software/Paraview/v5.0.0/ParaView-v5.0.0-source/VTK/Filters/Core/vtkMaskPoints.cxx, line 325<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">vtkPMaskPoints (0x4b0dea0): No points to mask<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">“<o:p></o:p></span></p>
<p class="MsoNormal">If you do not switch proportional distribution then Paraview spits an error “No points to mask” but you doesn’t crash or freeze. Generating STCS from the masked points will crash Paraview though.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">3)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">D3<o:p></o:p></p>
<p class="MsoNormal">Slice with Z=5<o:p></o:p></p>
<p class="MsoNormal">D3 the slice<o:p></o:p></p>
<p class="MsoNormal">Mask points (10 points)<o:p></o:p></p>
<p class="MsoNormal">D3 the points<o:p></o:p></p>
<p class="MsoNormal">STCS<o:p></o:p></p>
<p class="MsoNormal">Crash<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt">“<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">Generic Warning: In /home/caldron-b/paluszek/linux/Software/Paraview/v5.0.0/ParaView-v5.0.0-source/VTK/Parallel/MPI/vtkMPICommunicator.cxx, line 72<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI had an error<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI_ERR_TRUNCATE: message truncated<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">--------------------------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">with errorcode 15.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">You may or may not see output from other processes, depending on<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">exactly when Open MPI kills them.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt">”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal">4)<o:p></o:p></p>
<p class="MsoNormal">Load file<o:p></o:p></p>
<p class="MsoNormal">D3<o:p></o:p></p>
<p class="MsoNormal">Select some points with Select Points Through<o:p></o:p></p>
<p class="MsoNormal">Extract Selection<o:p></o:p></p>
<p class="MsoNormal">STCS<o:p></o:p></p>
<p class="MsoNormal">Crash<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal">I also tried with more combinations with and without the D3 filter on the subsequent filters and on my industrial geometries but I could never make the Stream Tracer with Custom Source work in parallel. I found a related bug report
<a href="http://www.paraview.org/Bug/view.php?id=15342">http://www.paraview.org/Bug/view.php?id=15342</a> and an old post
<a href="https://cmake.org/pipermail/paraview/2009-December/014909.html">https://cmake.org/pipermail/paraview/2009-December/014909.html</a> but no solutions to this problem. Interestingly the common Stream Tracer filter works in parallel with both point and
 high resolution line sources. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would be grateful if you could try to first reproduce this behavior and confirm that this is not specific to my installation. If anyone had an idea how to fix that I would be more than happy.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Lukasz  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:8.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><img border="0" width="189" height="53" id="Image_x0020_2" src="cid:image001.png@01D180F4.194828B0" alt="Beschreibung: Beschreibung: Description : cid:image001.png@01CF0B8F.DB7831F0"></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<b>£ukasz Paluszek</b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Airbus Helicopters</span><span style="font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Aerodynamics Department (ETGA)</span><span style="font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span lang="FR" style="font-size:10.0pt;font-family:"Arial","sans-serif"">86607 Donauwörth</span><b><span lang="FR" style="font-size:9.0pt;font-family:"Arial","sans-serif""><o:p></o:p></span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span lang="FR" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Germany</span><span lang="FR" style="font-size:10.0pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Tel.: +49 (90) 671 8231<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0cm;margin-bottom:2.0pt;margin-left:0cm">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Fax.: +49 (90) </span>
671 9122<span style="font-family:"Arial","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><a href="mailto:Lukasz.Paluszek@airbus.com"><span style="color:blue">Lukasz.Paluszek@airbus.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p>AIRBUS HELICOPTERS DEUTSCHLAND GmbH</p>
<p>Sitz der Gesellschaft / Registered Office: Donauwörth</p>
<p>Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508</p>
<p>Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury</p>
<p>Geschäftsführung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / CEO; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin Schübel; Stefan Thomé</p>
<PRE><html><head></head><body><font color="black" face="arial" size="2">
The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
</font>
</body>
</html>
</PRE></body>
</html>