CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation of OpenFoam 15 Compilation paraview (https://www.cfd-online.com/Forums/openfoam-installation/57262-installation-openfoam-15-compilation-paraview.html)

then August 28, 2008 22:05

I installed cmake (version 2.4
 
I installed cmake (version 2.4.7) and now get the same error msg as Soeren.

Still digging~~ http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

then August 28, 2008 23:40

It worked finally!! What I
 
It worked finally!!

What I did is:
1. Installed the PV3FoamReader module as suggested in the README:
* cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
* ./Allwclean
* ./Allwmake

2. Compile ParaView
* cd $FOAM_INST_DIR/ThirdParty
* rm -rf ParaView3.3-cvs/platforms
* buildParaView3.3-cvs

Just as suggested by Jaswinder, READ the README file carefully and you'll figure it out. http://www.cfd-online.com/OpenFOAM_D...part/happy.gif

mabinty August 29, 2008 04:57

Dear all!! Finally I manage
 
Dear all!!

Finally I managed to install OF 1.5.x. Now I have problems to build paraview. I followed the readme file (as also outlined by Ying), i.e. installed the PV3FoamReader module first and received the following messages:

[aa@lws16 PV3FoamReader]$ ./Allwclean
+ rm -rf PV3FoamReader/Make
+ wclean libso vtkPV3Foam
wclean vtkPV3Foam
[aa@lws16 PV3FoamReader]$ ./Allwmake
+ '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/
aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']'
+ case "$ParaView_VERSION" in
+ wmake libso vtkPV3Foam
wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/uti
lities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/lnInclude

Making dependency list for source file vtkPV3Foam.C
could not open file vtkConfigure.h for source file vtkPV3Foam.C
Making dependency list for source file vtkPV3FoamAddVolumeMesh.C
could not open file vtkConfigure.h for source file vtkPV3FoamAddVolumeMesh.C
Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C
could not open file vtkConfigure.h for source file vtkPV3FoamAddLagrangianMesh.C
Making dependency list for source file vtkPV3FoamAddPatchMesh.C
could not open file vtkConfigure.h for source file vtkPV3FoamAddPatchMesh.C
Making dependency list for source file vtkPV3FoamAddZoneMesh.C

AND SO ON ending with the lines:

make: *** [Make/linuxGccDPOpt/vtkPV3Foam.o] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
./Allwmake: line 13: cmake: command not found
+ make
make: *** No targets specified and no makefile found. Stop.

I thank a lot for any comments!!
Aram

mabinty August 29, 2008 05:52

Hi!! I searched for the vtk
 
Hi!!

I searched for the vtkConfigure.h file and found it here:

/home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/ VTK/vtkConfigure.h

I am somehow confused (from the beginning of the OF installation) why to have a ThirdParty folder in the ThirdParty folder?

Thx for any help!!
Aram

mabinty August 29, 2008 07:56

Hi again!! I copied the
 
Hi again!!

I copied the

/home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ParaView3.3-cvs/platforms

to

/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms

and ran the installation of the PV3FoamReader module again, receiving the following messages:

[aa@lws16 PV3FoamReader]$ ./Allwclean
+ rm -rf PV3FoamReader/Make
+ wclean libso vtkPV3Foam
wclean vtkPV3Foam
[aa@lws16 PV3FoamReader]$ ./Allwmake
+ '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']'
+ case "$ParaView_VERSION" in
+ wmake libso vtkPV3Foam
wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/vtkPV3Foam/lnInclude

Making dependency list for source file vtkPV3Foam.C
Making dependency list for source file vtkPV3FoamAddVolumeMesh.C
Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C
Making dependency list for source file vtkPV3FoamAddPatchMesh.C
Making dependency list for source file vtkPV3FoamAddZoneMesh.C
Making dependency list for source file vtkPV3FoamAddSetMesh.C
Making dependency list for source file vtkPV3FoamUpdate.C
Making dependency list for source file vtkPV3FoamUpdateInformation.C
Making dependency list for source file vtkPV3FoamConvertMesh.C
SOURCE=vtkPV3Foam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Foam.o
In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIndent.h:24,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkObjectBase.h:43,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkObject.h:41,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkAlgorithm.h:3 2,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkMultiBlockDat aSetAlgorithm.h:25,
from ../PV3FoamReader/vtkPV3FoamReader.h:24,
from vtkPV3Foam.C:34:
/home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/backward_warning.h:32: 2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
SOURCE=vtkPV3FoamAddVolumeMesh.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3FoamAddVolumeMesh.o
In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40,

AND SO ON, ending with the lines:

'/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so' is up to date.
+ cd PV3FoamReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
./Allwmake: line 13: cmake: command not found
+ make
make: *** No targets specified and no makefile found. Stop.

Thx for any comments!
Aram

then August 29, 2008 11:50

On your error msg there is a l
 
On your error msg there is a line saying

"+ cmake ../..
./Allwmake: line 13: cmake: command not found
+ make
make: *** No targets specified and no makefile found. Stop. "

Did you install the cmake module via Synaptic?

mabinty August 29, 2008 12:41

when i search for cmake i can
 
when i search for cmake i can find the folder cmake-2.4.6 in

/home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/

so i suppose that cmake is installed. am i right?? hm, but maybe the fact that it is in /home/E202/aa/OpenFOAM/ThirdParty/ThirdParty/ and not in /home/E202/aa/OpenFOAM/ThirdParty/ causes the problem. i ll copy it to /home/E202/aa/OpenFOAM/ThirdParty/ try and report.

Ying, thx for the comment!
aram

mabinty September 1, 2008 03:50

Dear all!! Ok, i installed
 
Dear all!!

Ok, i installed cmake version 2.4-patch 8, but still get the following messages when installing the PV3FoamReader module:

[aa@lws16 PV3FoamReader]$ ./Allwmake
+ '[' -d /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc -a -r /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc ']'
+ case "$ParaView_VERSION" in
+ wmake libso vtkPV3Foam
wmakeLnInclude: linking include files to /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/vtkPV3Foam/lnInclude

Making dependency list for source file vtkPV3Foam.C
Making dependency list for source file vtkPV3FoamAddVolumeMesh.C
Making dependency list for source file vtkPV3FoamAddLagrangianMesh.C
Making dependency list for source file vtkPV3FoamAddPatchMesh.C
Making dependency list for source file vtkPV3FoamAddZoneMesh.C
Making dependency list for source file vtkPV3FoamAddSetMesh.C
Making dependency list for source file vtkPV3FoamUpdate.C
Making dependency list for source file vtkPV3FoamUpdateInformation.C
Making dependency list for source file vtkPV3FoamConvertMesh.C
SOURCE=vtkPV3Foam.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/lagrangian/basic/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/meshTools/lnInclude -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering -I/home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Rendering -I../PV3FoamReader -IlnInclude -I. -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OpenFOAM/lnInclude -I/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Foam.o
In file included from /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686- pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/backward/strstream:51,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkIOStream.h:112,
from /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Common/vtkSystemIncludes.h :40,



'/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libvtkPV3Foam.so' is up to date.
+ cd PV3FoamReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
-- Check for working C compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc
-- Check for working C compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/c++
-- Check for working CXX compiler: /home/E202/aa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/c++ -- works
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.3.5
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt
+ make
[ 9%] Generating qrc_PV3FoamReader.cxx
[ 18%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 27%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 36%] Building CXX object
CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 45%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
make[2]: *** No rule to make target `/usr/lib/libpython2.5.so', needed by `/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so'. Stop.
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2
[aa@lws16 PV3FoamReader]$

I appreciate greatly any help!!
aram

villet September 1, 2008 04:37

The error message is quite exp
 
The error message is quite explicit. The reader module requires library "libpython2.5.so". Do you have Python (2.5) installed in your system?

If the compilation still fails, please check first what causes it. There may be several libraries you need to install before it works. Good luck!

mabinty September 1, 2008 10:32

Ville, thx for your comments!
 
Ville, thx for your comments!

I installed python 2.5, but its somehow strange as I cannot find the required library "libpython2.5.so". Does anybody have an idea how to solve this problem?

Thanks in advance!
Aram

gschaider September 1, 2008 12:15

Hi Aram! The compilation pr
 
Hi Aram!

The compilation process assumes that the library is located at /usr/lib/libpython2.5.so Is the library present there? For instance if the standard-python for your distro is 2.4 and you installed 2.5 as an addition it might be found at /usr/local/lib/libpython2.5.so or similar locations. Have a look. Then you change the line in the buildParaview....-script that comes with OF that says

PYTHON_LIBRARY=""

to point to the actual place of that library

Bernhard

lin September 1, 2008 14:24

Just throw some thoughts,hope
 
Just throw some thoughts,hope it's helpful.

For fedora system,libpython2.5.so belong to the package python-devel,not python.

mabinty September 2, 2008 09:18

Bernhard and linzhenhuab thx f
 
Bernhard and linzhenhuab thx for your advice!

Yes it was the python-devel containing the libpython2.5.so, I get it now.

Still cannot compile successfully, getting the following messages:


-- Build files have been written to: /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/grap hics/PV3FoamReader/PV3FoamReader/Make/linuxGccDPOpt
+ make
[ 9%] Generating qrc_PV3FoamReader.cxx
[ 18%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 27%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 36%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 45%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
Linking CXX shared library /home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so
/usr/bin/ld: cannot find -lhistory
collect2: ld returned 1 exit status
make[2]: *** [/home/E202/aa/OpenFOAM/OpenFOAM-1.5.x/lib/linuxGccDPOpt/libPV3FoamReader.so] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2


When I search for the files

moc_PV3FoamReaderPluginImplementation.o
PV3FoamReaderPluginImplementation.o
qrc_PV3FoamReader.o

they are available, but

linuxGccDPOpt/libPV3FoamReader.so and
PV3FoamReader.dir/all

cannot be found (as suggested by the error message). What confuses me most are the lines

/usr/bin/ld: cannot find -lhistory
collect2: ld returned 1 exit status

I searched for their meaning on the forum and in the web but got no hint, so I don t know what to do. Somebody has an idea?

Thanks a lot in advance!!
Aram

mbeaudoin September 2, 2008 09:41

Hello, @ /usr/bin/ld: canno
 
Hello,

@ /usr/bin/ld: cannot find -lhistory

You need the devel. package called "readline".

You might also need the runtime libraries provided by a package called "libreadline".

Adjust for your Linux distro.

Martin

mabinty September 4, 2008 06:20

thx martin! i installed the de
 
thx martin! i installed the devel. package called "readline" and finally the compilation of Paraview 3.3 and the PV3FoamReader module worked. also thx to the others who helped me so far!!

i get a small problem though: when I want to visualize the cavity case (by typing paraFoam in the case directory) ParaView 3.3.0 opens with a window telling me:

A reader for "cavity.OpenFOAM" could not be found. Please choose one ...

when i choose any i get the errors posted below. i could not find any hint in the forum. does somebody have any??

thx a lot in advance!
aram

[aa@lws16 cavity]$ paraFoam
ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLParser.cxx, line 460
vtkXMLDataParser (0xa24e160): Error parsing XML in stream at line 1: no element found


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLReader.cxx, line 357
vtkPVDReader (0xa129960): Error parsing input file. ReadXMLInformation aborting.


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkSelfConnecti on.cxx, line 147
vtkSelfConnection (0xa1fbd50): Failed to locate object with ID: 516


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/ServerManager/vtkSMOut putPort.cxx, line 288
vtkSMOutputPort (0xa2bace0): Missing data information.


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkPVDataInform ation.cxx, line 493
vtkPVDataInformation (0xa2bade8): Could not cast object to a known data set: vtkAlgorithmOutput

mabinty September 4, 2008 06:29

thx martin! i installed the de
 
thx martin! i installed the devel. package called "readline" and finally the compilation of Paraview 3.3 and the PV3FoamReader module worked. also thx to the others who helped me so far!!

i get a small problem though: when I want to visualize the cavity case (by typing paraFoam in the case directory) ParaView 3.3.0 opens with a window telling me:

A reader for "cavity.OpenFOAM" could not be found. Please choose one ...

when i choose any i get the errors posted below. i could not find any hint in the forum. does somebody have any??

thx a lot in advance!
aram

[aa@lws16 cavity]$ paraFoam
ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLParser.cxx, line 460
vtkXMLDataParser (0xa24e160): Error parsing XML in stream at line 1: no element found


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/IO/vtkXMLReader.cxx, line 357
vtkPVDReader (0xa129960): Error parsing input file. ReadXMLInformation aborting.


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkSelfConnecti on.cxx, line 147
vtkSelfConnection (0xa1fbd50): Failed to locate object with ID: 516


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/ServerManager/vtkSMOut putPort.cxx, line 288
vtkSMOutputPort (0xa2bace0): Missing data information.


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Filters/vtkPVDReader.c xx, line 148
vtkPVDReader (0xa129960): Could not read file information


ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/Filtering/vtkExecutive.cxx , line 757
vtkCompositeDataPipeline (0xa2116a0): Algorithm vtkPVDReader(0xa129960) returned failure for request: vtkInformation (0xa1d4cb0)
Debug: Off
Modified Time: 237426
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA_OBJECT
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0




ERROR: In /home/E202/aa/OpenFOAM/ThirdParty/ParaView3.3-cvs/Servers/Common/vtkPVDataInform ation.cxx, line 493
vtkPVDataInformation (0xa2bade8): Could not cast object to a known data set: vtkAlgorithmOutput

mabinty September 5, 2008 11:33

hi all! i checked my qt ver
 
hi all!

i checked my qt version again and realized that qmake points to the older version of qt installed on my computer. i changed that so

qmake --version

gives now:

QMake version 2.01a
Using Qt version 4.3.5 in /usr/lib

again i installed the PV3FoamReader module and compiled paraview but when running paraFoam for the cavity case, paraview opens but showing nothing, no tabs, no time instances without giving any error message. i cannot even find "cavity" written anywhere. please can somebody help me??

thx a lot in advance!
aram

then September 9, 2008 10:02

Hi Aram, I also couldn't us
 
Hi Aram,

I also couldn't use paraFoam to open the cavity case directly.

I then searched the forum and followed suggestions by other friends here, which is to use an alternative approach, "foamToVTK", to convert results from openFOAM format to VTK format. VTK format files can be recognized by paraView correctly.
foamToVTK -case $FOAM_RUN/tutorials/icoFoam/cavity

Still digging on details though because now what I have in the ParaView GUI is different from what's shown in the tutorial (http://www.opencfd.co.uk/openfoam/do...#x30-1750006.1)...

That's my two cents.
Ying

nishant_hull September 10, 2008 10:43

hi Ying I am also facing t
 
hi Ying

I am also facing the same difficulty. and In my case also foamToVTK is working quite fine.
I am using Qt-4.3.5. Which Qt version you are using?
It might be because of the different qt versions. The paraview version of the tutorial case is compiled with 4.3.2 for 32 bit and 4.3.1 for 64 bit system. Have u tried ur compilation with 4.3.2/4.3.1 at ur system?

Keep posting about the progress. I am also diggin into it ;)
Nishant

mabinty October 2, 2008 04:36

dear all!! after playing a
 
dear all!!

after playing a bit with the GUI of paraview everything works now, even without applying the "foamToVTK".

i want to say thank you to all for your support!!

aram


All times are GMT -4. The time now is 19:32.