CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   paraFoam on RHEL 5 (http://www.cfd-online.com/Forums/openfoam-installation/92348-parafoam-rhel-5-a.html)

pizzaice September 12, 2011 03:20

paraFoam on RHEL 5
 
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::partInfo&, 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

wyldckat September 12, 2011 14:54

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

pizzaice September 19, 2011 01:27

Thanks
 
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


All times are GMT -4. The time now is 15:42.