Each file that has an association with that file extension, made via the XML, has its CanReadFile method called. Put a breakpoint there to determine if ParaView even knows about that reader.<span></span><br><br>On Tuesday, July 17, 2012, Sohail Shafii  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>Sorry, but I meant to ask a different question.  Here&#39;s what Andy said before, which relates to my concern:</span></div>
<div><span>&quot;</span>&gt;<br>&gt; I went through the code and it jogged my memory about previous problems with<br>&gt; it. It had an explicit MPI call in the constructor that would cause problems<br>&gt; when paraview wasn&#39;t getting built with MPI. Any time a user tried to open<br>
&gt; an unknown file it would try to create a windblade reader to see if the<br>&gt; reader could handle the file and this would cause a crash. If you launch a<br>&gt; separate pvserver the wind blade reader will be available in the gui.&quot;</div>
<div><br></div><div>What I meant was; which ParaView class &quot;creates&quot; or &quot;tests&quot; a reader to see if it can handle a file? The test code you specified has a predefined data set that is loaded
 in, and I think is more of an example to your average user. Correct me if I&#39;m wrong.</div><div><br></div><div>So basically ParaView will recognize the file extension, tries to load it, crashes somewhere, then asks you specify the data format from a dialog.  I&#39;m trying to figure out where it crashes so that I can see how that relates to the wind blade reader class and any MPI calls that are in there.</div>
<div><br></div><div>Sohail<br></div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div dir="ltr"><font face="Arial"><br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Paraview] ParaView thinks that it does not have a wind blade reader<br>
 </font> </div> <br>
kargad:ParaView demarle$ find . -name &quot;*WindBlade*&quot; -print<br>---&gt; ./VTK/IO/Parallel/Testing/Cxx/TestWindBladeReader.cxx<br>./VTK/IO/Parallel/vtkWindBladeReader.cxx<br>./VTK/IO/Parallel/vtkWindBladeReader.h<br>
<br>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br><br><br>On Tue, Jul 17, 2012 at 2:09 PM, Sohail Shafii &lt;<a>sohailshafii@yahoo.com</a>&gt; wrote:<br>
&gt; What is the class that is responsible for testing to reader to see if it can<br>&gt; open the .wind file?<br>&gt;<br>&gt; Sohail<br>&gt;<br>&gt; ________________________________<br>&gt; From: Andy Bauer &lt;<a>andy.bauer@kitware.com</a>&gt;<br>
&gt; To: Sohail Shafii &lt;<a>sohailshafii@yahoo.com</a>&gt;<br>&gt; Cc: &quot;Woodring, Jonathan L&quot; &lt;<a>woodring@lanl.gov</a>&gt;; Sebastien Jourdain<br>&gt; &lt;<a>sebastien.jourdain@kitware.com</a>&gt;; &quot;<a>migichen@gmail.com</a>&quot; &lt;<a>migichen@gmail.com</a>&gt;;<br>
&gt; &quot;<a>paraview@paraview.org</a>&quot; &lt;<a>paraview@paraview.org</a>&gt;<br>&gt; Sent: Wednesday, July 11, 2012 10:53 AM<br>&gt;<br>&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>
&gt; reader<br>&gt;<br>&gt;
 I was reluctant to enable the reader in serial (i.e. not using MPI IO which<br>&gt; I think is getting done by default with the parallel build) because of the<br>&gt; following warnings that I got:<br>&gt;<br>&gt; Warning: In /home/acbauer/CODE/ParaView/<br>
&gt; ParaView/VTK/IO/Parallel/vtkWindBladeReader.cxx, line 942<br>&gt; vtkWindBladeReader (0x3a0c800): WindBladeReader error reading file:<br>&gt; /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind<br>&gt; Premature EOF while reading block of data. Expected 896000 but got 0<br>
&gt;<br>&gt; I just assumed that it was getting bad results so I didn&#39;t check the serial<br>&gt; output with the parallel output. In either case the code should be changed<br>&gt; before enabling it in serial so that it reads the files correctly and<br>
&gt; doesn&#39;t produce any warning messages.<br>&gt;<br>&gt; Andy<br>&gt;<br>&gt; On Wed, Jul 11, 2012 at 12:04 PM, Sohail Shafii &lt;<a>sohailshafii@yahoo.com</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt; I&#39;m not aware of any option to build/link against mpi-io.  This is just a<br>
&gt; standard build with mpi support that suffers from this issue.<br>&gt;<br>&gt; The ParaView website&#39;s builds also have the same bug.<br>&gt;<br>&gt; ________________________________<br>&gt; From: &quot;Woodring, Jonathan L&quot; &lt;<a>woodring@lanl.gov</a>&gt;<br>
&gt; To: Sohail Shafii &lt;<a>sohailshafii@yahoo.com</a>&gt;; Andy Bauer<br>&gt; &lt;<a>andy.bauer@kitware.com</a>&gt;; Sebastien Jourdain<br>&gt; &lt;<a>sebastien.jourdain@kitware.com</a>&gt;<br>&gt; Cc: &quot;<a>migichen@gmail.com</a>&quot; &lt;<a>migichen@gmail.com</a>&gt;; &quot;<a>paraview@paraview.org</a>&quot;<br>
&gt; &lt;<a>paraview@paraview.org</a>&gt;<br>&gt; Sent: Tuesday, July 10, 2012 10:06 AM<br>&gt;<br>&gt; Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>&gt; reader<br>&gt;<br>&gt; I added the MPI calls to be in sync with what was being added in the<br>
&gt; simulation.<br>&gt;<br>&gt; In the SuperComputing demo last year, we updated both the HiGrad FireTec to<br>&gt; use MPI-IO and likewise ParaView to do the same thing.<br>&gt;<br>&gt; It w</div> </div>  </div></div></blockquote>
<br><br>-- <br>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>