CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

paraFoam on RHEL 5

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 12, 2011, 03:20
Question paraFoam on RHEL 5
  #1
New Member
 
Join Date: Nov 2009
Posts: 15
Rep Power: 7
pizzaice is on a distinguished road
Hi guys,

I have an issue when trying to get the PV3Readers to compile.
I have got Paraview 3.8.1 is running fine but I'm having trouble with paraFoam:

When I execute I get:
Quote:
$ paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake
So when trying to do that the PV3Readers don't compile... it looks like this:
Quote:
./Allwmake
+ '[' -d /opt/openFOAM//ThirdParty-2.0.1/platforms/linux64Gcc44/paraview-3.10.1 -a -r /opt/openFOAM//ThirdParty-2.0.1/platforms/linux64Gcc44/paraview-3.10.1 ']'
+ '[' -n /opt/openFOAM//OpenFOAM-2.0.1/platforms/linux64Gcc44DPOpt/lib/paraview-3.10 ']'
+ '[' -n g++ ']'
+ export CXX=g++
+ CXX=g++
+ wmake libso vtkPV3Readers
SOURCE=vtkPV3Readers.C ; g++44 -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openFOAM//ThirdParty-2.0.1/platforms/linux64Gcc44/paraview-3.10.1/include/paraview-3.10 -IlnInclude -I. -I/opt/openFOAM//OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/opt/openFOAM//OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc44DPOpt/vtkPV3Readers.o
vtkPV3Readers.C:35:35: error: vtkDataArraySelection.h: No such file or directory
vtkPV3Readers.C:36:24: error: vtkDataSet.h: No such file or directory
vtkPV3Readers.C:37:34: error: vtkMultiBlockDataSet.h: No such file or directory
vtkPV3Readers.C:38:28: error: vtkInformation.h: No such file or directory
vtkPV3Readers.C: In function ‘void Foam::vtkPV3Readers::AddToBlock(vtkMultiBlockDataS et*, vtkDataSet*, const Foam::vtkPV3Readers:artInfo&, Foam::label, const std::string&)’:
vtkPV3Readers.C:85: error: ‘vtkDataObject’ was not declared in this scope
vtkPV3Readers.C:85: error: ‘blockDO’ was not declared in this scope
vtkPV3Readers.C:85: error: invalid use of incomplete type ‘struct vtkMultiBlockDataSet’
vtkPV3Readers.H:59: error: forward declaration of ‘struct vtkMultiBlockDataSet’
And so on.. I have looked around forums, blogs etc but coulndt identify the problem with my limited Linux skills... Is VTK not installed or what is the issue here?

Thanks,

Chris
pizzaice is offline   Reply With Quote

Old   September 12, 2011, 14:54
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Chris,

As far as I can deduce, your installation of OpenFOAM seems to be missing the ThirdParty-2.0.1 folder and/or you didn't build ParaView 3.10.1.

So, you have two options:
  1. Use a pre-built version of ParaView, as well as using the internal reader for opening OpenFOAM cases: Using the official pre-built ParaView 3.10.1 version with OpenFOAM
  2. Or build ParaView 3.10.1 and use the official reader: Building ParaView 3.10.1 with custom Qt 4.6.4
Using the internal reader from ParaView 3.8.1 to open cases that were executed with OpenFOAM 2.0, will probably limit what you can post-process, if anything at all.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   September 19, 2011, 01:27
Default Thanks
  #3
New Member
 
Join Date: Nov 2009
Posts: 15
Rep Power: 7
pizzaice is on a distinguished road
Hi Bruno,

thanks a lot for your hints. I will look at those during this week and hope they'll eliminate the problem.

BR, Chris
pizzaice is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pointVectorField in ParaFoam s_braendli OpenFOAM Paraview & paraFoam 0 April 22, 2010 08:36
paraFoam, problem loading 'volume fields' bigphil OpenFOAM Paraview & paraFoam 0 April 29, 2009 09:36
Parafoam basic questions qtian OpenFOAM Paraview & paraFoam 0 July 20, 2007 11:52
ParaFoam OF 14 decomposed cases philippose OpenFOAM Paraview & paraFoam 4 April 18, 2007 05:17
Fluent compliance with RHEL 4 hervé FLUENT 2 January 25, 2006 05:39


All times are GMT -4. The time now is 10:28.