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's what Andy said before, which relates to my concern:</span></div>
<div><span>"</span>><br>> I went through the code and it jogged my memory about previous problems with<br>> it. It had an explicit MPI call in the constructor that would cause problems<br>> when paraview wasn't getting built with MPI. Any time a user tried to open<br>
> an unknown file it would try to create a windblade reader to see if the<br>> reader could handle the file and this would cause a crash. If you launch a<br>> separate pvserver the wind blade reader will be available in the gui."</div>
<div><br></div><div>What I meant was; which ParaView class "creates" or "tests" 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'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'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 "*WindBlade*" -print<br>---> ./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&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 <<a>sohailshafii@yahoo.com</a>> wrote:<br>
> What is the class that is responsible for testing to reader to see if it can<br>> open the .wind file?<br>><br>> Sohail<br>><br>> ________________________________<br>> From: Andy Bauer <<a>andy.bauer@kitware.com</a>><br>
> To: Sohail Shafii <<a>sohailshafii@yahoo.com</a>><br>> Cc: "Woodring, Jonathan L" <<a>woodring@lanl.gov</a>>; Sebastien Jourdain<br>> <<a>sebastien.jourdain@kitware.com</a>>; "<a>migichen@gmail.com</a>" <<a>migichen@gmail.com</a>>;<br>
> "<a>paraview@paraview.org</a>" <<a>paraview@paraview.org</a>><br>> Sent: Wednesday, July 11, 2012 10:53 AM<br>><br>> Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>
> reader<br>><br>>
I was reluctant to enable the reader in serial (i.e. not using MPI IO which<br>> I think is getting done by default with the parallel build) because of the<br>> following warnings that I got:<br>><br>> Warning: In /home/acbauer/CODE/ParaView/<br>
> ParaView/VTK/IO/Parallel/vtkWindBladeReader.cxx, line 942<br>> vtkWindBladeReader (0x3a0c800): WindBladeReader error reading file:<br>> /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind<br>> Premature EOF while reading block of data. Expected 896000 but got 0<br>
><br>> I just assumed that it was getting bad results so I didn't check the serial<br>> output with the parallel output. In either case the code should be changed<br>> before enabling it in serial so that it reads the files correctly and<br>
> doesn't produce any warning messages.<br>><br>> Andy<br>><br>> On Wed, Jul 11, 2012 at 12:04 PM, Sohail Shafii <<a>sohailshafii@yahoo.com</a>><br>> wrote:<br>><br>> I'm not aware of any option to build/link against mpi-io. This is just a<br>
> standard build with mpi support that suffers from this issue.<br>><br>> The ParaView website's builds also have the same bug.<br>><br>> ________________________________<br>> From: "Woodring, Jonathan L" <<a>woodring@lanl.gov</a>><br>
> To: Sohail Shafii <<a>sohailshafii@yahoo.com</a>>; Andy Bauer<br>> <<a>andy.bauer@kitware.com</a>>; Sebastien Jourdain<br>> <<a>sebastien.jourdain@kitware.com</a>><br>> Cc: "<a>migichen@gmail.com</a>" <<a>migichen@gmail.com</a>>; "<a>paraview@paraview.org</a>"<br>
> <<a>paraview@paraview.org</a>><br>> Sent: Tuesday, July 10, 2012 10:06 AM<br>><br>> Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>> reader<br>><br>> I added the MPI calls to be in sync with what was being added in the<br>
> simulation.<br>><br>> In the SuperComputing demo last year, we updated both the HiGrad FireTec to<br>> use MPI-IO and likewise ParaView to do the same thing.<br>><br>> It w</div> </div> </div></div></blockquote>
<br><br>-- <br>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>