<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><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><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" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> David E DeMarle <dave.demarle@kitware.com><br> <b><span style="font-weight: bold;">To:</span></b> Sohail Shafii <sohailshafii@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Andy Bauer
<andy.bauer@kitware.com>; "migichen@gmail.com" <migichen@gmail.com>; "paraview@paraview.org" <paraview@paraview.org>; "Woodring, Jonathan L" <woodring@lanl.gov> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 17, 2012 12:43 PM<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 ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">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 ymailto="mailto:andy.bauer@kitware.com" href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><br>> To: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com"
href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>><br>> Cc: "Woodring, Jonathan L" <<a ymailto="mailto:woodring@lanl.gov" href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>>; Sebastien Jourdain<br>> <<a ymailto="mailto:sebastien.jourdain@kitware.com" href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>>; "<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>" <<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>>;<br>> "<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">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
ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">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 ymailto="mailto:woodring@lanl.gov" href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>><br>> To: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>>; Andy Bauer<br>> <<a ymailto="mailto:andy.bauer@kitware.com" href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>; Sebastien Jourdain<br>> <<a ymailto="mailto:sebastien.jourdain@kitware.com"
href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>> Cc: "<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>" <<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>>; "<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>"<br>> <<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">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 was working
when I last checked it in November. It could be that you<br>> didn't build or link against MPI-IO? It might require that the build needs<br>> to be guarded if you don't have MPI-IO.<br>><br>> I thought I did that but it might have gotten changed during the VTK<br>> overhaul… That's the only thing that I can think of at the moment, because<br>> I'm pretty sure I had it working in serial with MPI-IO (it shouldn't<br>> matter.)<br>><br>> From: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>><br>> Reply-To: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>><br>> Date: Tue, 10 Jul 2012 08:44:01 -0700<br>> To: Andy Bauer <<a ymailto="mailto:andy.bauer@kitware.com" href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>, Sebastien
Jourdain<br>> <<a ymailto="mailto:sebastien.jourdain@kitware.com" href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>> Cc: "<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>" <<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>>, woodring <<a ymailto="mailto:woodring@lanl.gov" href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>>,<br>> "<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>> Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>> reader<br>><br>> I'm afraid my knowledge here is a bit limited. All of my edits have been in<br>> relation to loading the blade data. The MPI calls
were put in by someone<br>> else.<br>><br>> By the way, is the wind blade reader updated in VTK as well? (i.e. the VTK<br>> package) I remember downloading VTK a while ago and there was a mismatch<br>> between that windbladereader and the one in ParaView.<br>><br>> Sohail<br>><br>> ________________________________<br>> From: Andy Bauer <<a ymailto="mailto:andy.bauer@kitware.com" href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>><br>> To: Sebastien Jourdain <<a ymailto="mailto:sebastien.jourdain@kitware.com" href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>> Cc: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>>; "<a ymailto="mailto:migichen@gmail.com" href="mailto:migichen@gmail.com">migichen@gmail.com</a>"<br>> <<a ymailto="mailto:migichen@gmail.com"
href="mailto:migichen@gmail.com">migichen@gmail.com</a>>; "<a ymailto="mailto:woodring@lanl.gov" href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>" <<a ymailto="mailto:woodring@lanl.gov" href="mailto:woodring@lanl.gov">woodring@lanl.gov</a>>;<br>> "<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>> Sent: Tuesday, July 3, 2012 11:54 AM<br>> Subject: Re: [Paraview] ParaView thinks that it does not have a wind blade<br>> reader<br>><br>> Hi Sohail,<br>><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.<br>><br>> If someone fixes this problem in the reader we can enable it properly<br>> through the gui. Right now though I'm getting a bunch of warnings when<br>> running in serial like:<br>> Warning: In<br>> /home/acbauer/CODE/ParaView/ParaView/VTK/IO/Parallel/vtkWindBladeReader.cxx,<br>> 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>><br>> Andy<br>><br>> On Tue, Jul 3, 2012 at 12:09 PM, Andy Bauer <<a ymailto="mailto:andy.bauer@kitware.com" href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>> wrote:<br>><br>>
I get the same problem in both 3.14.1 and master. The reader is still<br>> available but just not conveniently through the GUI. To access it though you<br>> can bring up the python shell and do the following:<br>>>>> w = WindBladereader()<br>>>>> w.Filename = "<path>/test1_topo.wind"<br>>>>> Show()<br>>>>> Render()<br>><br>> This shouldn't be too hard of a fix for ParaView. I'll let you know when<br>> it's done.<br>><br>> Andy<br>><br>><br>> On Mon, Jul 2, 2012 at 6:03 PM, Sebastien Jourdain<br>> <<a ymailto="mailto:sebastien.jourdain@kitware.com" href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>> wrote:<br>><br>> Hi Sohail,<br>><br>> a similar bug was fixed in master not so long ago. Could you try<br>> master to see if the issue remains ?<br>><br>> Thanks,<br>><br>> Seb<br>><br>> On Mon, Jul 2, 2012
at 5:36 PM, Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>><br>> wrote:<br>>> Hi,<br>>><br>>> We are trying to open a .wind data set. In the open file menu, ParaView<br>>> lists the .wind format as a possible option. Once we click open, however,<br>>> it complains that a reader for that data format cannot be found. This is<br>>> true for the compiled-from-source and pre-compiled versions of ParaView<br>>> 3.14.1. The wind blade source still exists in the VTK/Parallel folder and<br>>> it<br>>> is referenced in the corresponding CMakeLists.txt file. Any thoughts?<br>>><br>>> Thanks, Sohail<br>>><br>>> _______________________________________________<br>>> Powered by www.kitware.com<br>>><br>>> Visit other Kitware open-source projects at<br>>> <a
href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>><br>>> Please keep messages on-topic and check the ParaView Wiki at:<br>>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>>><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>>><br>> _______________________________________________<br>> Powered by www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the ParaView Wiki at:<br>> <a href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> _______________________________________________<br>> Powered by www.kitware.com<br>><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the ParaView Wiki at:<br>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br><br><br> </div> </div> </div></body></html>