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

Installation of OpenFoam 15 Compilation paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2008, 23:05
Default I installed cmake (version 2.4
  #21
New Member
 
Ying
Join Date: Mar 2009
Posts: 5
Rep Power: 17
then is on a distinguished road
I installed cmake (version 2.4.7) and now get the same error msg as Soeren.

Still digging~~
then is offline   Reply With Quote

Old   August 29, 2008, 00:40
Default It worked finally!! What I
  #22
New Member
 
Ying
Join Date: Mar 2009
Posts: 5
Rep Power: 17
then is on a distinguished road
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.
then is offline   Reply With Quote

Old   August 29, 2008, 05:57
Default Dear all!! Finally I manage
  #23
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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 is offline   Reply With Quote

Old   August 29, 2008, 06:52
Default Hi!! I searched for the vtk
  #24
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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 is offline   Reply With Quote

Old   August 29, 2008, 08:56
Default Hi again!! I copied the
  #25
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty is offline   Reply With Quote

Old   August 29, 2008, 12:50
Default On your error msg there is a l
  #26
New Member
 
Ying
Join Date: Mar 2009
Posts: 5
Rep Power: 17
then is on a distinguished road
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?
then is offline   Reply With Quote

Old   August 29, 2008, 13:41
Default when i search for cmake i can
  #27
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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 is offline   Reply With Quote

Old   September 1, 2008, 04:50
Default Dear all!! Ok, i installed
  #28
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty is offline   Reply With Quote

Old   September 1, 2008, 05:37
Default The error message is quite exp
  #29
Member
 
Ville Tossavainen
Join Date: Mar 2009
Posts: 60
Rep Power: 17
villet is on a distinguished road
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!
villet is offline   Reply With Quote

Old   September 1, 2008, 11:32
Default Ville, thx for your comments!
  #30
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty is offline   Reply With Quote

Old   September 1, 2008, 13:15
Default Hi Aram! The compilation pr
  #31
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   September 1, 2008, 15:24
Default Just throw some thoughts,hope
  #32
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Just throw some thoughts,hope it's helpful.

For fedora system,libpython2.5.so belong to the package python-devel,not python.
lin is offline   Reply With Quote

Old   September 2, 2008, 10:18
Default Bernhard and linzhenhuab thx f
  #33
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty is offline   Reply With Quote

Old   September 2, 2008, 10:41
Default Hello, @ /usr/bin/ld: canno
  #34
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
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
mbeaudoin is offline   Reply With Quote

Old   September 4, 2008, 07:20
Default thx martin! i installed the de
  #35
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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 is offline   Reply With Quote

Old   September 4, 2008, 07:29
Default thx martin! i installed the de
  #36
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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 is offline   Reply With Quote

Old   September 5, 2008, 12:33
Default hi all! i checked my qt ver
  #37
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty is offline   Reply With Quote

Old   September 9, 2008, 11:02
Default Hi Aram, I also couldn't us
  #38
New Member
 
Ying
Join Date: Mar 2009
Posts: 5
Rep Power: 17
then is on a distinguished road
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
then is offline   Reply With Quote

Old   September 10, 2008, 11:43
Default hi Ying I am also facing t
  #39
Senior Member
 
Nishant
Join Date: Mar 2009
Location: Glasgow, UK
Posts: 166
Rep Power: 17
nishant_hull is on a distinguished road
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
__________________
Thanks and regards,

Nishant
nishant_hull is offline   Reply With Quote

Old   October 2, 2008, 05:36
Default dear all!! after playing a
  #40
Senior Member
 
Aram Amouzandeh
Join Date: Mar 2009
Location: Vienna, Vienna, Austria
Posts: 190
Rep Power: 17
mabinty is on a distinguished road
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
mabinty 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] Paraview installation problem mcjicpm2 ParaView 0 March 9, 2009 08:15
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
Compilation error with paraview quartzian OpenFOAM Installation 0 September 21, 2008 09:32
Error building DICOMAppHelper during ParaView compilation geoffjay OpenFOAM Installation 1 May 7, 2008 14:07
Paraview installation problem please help bender OpenFOAM Installation 2 February 27, 2006 06:00


All times are GMT -4. The time now is 22:40.