Hi Sohail,<br><br>Changing the number of fields from 23 to 16 fixed the warnings. I&#39;ll get these changes into VTK and then change ParaView so that it can read in WindBlade files with a single process. That may take a week or so though.<br>
<br>As for the other questions:<br><br>1) If the data directories are called VTKData, VTKLargeData, and ParaViewData and they share the same parent directory as VTK or ParaView, when you build VTK or ParaView it will automatically pick up the path to each of them.<br>

<br>2) For the library names, after modularization they&#39;ve been changed and relocated from the bin subdirectory to the lib subdirectory. Many of the old libraries have been subdivided into better organized libraries. I don&#39;t know any specific document that specifies what to do for this though.<br>

<br>Andy<br><br><div class="gmail_quote">
On Sun, Dec 16, 2012 at 9:39 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I have some time now, so I addressed the issue. I don&#39;t the code has a problem; the problem is related to the .wind file.  <div><br></div><div>Near the bottom, it describes how many fields exist in the comp.out files (&quot;DATA_VARIABLES&quot;). For your test data, each file is about 64.5 MB. The .wind says that each file should have 23 fields. For n scalar fields, 1 is reserved for UVW; (n-1) for scalar data. So for this one, 1 for UWV while 22 for scalar data.</div>



<div><br></div><div>The UVW block is about 10 MB (160x80x70x(4 bytes)x(3 components)); each scalar field is about 3.6 MB (160x80x70x(4 bytes)).  So 10 MB + 22 scalar fields*3.6 gives you about 90 MB.  That&#39;s way too big compared to the actual sizes of the comp.out files that you guys have for testing. <b> The test works when you reduce the &quot;DATA_VARIABLES&quot; item from 23 to 16</b> (which will give you close to 64.5 MB).</div>



<div><br></div><div>I&#39;m not sure why this .wind file is bad. Maybe older wind blade readers just ignored errors like these.  Anyway, the test seems to launch a window and close right away. I didn&#39;t see any other errors after I fixed the wind file that I am using.</div>



<div><br></div><div>A couple of questions:</div><div>1. How do you organize the VTK build directory with the testdata? The VTK tests seem to expect the data to be four directories UP the hierarchy, so I had to place my vtkData directory in my home folder.</div>



<div>2. I tried the new versions of VTK with QT and it appears that the -l commands that I put in the .pro file for linking (i.e. -lvtkIO) don&#39;t seem to work...is there a document somewhere that helps in this regard? I reverted to an older version of VTK for now but I want to eventually upgrade.</div>


<span><font color="#888888">
<div><br></div><div>Sohail</div></font></span><div><div>







<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 3, 2012 at 1:16 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also I&#39;m removing Jimmy from this list since he may not be working with wind files at this point.<span><font color="#888888"><div>



<br></div><div>Sohail</div></font></span><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 3, 2012 at 1:15 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At this point the changes will have to wait, unfortunately. For the past two weeks I&#39;ve been involved with a TopoInVis submission so I couldn&#39;t get around to it.  I&#39;ll look at it this weekend.  No need to wait for me.<div>




<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 10:29 AM, Andy Bauer <span dir="ltr">&lt;<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





We&#39;re getting ready for a pre-release of PV 4.0 now so we&#39;ll need this soon. If we need to update to a newer WindBlade file for the test, we can do that too. You&#39;ll have to think though on how to handle backwards compatibility.<span><font color="#888888"><br>






<br>Andy</font></span><div><div><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 12:37 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well you probably know already, but I won&#39;t be able to make the changes right now.  I have a submission due this Friday.  The reader still works for newer data sets but fails for the outdated one that you guys use for testing.  So the fixes will have to come later.<div>






<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 2:39 PM, Andy Bauer <span dir="ltr">&lt;<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







This change is only in VTK in gerrit so you need to follow the directions there to check out the code and run the test. The directions are at  <a href="http://review.source.kitware.com/#/t/1396/" target="_blank">http://review.source.kitware.com/#/t/1396/</a> <br>








<br>I&#39;m not sure why paraview is crashing though. I&#39;ll check on that.<span><font color="#888888"><br><br>andy</font></span><div><div><br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 5:06 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a>&gt;</span> wrote:<br>








<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Current master version can&#39;t launch (MacOS Mountain Lion):<div><br></div><div><div>paraview(575,0x7fff72e33180) malloc: *** error for object 0x111058450: pointer being freed was not allocated</div>








<div>*** set a breakpoint in malloc_error_break to debug</div>
<div><br></div><div>Program received signal SIGABRT, Aborted.</div><div>0x00007fff82432212 in __pthread_kill ()</div><div>(gdb) bt 14</div><div>#0  0x00007fff82432212 in __pthread_kill ()</div><div>#1  0x00007fff87964af4 in pthread_kill ()</div>









<div>#2  0x00007fff879a8dce in abort ()</div><div>#3  0x00007fff8797c959 in free ()</div><div>#4  0x00007fff5fc0762a in __dyld__ZN4dyldL12registerDOFsERKNSt3__16vectorIN11ImageLoader7DOFInfoENS0_9allocatorIS3_EEEE ()</div>









<div>#5  0x00007fff5fc0f06b in __dyld__ZN11ImageLoader4linkERKNS_11LinkContextEbbRKNS_10RPathChainE ()</div><div>#6  0x00007fff5fc04ce4 in __dyld__ZN4dyld4linkEP11ImageLoaderbRKNS0_10RPathChainE ()</div><div>#7  0x00007fff5fc0a81a in __dyld_dlopen ()</div>









<div>#8  0x00007fff8ac96dd8 in dlopen ()</div><div>#9  0x00007fff83dcfa10 in gfxInitializeLibrary ()</div><div>#10 0x000000011e6014fe in gliInitializeLibrary ()</div><div>#11 0x00007fff8a4f63e6 in glcPluginCount ()</div>








<div>
#12 0x00007fff8a4f62a8 in glcPluginCount ()</div><div>#13 0x00007fff8a4f6091 in glcPluginCount ()</div><div>(More stack frames follow...)</div><div><br></div><div><br></div><div>Which version of the master works, so that I can debug?</div>








<span><font color="#888888">
<div><br></div><div>Sohail</div></font></span><div><div><div><div><br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 10:04 AM, Andy Bauer <span dir="ltr">&lt;<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;</span> wrote:<br>









<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A beta version will be released by mid-November. In order for the desired changes to make it in to that, the VTK part that&#39;s waiting your changes needs to go in early next week so that I can make the changes to ParaView to enable the WindBlade reader when running in either built-in mode or connecting to a serial server.<br>










<br>Andy<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 12:13 PM, Sohail Shafii <span dir="ltr">&lt;<a href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">










<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span><br></span></div><div><span>Haven&#39;t had a chance yet due to a paper. I&#39;ll look at it this week. How soon will it be released?</span></div>










<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">










<span>Also please respond to my <a href="mailto:ssshafii@ucdavis.edu" target="_blank">ssshafii@ucdavis.edu</a> as this address is not on the paraview list anymore.</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">










<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span>Sohail</span></div><div><br></div>  <div style="font-family:arial,helvetica,sans-serif;font-size:12pt">










 <div style="font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"><div> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Andy Bauer &lt;<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;<br>










 <b><span style="font-weight:bold">To:</span></b> Sohail Shafii &lt;<a href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt; <br></div><b><span style="font-weight:bold">Cc:</span></b> David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;; &quot;<a href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot; &lt;<a href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;; &quot;<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot; &lt;<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;; &quot;Woodring, Jonathan L&quot; &lt;<a href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt; <br>










 <b><span style="font-weight:bold">Sent:</span></b> Wednesday, October 24, 2012 8:09 AM<div><div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Paraview] ParaView thinks that it
 does not have a wind blade reader<br> </div></div></font> </div><div><div> <br>
<div>Hi Sohail,<br><br>Did you get a chance to look at the warnings for the vtkIOGeometryCxx-TestWindBladeReader test for the <a href="http://review.source.kitware.com/#/t/1396/" target="_blank">http://review.source.kitware.com/#/t/1396/</a> gerrit topic? It&#39;s going to need to be fixed pretty soon if it&#39;s going to make it into the ParaView 4.0 release.<br>











<br>Thanks,<br>Andy<br><br><div>On Wed, Oct 3, 2012 at 10:22 PM, Andy Bauer <span dir="ltr">&lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;</span> wrote:<br><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">











It&#39;s available with &quot;<font size="4"><font>git clone git://<a rel="nofollow" href="http://vtk.org/VTKLargeData.git" target="_blank">vtk.org/VTKLargeData.git</a> VTKLargeData</font></font><font>&quot;. It&#39;s in the Data/WindBladeReader subdirectory there.<br>












</font><div><div><br><div>On Wed, Oct 3, 2012 at 6:27 PM, Sohail Shafii <span dir="ltr">&lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif"><div><span>Which data set are you using for the test?</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">












<span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span>If it&#39;s the single turbine data set with the curvy terrain, I don&#39;t have it (I use other data sets) so I can&#39;t do a similar test.  Let me know where I can download it.</span></div>












<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:arial,helvetica,sans-serif">












<span>Sohail</span></div><div><br></div>  <div style="font-family:arial,helvetica,sans-serif;font-size:12pt"> <div style="font-size:12pt"> <div dir="ltr">

 <font face="Arial"><div> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Andy Bauer &lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;<br> </div><b><span style="font-weight:bold">To:</span></b> David E DeMarle &lt;<a rel="nofollow" href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt; <br>












<b><span style="font-weight:bold">Cc:</span></b> Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot; &lt;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot; &lt;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;; &quot;Woodring, Jonathan L&quot; &lt;<a rel="nofollow" href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt; <br>












 <b><span style="font-weight:bold">Sent:</span></b> Wednesday, October 3, 2012 3:16 PM<div><div><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Paraview] ParaView thinks that it does not have a wind
 blade reader<br> </div></div></font> </div><div><div> <br>
<div>I finally got around to doing the VTK part of the WindBladeReader work. It&#39;s on gerrit at <a href="http://review.source.kitware.com/#/c/7734/" target="_blank">http://review.source.kitware.com/#/c/7734/</a>. It still needs some cleanup but at least both the serial test and the parallel test with a single process pass. For the serial test, vtkIOGeometryCxx-TestWindBladeReader, I&#39;m still getting the following warning which needs to be fixed as well:<br>













Warning: In /home/acbauer/CODE/VTK/VTK/IO/Geometry/vtkWindBladeReader.cxx, line 568<br>vtkWindBladeReader (0x1373840): WindBladeReader error reading file: /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind Premature EOF while reading block of data. Expected 896000 but got 0<br>













<br>Sohail, can you check this out and fix it?<br><br>Thanks,<br>Andy<br><br><div>On Fri, Jul 20, 2012 at 12:02 PM, David E DeMarle <span dir="ltr">&lt;<a rel="nofollow" href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;</span> wrote:<br>













<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks.<br>
<br>
In today&#39;s git master it now sits in VTK/IO/Parallel/vtkWindbladeReader.<br>
<br>
The serial version should go in VTK/IO/Geometry.<br>
<br>
The MPI version should go in a new module VTK/IO/MPIParallel.<br>
(VTK/IO/Parallel depends only on vtkSocketController now and should<br>
not depend on vtkMPIController).<br>
<br>
Finally when that is done we can remove the flag in paraview&#39;s xml<br>
that prevents it from being used in serial.<br>
<div><br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a rel="nofollow">518-881-4909</a><br>
<br>
<br>
</div><div><div>On Thu, Jul 19, 2012 at 7:08 PM, Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt; wrote:<br>
&gt; Well it seems like #1 and #2 can be solved by writing a new parallel wind<br>
&gt; blade reader class. I had similar experience by creating distributed<br>
&gt; versions of class that I created in other vtk directories. The normal wind<br>
&gt; blade reader would have no parallel calls, which would address #1.<br>
&gt;<br>
&gt; What I find interesting is that in your directories, the wind blade reader<br>
&gt; is located in VTK/IO/Parallel. For the ParaView snapshot that I downloaded,<br>
&gt; as well as the 3.14 source, it&#39;s still in VTK/Parallel.  No Parallel folder<br>
&gt; in VTK/IO. Is this a recent change?<br>
&gt;<br>
&gt; So maybe the ideal folder layout would be:<br>
&gt;<br>
&gt; VTK/IO/WindBladeReader.*<br>
&gt;<br>
&gt; VTK/IO/Parallel/DistributedWindBladeReader.*<br>
&gt;<br>
&gt; I can make changes to the WindBladeReader to remove the MPI-IO calls and<br>
&gt; make a distributed wind blade reader class in case you want to add them to<br>
&gt; the repository. The one template I have for the parallel/serial split is the<br>
&gt; vtkStreamTracer and its distributed counterparts so I can use those as a<br>
&gt; guide.  If you have better recommendations please let me know.<br>
&gt;<br>
&gt; Sohail<br>
&gt;<br>
&gt; ________________________________<br>
&gt; From: David E DeMarle &lt;<a rel="nofollow" href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
&gt; To: Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt; Cc: Andy Bauer &lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot;<br>













&gt; &lt;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot; &lt;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;;<br>














&gt; &quot;Woodring, Jonathan L&quot; &lt;<a rel="nofollow" href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt;<br>
&gt; Sent: Thursday, July 19, 2012 3:20 PM<br>
&gt;<br>
&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>
&gt; reader<br>
&gt;<br>
&gt; Two issues need to be fixed.<br>
&gt; 1) that behavior in 3.14 is there because of this fix which we had to<br>
&gt; rush in just before the 3.14 release.<br>
&gt;<br>
&gt; Committer: Utkarsh Ayachit &lt;<a rel="nofollow" href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;  2012-02-08<br>
&gt; 17:12:18<br>
&gt; Parent: e401d569f6e54c49c3497852463f6b13a01da8b6 (Update version after<br>
&gt; 3.14.0-RC1 tag.)<br>
&gt; Child:  99fdb1aeb5997c29b43393f45a478c4b53a23109 (Merge topic<br>
&gt; &#39;fix_windblade_segfault&#39;)<br>
&gt; Branches: many (31)<br>
&gt; Follows: v3.14.0-RC1<br>
&gt; Precedes: v3.14.0-RC2<br>
&gt;<br>
&gt;     Fix segfault with ParaView built with MPI when opening *.vtr files.<br>
&gt;<br>
&gt;     The problem was that vtkWindBlade reader was getting created to test<br>
&gt;     &quot;CanReadFile&quot; and that would cause segfault unless MPI was initialized.<br>
&gt;<br>
&gt;     Solved the problem by added support to vtkSMReaderFactory to respect the<br>
&gt;     ProcessSupport flag on SourceProxy and change windblade reader XML<br>
&gt; to say that<br>
&gt;     it only works in parallel.<br>
&gt;<br>
&gt; In other words, Windblade reader&#39;s Constructor should not take it upon<br>
&gt; itself to initialize MPI.<br>
&gt;<br>
&gt; Once that is fixed, we get to issue 2 before paraview 4.0<br>
&gt;<br>
&gt; 2) VTK&#39;s new modularization has the rule that no module can behave<br>
&gt; differently with parallel (or most other cmake config options) turned<br>
&gt; configured on or off. This is so because it makes it very hard to<br>
&gt; package VTK when the libs behave differently in different situations.<br>
&gt;<br>
&gt; Ie, we can&#39;t have any more<br>
&gt; #ifdef VTK_USE_MPI<br>
&gt; do something<br>
&gt; #else<br>
&gt; do something different<br>
&gt; #endif<br>
&gt; in VTK classes.<br>
&gt;<br>
&gt; Now if we want a class to behave differently when MPI is turned on or<br>
&gt; off we have to make a serial only version in a non MPI dependent<br>
&gt; module and a subclass of that in an MPI dependent module.<br>
&gt;<br>
&gt; David E DeMarle<br>
&gt; Kitware, Inc.<br>
&gt; R&amp;D Engineer<br>
&gt; 21 Corporate Drive<br>
&gt; Clifton Park, NY 12065-8662<br>
&gt; Phone: <a rel="nofollow">518-881-4909</a><br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 19, 2012 at 3:52 PM, Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt; When running serially, vtkSMReaderFactory::CanReadFile sees that the<br>
&gt;&gt; session<br>
&gt;&gt; has a single process.  As such, on line 660 it realizes that the source<br>
&gt;&gt; proxy&#39;s process support (in this case the source is a vtkWindBladeReader<br>
&gt;&gt; proxy) is multiple processes, which causes a return of &quot;false&quot; from that<br>
&gt;&gt; function.  This makes ParaView think that the wind blade reader can&#39;t read<br>
&gt;&gt; a<br>
&gt;&gt; .wind file in serial.  According to Andy, the reader works find in<br>
&gt;&gt; parallel.<br>
&gt;&gt;<br>
&gt;&gt; I assume that a fix for this is pretty trivial? It never did this before<br>
&gt;&gt; in<br>
&gt;&gt; previous versions of ParaView and I think that the wind blade reader code<br>
&gt;&gt; has remained mostly the same. Andy mentioned some details in person when<br>
&gt;&gt; he<br>
&gt;&gt; was talking with Jon but at that time I didn&#39;t know as much as I do now.<br>
&gt;&gt; There is a mention below about enabling the filter in serial and parallel<br>
&gt;&gt; --<br>
&gt;&gt; is this done in a xml file?<br>
&gt;&gt;<br>
&gt;&gt; Sohail<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt; From: David E DeMarle &lt;<a rel="nofollow" href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;<br>
&gt;&gt; To: Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt;&gt; Cc: Andy Bauer &lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot;<br>













&gt;&gt; &lt;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot; &lt;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;;<br>














&gt;&gt; &quot;Woodring, Jonathan L&quot; &lt;<a rel="nofollow" href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt;<br>
&gt;&gt; Sent: Tuesday, July 17, 2012 7:00 PM<br>
&gt;&gt;<br>
&gt;&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>
&gt;&gt; reader<br>
&gt;&gt;<br>
&gt;&gt; Each file that has an association with that file extension, made via the<br>
&gt;&gt; XML, has its CanReadFile method called. Put a breakpoint there to<br>
&gt;&gt; determine<br>
&gt;&gt; if ParaView even knows about that reader.<br>
&gt;&gt;<br>
&gt;&gt; On Tuesday, July 17, 2012, Sohail Shafii wrote:<br>
&gt;&gt;<br>
&gt;&gt; Sorry, but I meant to ask a different question.  Here&#39;s what Andy said<br>
&gt;&gt; before, which relates to my concern:<br>
&gt;&gt; &quot;&gt;<br>
&gt;&gt;&gt; I went through the code and it jogged my memory about previous problems<br>
&gt;&gt;&gt; with<br>
&gt;&gt;&gt; it. It had an explicit MPI call in the constructor that would cause<br>
&gt;&gt;&gt; problems<br>
&gt;&gt;&gt; when paraview wasn&#39;t getting built with MPI. Any time a user tried to<br>
&gt;&gt;&gt; open<br>
&gt;&gt;&gt; an unknown file it would try to create a windblade reader to see if the<br>
&gt;&gt;&gt; reader could handle the file and this would cause a crash. If you launch<br>
&gt;&gt;&gt; a<br>
&gt;&gt;&gt; separate pvserver the wind blade reader will be available in the gui.&quot;<br>
&gt;&gt;<br>
&gt;&gt; What I meant was; which ParaView class &quot;creates&quot; or &quot;tests&quot; a reader to<br>
&gt;&gt; see<br>
&gt;&gt; if it can handle a file? The test code you specified has a predefined data<br>
&gt;&gt; set that is loaded in, and I think is more of an example to your average<br>
&gt;&gt; user. Correct me if I&#39;m wrong.<br>
&gt;&gt;<br>
&gt;&gt; So basically ParaView will recognize the file extension, tries to load it,<br>
&gt;&gt; crashes somewhere, then asks you specify the data format from a dialog.<br>
&gt;&gt; I&#39;m<br>
&gt;&gt; trying to figure out where it crashes so that I can see how that relates<br>
&gt;&gt; to<br>
&gt;&gt; the wind blade reader class and any MPI calls that are in there.<br>
&gt;&gt;<br>
&gt;&gt; Sohail<br>
&gt;&gt;<br>
&gt;&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>
&gt;&gt; reader<br>
&gt;&gt;<br>
&gt;&gt; kargad:ParaView demarle$ find . -name &quot;*WindBlade*&quot; -print<br>
&gt;&gt; ---&gt; ./VTK/IO/Parallel/Testing/Cxx/TestWindBladeReader.cxx<br>
&gt;&gt; ./VTK/IO/Parallel/vtkWindBladeReader.cxx<br>
&gt;&gt; ./VTK/IO/Parallel/vtkWindBladeReader.h<br>
&gt;&gt;<br>
&gt;&gt; David E DeMarle<br>
&gt;&gt; Kitware, Inc.<br>
&gt;&gt; R&amp;D Engineer<br>
&gt;&gt; 21 Corporate Drive<br>
&gt;&gt; Clifton Park, NY 12065-8662<br>
&gt;&gt; Phone: <a rel="nofollow">518-881-4909</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 17, 2012 at 2:09 PM, Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt; What is the class that is responsible for testing to reader to see if it<br>
&gt;&gt;&gt; can<br>
&gt;&gt;&gt; open the .wind file?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Sohail<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ________________________________<br>
&gt;&gt;&gt; From: Andy Bauer &lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;<br>
&gt;&gt;&gt; To: Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt;&gt;&gt; Cc: &quot;Woodring, Jonathan L&quot; &lt;<a rel="nofollow" href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt;; Sebastien Jourdain<br>
&gt;&gt;&gt; &lt;<a rel="nofollow" href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot;<br>













&gt;&gt;&gt; &lt;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;;<br>
&gt;&gt;&gt; &quot;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot; &lt;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;<br>













&gt;&gt;&gt; Sent: Wednesday, July 11, 2012 10:53 AM<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind<br>
&gt;&gt;&gt; blade<br>
&gt;&gt;&gt; reader<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I was reluctant to enable the reader in serial (i.e. not using MPI IO<br>
&gt;&gt;&gt; which<br>
&gt;&gt;&gt; I think is getting done by default with the parallel build) because of<br>
&gt;&gt;&gt; the<br>
&gt;&gt;&gt; following warnings that I got:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Warning: In /home/acbauer/CODE/ParaView/<br>
&gt;&gt;&gt; ParaView/VTK/IO/Parallel/vtkWindBladeReader.cxx, line 942<br>
&gt;&gt;&gt; vtkWindBladeReader (0x3a0c800): WindBladeReader error reading file:<br>
&gt;&gt;&gt; /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind<br>
&gt;&gt;&gt; Premature EOF while reading block of data. Expected 896000 but got 0<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I just assumed that it was getting bad results so I didn&#39;t check the<br>
&gt;&gt;&gt; serial<br>
&gt;&gt;&gt; output with the parallel output. In either case the code should be<br>
&gt;&gt;&gt; changed<br>
&gt;&gt;&gt; before enabling it in serial so that it reads the files correctly and<br>
&gt;&gt;&gt; doesn&#39;t produce any warning messages.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Andy<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Jul 11, 2012 at 12:04 PM, Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m not aware of any option to build/link against mpi-io.  This is just a<br>
&gt;&gt;&gt; standard build with mpi support that suffers from this issue.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The ParaView website&#39;s builds also have the same bug.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ________________________________<br>
&gt;&gt;&gt; From: &quot;Woodring, Jonathan L&quot; &lt;<a rel="nofollow" href="mailto:woodring@lanl.gov" target="_blank">woodring@lanl.gov</a>&gt;<br>
&gt;&gt;&gt; To: Sohail Shafii &lt;<a rel="nofollow" href="mailto:sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>&gt;; Andy Bauer<br>
&gt;&gt;&gt; &lt;<a rel="nofollow" href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>&gt;; Sebastien Jourdain<br>
&gt;&gt;&gt; &lt;<a rel="nofollow" href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>&gt;<br>
&gt;&gt;&gt; Cc: &quot;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&quot; &lt;<a rel="nofollow" href="mailto:migichen@gmail.com" target="_blank">migichen@gmail.com</a>&gt;; &quot;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&quot;<br>














&gt;&gt;&gt; &lt;<a rel="nofollow" href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>&gt;<br>
&gt;&gt;&gt; Sent: Tuesday, July 10, 2012 10:06 AM<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind<br>
&gt;&gt;&gt; blade<br>
&gt;&gt;&gt; reader<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I added the MPI calls to be in sync with what was being added in the<br>
&gt;&gt;&gt; simulation.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In the SuperComputing demo last year, we updated both the HiGrad FireTec<br>
&gt;&gt;&gt; to<br>
&gt;&gt;&gt; use MPI-IO and likewise ParaView to do the same thing.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It w<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; David E DeMarle<br>
&gt;&gt; Kitware, Inc.<br>
&gt;&gt; R&amp;D Engineer<br>
&gt;&gt; 21 Corporate Drive<br>
&gt;&gt; Clifton Park, NY 12065-8662<br>
&gt;&gt; Phone: <a rel="nofollow">518-881-4909</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br>