CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Native ParaView Reader Bugs

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2009, 19:00
Default Well I use binary and give a p
  #161
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Well I use binary and give a precision of 6 digits so I guess it is single precision binary. I know using ASCII everything works fine. Is zipping of ASCII possible? Maybe I should switch there.

Regards
bastil is offline   Reply With Quote

Old   March 7, 2009, 08:35
Default @Precision: if my understandin
  #162
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
@Precision: if my understanding is correct, the precision of the binary format is not affected by writePrecision but determined by how your solver was compiled. If you compiled one with the environment variable WM_PRECISION_OPTION=SP the binary files will be written in single precision, while with WM_PRECISION_OPTION=DP the binary files will be in double precision. Which is your setting (echo $WM_PRECISION_OPTION)? If it is SP, I'm afraid the reader does not support single precision binary format yet, although it is in my to-do list.

@Zipping: the reader does support ascii-compressed format (writeCompression compressed; compressed by gzip).

Takuya
7islands is offline   Reply With Quote

Old   March 7, 2009, 15:59
Default Takuya, sorry to say both 1
  #163
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

sorry to say both 1.5 and 1.5.x are in DP.

Regards BastiL
bastil is offline   Reply With Quote

Old   March 8, 2009, 01:52
Default Thaks for the clarification. H
  #164
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Thaks for the clarification. Hope someone else with more knowledges or who is having the same problem chimes in.

Takuya
7islands is offline   Reply With Quote

Old   March 8, 2009, 05:52
Default Thanks Takuya for all your hel
  #165
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Thanks Takuya for all your help.

I will consider switching to ASCII. If you are interested I can send you my dambreakfine Case so you can try runing it in your environment.

Regards BastiL
bastil is offline   Reply With Quote

Old   March 8, 2009, 06:41
Default Then if you can pack the case
  #166
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Then if you can pack the case within around 7 MBytes (i.e. < 10 MB MIME-encoded), can you send it to me please? The address is in my profile.

Takuya
7islands is offline   Reply With Quote

Old   March 9, 2009, 04:26
Default Takuya, I have sent you the
  #167
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Takuya,

I have sent you the case, it is about 3.5 MB of size. Please check your EMail.

Regards BastiL
bastil is offline   Reply With Quote

Old   March 13, 2009, 10:12
Default Hi BastiL, Thanks for the cas
  #168
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi BastiL,
Thanks for the case. However unfortunately, somehow the problem never reproduces, at least on OS X and Ubuntu 8.04 64bit where I have tested so far. I keep on testing on other platforms, but I have to say the chance the problem being reproduced is slim.

Takuya
7islands is offline   Reply With Quote

Old   March 23, 2009, 03:18
Default Posted ParaView 3.4+OpenFOAM Reader Win32 binary
  #169
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi,

I posted a Windows 32bit binary package of ParaView 3.4.0 with the parallel reader (which I have been asked several times) to my SF project. The link can be followed from the Downloads section of the Wiki page.

Another difference from the package available from Kitware, apart from the inclusion of the reader, is that my package was compiled with MPICH2 1.0.8. The package contains minimal set of MPICH2-DLLs and executables so that one can easily play with the parallel feature of ParaView and the reader. However, I recommend you install and use the original MPICH2 1.0.8 package from the Argonne site if you run MPICH2 for the first time on your computer, because it will ask you credential information when run for the first time.

Please let me know if you find any problems.

Takuya
7islands is offline   Reply With Quote

Old   April 21, 2009, 15:53
Default New reader works fine once plugins loaded manually
  #170
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Hi Takuya

Greetings.

Thanks for the new reader. I followed the instructions and was partially successful to compile the paraview with the serial and the parallel reader. Why partially, because I ended with the same error :


jaswi@lstma138:~> paraview
ERROR: In /home/jaswi/Sources/ParaView3/Servers/Common/vtkProcessModule.cxx, lin e 1045
vtkProcessModule (0x7b0a60): Object type: vtkOpenFOAMReader, could not find requ ested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {86}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}


ERROR: In /home/jaswi/Sources/ParaView3/Servers/Common/vtkProcessModule.cxx, lin e 1046
vtkProcessModule (0x7b0a60): Aborting execution for debugging purposes.

-----------
Just for your information I am compiling paraview 3.5 which I pulled out from the CVS. To compile it, I am using:

- cmake-2.6.3
- qt - 4.3.1
- Python 2.5.1
- gcc (GCC) 4.3.1

on my OpenSUSE 10.3 box.

After I load the plugins manually everything works fine. Still have to figure what I did wrong. If anybody knows the reason please share.

One more thing which is not working for me is the video. When I try to save my animation , I do not get any of the video formats. Can somebody please help me on this.

Takuya, I have one more doubt. There is a link at the bottom of the wiki page :

https://of-interfaces.svn.sourceforg...r23-VTKcontrib

When i compare the contents of the folders with the contents of the tar ball at this link :

http://downloads.sourceforge.net/of-...gz?use_mirror=

then the {.cxx, .h } files are same but the CMakeLists.txt.diff is missing from the tar ball. The script, as far as I understand, copies the files for the serial reader and that's it . Also the reader.xml is not modified as instructed in contents at svn link.
Please comment if time permits.

I am also a bit confused about the step where I build the parallelized reader. It asks to:

" create a build directory and then
Run ccmake from within the build directory. Set ParaView_DIR to your ParaView build directory (not the source directory) at the command line. "

Does this implies that the plugins for the parallelized reader have to be build into separate directory ? I am already building the Paraview out of source (withPARAVIEW_USE_MPI=ON) in a separate build directory.

I will go through the whole process once again and see if I can find the reason why this is happening.

Thanks

Best Regards
Jaswi
jaswi is offline   Reply With Quote

Old   April 21, 2009, 21:47
Default
  #171
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Jaswi,

Quote:
Originally Posted by jaswi View Post
Hi Takuya

Greetings.

Thanks for the new reader. I followed the instructions and was partially successful to compile the paraview with the serial and the parallel reader. Why partially, because I ended with the same error :


jaswi@lstma138:~> paraview
ERROR: In /home/jaswi/Sources/ParaView3/Servers/Common/vtkProcessModule.cxx, lin e 1045
vtkProcessModule (0x7b0a60): Object type: vtkOpenFOAMReader, could not find requ ested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {86}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}


ERROR: In /home/jaswi/Sources/ParaView3/Servers/Common/vtkProcessModule.cxx, lin e 1046
vtkProcessModule (0x7b0a60): Aborting execution for debugging purposes.

-----------
Just for your information I am compiling paraview 3.5 which I pulled out from the CVS. To compile it, I am using:

- cmake-2.6.3
- qt - 4.3.1
- Python 2.5.1
- gcc (GCC) 4.3.1

on my OpenSUSE 10.3 box.

After I load the plugins manually everything works fine. Still have to figure what I did wrong. If anybody knows the reason please share.
You have to copy the plugins into one of the ParaView plugin directories. The directories are listed in the Plugin Manager panel (Tools -> Manage Plugins/Extensions...).

Quote:
One more thing which is not working for me is the video. When I try to save my animation , I do not get any of the video formats. Can somebody please help me on this.
Perhaps you need a particular version of ffmpeg. See http://www.paraview.org/Wiki/ParaView_Binaries .

Quote:
Takuya, I have one more doubt. There is a link at the bottom of the wiki page :

https://of-interfaces.svn.sourceforg...r23-VTKcontrib

When i compare the contents of the folders with the contents of the tar ball at this link :

http://downloads.sourceforge.net/of-...gz?use_mirror=

then the {.cxx, .h } files are same but the CMakeLists.txt.diff is missing from the tar ball. The script, as far as I understand, copies the files for the serial reader and that's it .
CMakeLists.txt.diff is missing from the tarball because you don't need to modify CMakeLists.txt if you intend to install the tarball version.

Quote:
Also the reader.xml is not modified as instructed in contents at svn link.
Please comment if time permits.
You have to hand-edit readers.xml as written in INSTALL if you intend to install the svn-version.

Quote:
I am also a bit confused about the step where I build the parallelized reader. It asks to:

" create a build directory and then
Run ccmake from within the build directory. Set ParaView_DIR to your ParaView build directory (not the source directory) at the command line. "

Does this implies that the plugins for the parallelized reader have to be build into separate directory ?
Right. Hence after all you are going to have
  • ParaView source directory
  • ParaView build directory
  • Plugin source directory
  • Plugin build directory
if you build the tarball version.

Hope this helps.

Takuya
7islands is offline   Reply With Quote

Old   April 22, 2009, 11:40
Default Thanks it works; python shell still a problem
  #172
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Hi Takuya

Thanks for the help.

I created a directory "plugins" in bin and copied the newly created plugins:

libPOpenFOAMPanel.so
libPOpenFOAMReaderSMPlugin.so

into /Builds/paraview-3.5/bin/plugins. (I am using in-build paraview - no installations). Everything works fine.

Regarding the ffmpeg - the problem is solved as well. I took the ffmpeg from the link provided on paraview website ( http://www.paraview.org/Wiki/ParaView_Binaries). Followed the instructions given in README and it worked. Anybody having problem with it please not that it has to be built and installed before you can specify the paths to it while configuring your paraview build.

NOTE: Any body trying the latest ffmpeg source from http://www.ffmpeg.org/download.html , it will not work as the variable "img_convert" used in the "Sources/ParaView3/VTK/IO/vtkFFMPEGWriter.cxx " is no more supported in the latest release. Stick to the link provided on the Paraview website

One last question regarding the python support. When ever I open the Tools --> python shell, I get the following message:

>>> from paraview.simple.import *
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named paraview
>>>

Could you please suggest what is wrong . Do I need to setup some environment variable so that the module could be located

Thanks for the tips and the reader once again

Kind Regards
Jaswi
jaswi is offline   Reply With Quote

Old   April 25, 2009, 22:45
Default
  #173
New Member
 
Bill Rosemurgy
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 20
Rep Power: 17
brosemu is on a distinguished road
Hi all,

I'm trying to build the Parallel reader plugins for Takuya's reader and am having some problems. I'm using ParaView3.5 from CVS on an Intel Macbook Pro and am compiling it with PARAVIEW_USE_MPI=OFF (because I can't seem to get it to build otherwise). I use the preinstall.sh script for "installing" the Serial reader and then I ccmake and make and ParaView builds and runs fine. Then I make a build directory for the Parallel reader and cd to it and run ccmake and set CMAKE_BUILD_TYPE to Release and configure and load. Then when I "make" I get this error:

[ 56%] Built target POpenFOAMPanel
[ 62%] Building CXX object CMakeFiles/POpenFOAMReaderSMPlugin.dir/vtkPOpenFOAMReader.cxx.o
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: error: ‘vtkStringArray’ has not been declared
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:88: error: ‘vtkStringArray’ has not been declared
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘void vtkPOpenFOAMReader::SetCaseType(int)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:95: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘virtual int vtkPOpenFOAMReader::RequestInformation(vtkInformat ion*, vtkInformationVector**, vtkInformationVector*)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:125: error: ‘class vtkPOpenFOAMReader’ has no member named ‘GetTimeValues’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:134: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:136: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:144: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:144: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:150: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:150: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:151: error: ‘class vtkPOpenFOAMReader’ has no member named ‘ListTimeStepsByControlDict’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:152: error: ‘class vtkPOpenFOAMReader’ has no member named ‘ListTimeStepsByControlDictOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:153: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:156: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:156: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:122: error: ‘vtkDataArraySelection* vtkOpenFOAMReader::CellDataArraySelection’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:159: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:160: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PointDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:161: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:162: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PatchDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:165: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:165: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:166: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:167: error: ‘class vtkPOpenFOAMReader’ has no member named ‘NumberOfReaders’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:174: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CreateCasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:176: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CreateCharArrayFromString’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:176: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:231: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:232: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetParent’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:233: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeInformationVector’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:234: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:241: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:242: error: ‘class vtkOpenFOAMReader’ has no member named ‘GetTimeValues’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:248: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:267: error: no matching function for call to ‘vtkPOpenFOAMReader::Broadcast(vtkStringArray*&)’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: note: candidates are: void vtkPOpenFOAMReader::Broadcast(int*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:271: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:289: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:290: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetParent’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:292: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeInformationVector’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:293: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:295: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:308: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘virtual int vtkPOpenFOAMReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:341: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:369: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CurrentReaderIndex’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:370: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:372: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:377: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetTimeValue’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:382: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:405: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:414: error: ‘class vtkPOpenFOAMReader’ has no member named ‘UpdateStatus’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘void vtkPOpenFOAMReader::GatherMetaData()’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:434: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PatchDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:122: error: ‘vtkDataArraySelection* vtkOpenFOAMReader::CellDataArraySelection’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:435: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:436: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PointDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:437: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:441: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianPaths’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: At global scope:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:447: error: prototype for ‘void vtkPOpenFOAMReader::Broadcast(vtkStringArray*)’ does not match any in class ‘vtkPOpenFOAMReader’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: error: candidate is: void vtkPOpenFOAMReader::Broadcast(int*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:552: error: prototype for ‘void vtkPOpenFOAMReader::AllGather(vtkStringArray*)’ does not match any in class ‘vtkPOpenFOAMReader’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:89: error: candidates are: void vtkPOpenFOAMReader::AllGather(vtkDataArraySelectio n*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:88: error: void vtkPOpenFOAMReader::AllGather(int*)
make[2]: *** [CMakeFiles/POpenFOAMReaderSMPlugin.dir/vtkPOpenFOAMReader.cxx.o] Error 1
make[1]: *** [CMakeFiles/POpenFOAMReaderSMPlugin.dir/all] Error 2
make: *** [all] Error 2

Any help? Do I need to have PARAVIEW_USE_MPI=ON?

Thanks for any help!

Bill
brosemu is offline   Reply With Quote

Old   April 26, 2009, 00:17
Default
  #174
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Bill,

The serial reader (vtkOpenFOAMReader.{cxx,h}) may not have been installed properly by preInstall.sh. Can you
  1. manually copy the reader files into the ParaView3/VTK/IO directory of your ParaView source tree
  2. re-run make under your ParaView build directory
  3. re-run make under your plugin directory?
Takuya
7islands is offline   Reply With Quote

Old   April 26, 2009, 10:19
Default
  #175
New Member
 
Bill Rosemurgy
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 20
Rep Power: 17
brosemu is on a distinguished road
Takuya,

Thanks for the quick reply. I did what you said. And got a the same error, but in a different place in the build.

/Volumes/openFOAM/ThirdParty/ParaView3.5/ParallelReader -> rm -r *
/Volumes/openFOAM/ThirdParty/ParaView3.5/ParallelReader -> rm -r *.*
/Volumes/openFOAM/ThirdParty/ParaView3.5/ParallelReader -> ls
/Volumes/openFOAM/ThirdParty/ParaView3.5/ParallelReader -> ccmake ../vtkPOpenFOAMReader/GPL/ -DParaView_DIR=/Volumes/openFOAM/ThirdParty/ParaView3.5/


/Volumes/openFOAM/ThirdParty/ParaView3.5/ParallelReader -> make -j 2
[ 6%] [ 12%] Generating moc_pqPOpenFOAMPanelImplementation.cxx
Generating vtkSMXML_POpenFOAMReaderSMPlugin.h
-- Generate module: POpenFOAMReaderSM
[ 18%] Generating vtkPOpenFOAMReaderClientServer.cxx
Scanning dependencies of target POpenFOAMReaderSMPlugin
[ 25%] Generating moc_POpenFOAMPanelPluginImplementation.cxx
[ 31%] Generating moc_pqPOpenFOAMPanel.cxx
[ 37%] Building CXX object CMakeFiles/POpenFOAMReaderSMPlugin.dir/vtkPOpenFOAMReader.cxx.o
Scanning dependencies of target POpenFOAMPanel
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: error: ‘vtkStringArray’ has not been declared
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:88: error: ‘vtkStringArray’ has not been declared
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘void vtkPOpenFOAMReader::SetCaseType(int)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:95: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘virtual int vtkPOpenFOAMReader::RequestInformation(vtkInformat ion*, vtkInformationVector**, vtkInformationVector*)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:125: error: ‘class vtkPOpenFOAMReader’ has no member named ‘GetTimeValues’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:134: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:136: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:144: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:144: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:150: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:150: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:151: error: ‘class vtkPOpenFOAMReader’ has no member named ‘ListTimeStepsByControlDict’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:152: error: ‘class vtkPOpenFOAMReader’ has no member named ‘ListTimeStepsByControlDictOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:153: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:156: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:156: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:122: error: ‘vtkDataArraySelection* vtkOpenFOAMReader::CellDataArraySelection’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:159: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:160: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PointDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:161: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:162: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PatchDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:165: error: ‘class vtkPOpenFOAMReader’ has no member named ‘FileNameOld’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:165: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:166: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:167: error: ‘class vtkPOpenFOAMReader’ has no member named ‘NumberOfReaders’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:174: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CreateCasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:176: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CreateCharArrayFromString’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:176: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:231: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:232: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetParent’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:233: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeInformationVector’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:234: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:241: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:242: error: ‘class vtkOpenFOAMReader’ has no member named ‘GetTimeValues’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:248: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:267: error: no matching function for call to ‘vtkPOpenFOAMReader::Broadcast(vtkStringArray*&)’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: note: candidates are: void vtkPOpenFOAMReader::Broadcast(int*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:271: error: ‘class vtkPOpenFOAMReader’ has no member named ‘SetTimeInformation’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:111: error: ‘char* vtkOpenFOAMReader::FileName’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:289: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:290: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetParent’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:292: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeInformationVector’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:293: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:295: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:308: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Refresh’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘virtual int vtkPOpenFOAMReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:341: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:369: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CurrentReaderIndex’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:370: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:372: error: ‘class vtkPOpenFOAMReader’ has no member named ‘Readers’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:377: error: ‘class vtkOpenFOAMReader’ has no member named ‘SetTimeValue’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:382: error: ‘class vtkOpenFOAMReader’ has no member named ‘MakeMetaDataAtTimeStep’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:405: error: ‘class vtkPOpenFOAMReader’ has no member named ‘CasePath’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:414: error: ‘class vtkPOpenFOAMReader’ has no member named ‘UpdateStatus’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: In member function ‘void vtkPOpenFOAMReader::GatherMetaData()’:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:434: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PatchDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/ParaView3/VTK/IO/vtkOpenFOAMReader.h:122: error: ‘vtkDataArraySelection* vtkOpenFOAMReader::CellDataArraySelection’ is private
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:435: error: within this context
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:436: error: ‘class vtkPOpenFOAMReader’ has no member named ‘PointDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:437: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianDataArraySelection’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:441: error: ‘class vtkPOpenFOAMReader’ has no member named ‘LagrangianPaths’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx: At global scope:
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:447: error: prototype for ‘void vtkPOpenFOAMReader::Broadcast(vtkStringArray*)’ does not match any in class ‘vtkPOpenFOAMReader’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:86: error: candidate is: void vtkPOpenFOAMReader::Broadcast(int*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.cxx:552: error: prototype for ‘void vtkPOpenFOAMReader::AllGather(vtkStringArray*)’ does not match any in class ‘vtkPOpenFOAMReader’
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:89: error: candidates are: void vtkPOpenFOAMReader::AllGather(vtkDataArraySelectio n*)
/Volumes/openFOAM/ThirdParty/ParaView3.5/vtkPOpenFOAMReader/GPL/vtkPOpenFOAMReader.h:88: error: void vtkPOpenFOAMReader::AllGather(int*)
[ 43%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/moc_POpenFOAMPanelPluginImplementation.cxx.o
make[2]: *** [CMakeFiles/POpenFOAMReaderSMPlugin.dir/vtkPOpenFOAMReader.cxx.o] Error 1
make[1]: *** [CMakeFiles/POpenFOAMReaderSMPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 50%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/POpenFOAMPanelPluginImplementation.cxx.o
[ 56%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/pqPOpenFOAMPanel.cxx.o
[ 62%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/moc_pqPOpenFOAMPanel.cxx.o
[ 68%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/pqPOpenFOAMPanelImplementation.cxx.o
[ 75%] Building CXX object CMakeFiles/POpenFOAMPanel.dir/moc_pqPOpenFOAMPanelImplementation.cxx.o
Linking CXX shared library libPOpenFOAMPanel.dylib
[ 75%] Built target POpenFOAMPanel
make: *** [all] Error 2

Thanks for your help!
brosemu is offline   Reply With Quote

Old   April 26, 2009, 10:35
Default
  #176
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
No it still seems to be reading the original vtkOpenFOAMReader.h. Please double check that vtkOpenFOAMReader.{cxx,h} have been replaced by the ones included in the reader package. And please don't forget to rebuild ParaView itself. Otherwise the reader won't work even if the compilation of the plugins are successful.

Takuya
7islands is offline   Reply With Quote

Old   April 26, 2009, 10:43
Default
  #177
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Ah. Okay. You have messed up something by the existences of two directories with similar and thus confusing names

/Volumes/openFOAM/ThirdParty/ParaView3.5-cvs/
/Volumes/openFOAM/ThirdParty/ParaView3.5/

I would suggest removing either one of the two and start over with distinctive directory names.

Takuya
7islands is offline   Reply With Quote

Old   April 26, 2009, 11:15
Default
  #178
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Hi Takuya

I just wanted to bring my previous post to your attention.

Thanks for the help. I just have issue which is still not solved and that is with python plugin. When ever I open the Tools --> python shell, I get the following message:

>>> from paraview.simple.import *
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named paraview
>>>

Could you please suggest what is wrong . Do I need to setup some environment variable so that the module could be located

Thanks for the tips and the reader once again

Kind Regards
Jaswi
jaswi is offline   Reply With Quote

Old   April 27, 2009, 05:24
Default
  #179
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi Jaswi,
No idea if setting usual environment variables (LD_LIBRARY_PATH, PYTHONPATH) doesn't work, as I have never had the problem. Anyone else?

Takuya
7islands is offline   Reply With Quote

Old   August 31, 2009, 12:29
Default
  #180
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hi Takuya,

I don't know if this is know: The current stable reader (20081005) does not build with Paraview3.6.1 out of OpenFOAM (at least for me). I can build and install paraview however get an error message as soon as I try to read a file into Paraview using the "all" option:

ERROR: In /data/brblo/Softwareupdates/Paraview/ParaView3.6.1-src/Servers/Common/vtkProcessModule.cxx, line 1049
vtkProcessModule (0x6a2e10): Object type: vtkOpenFOAMReader, could not find requested method: "SetTimeStep"
or the method was called with incorrect arguments.

while processing
Message 0 = Invoke
Argument 0 = id_value {257}
Argument 1 = string_value {SetTimeStep}
Argument 2 = int32_value {0}



ERROR: In /data/brblo/Softwareupdates/Paraview/ParaView3.6.1-src/Servers/Common/vtkProcessModule.cxx, line 1050
vtkProcessModule (0x6a2e10): Aborting execution for debugging purposes.

This error goes up instead of the normal dialog window asking th euser what kind of format the file has.

Regards BastiL
bastil is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Extract Block with paraview native reader kandelabr ParaView 4 August 30, 2021 03:28
[OpenFOAM] Decomposed multiregion cases in Paraview with native reader Yann ParaView 2 January 16, 2019 06:48
Updated native OpenFOAM reader for ParaView 5.3 opencfd OpenFOAM Announcements from ESI-OpenCFD 4 July 13, 2017 11:14
[OpenFOAM] Native VisIt Reader Bugs tj22 ParaView 8 November 8, 2013 05:21
[OpenFOAM] Paraview Windows VTK Reader trex930 ParaView 0 November 3, 2010 20:31


All times are GMT -4. The time now is 12:54.