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

Installation of OpenFOAM 1.7.0 on SLED10SP2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2010, 09:36
Default Installation of OpenFOAM 1.7.0 on SLED10SP2
  #1
Member
 
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 17
olauer is on a distinguished road
Hello guys,

I am trying to install OpenFOAM 1.7.0 on SuSE Linux Enterprise Desktop 10SP3. I already managed to completely run Allwmake in OpenFOAM-1.7.0 directory after adding gcc-4.3 to my installation.

But now comes the next challenge: compiling Paraview 3.8. As stated in installation instructions you need at least qt4.5 so I decided to compile qt4.6.3 available from Nokia (qt.nokia.com).

Now makeParaview can be run but ends up with

Linking CXX executable ../../../../bin/GraphicsCxxTests
cd /home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0/VTK/Graphics/Testing/Cxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/GraphicsCxxTests.dir/link.txt --verbose=1
/usr/bin/c++ -Wno-deprecated -Wno-deprecated -O3 -DNDEBUG -fPIC CMakeFiles/GraphicsCxxTests.dir/GraphicsCxxTests.cxx.o CMakeFiles/GraphicsCxxTests.dir/Mace.cxx.o CMakeFiles/GraphicsCxxTests.dir/expCos.cxx.o CMakeFiles/GraphicsCx
xTests.dir/BoxClipTriangulate.cxx.o CMakeFiles/GraphicsCxxTests.dir/CellLocator.cxx.o CMakeFiles/GraphicsCxxTests.dir/PointLocator.cxx.o CMakeFiles/GraphicsCxxTests.dir/FrustumClip.cxx.o CMakeFiles/GraphicsCxxTests.dir/RGrid.cxx.o CMak
eFiles/GraphicsCxxTests.dir/TestAppendSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestAssignAttribute.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestBSPTree.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestDensifyPolyData.cxx.o CMakeFiles/Grap
hicsCxxTests.dir/TestClipHyperOctree.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestConvertSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestDelaunay2D.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestExtraction.cxx.o CMakeFiles/GraphicsCxxTests
.dir/TestExtractSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeContourFilter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeCutter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeDual.cxx.o CMakeFiles/Graphic
sCxxTests.dir/TestHyperOctreeSurfaceFilter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeToUniformGrid.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestPolyDataPointSampler.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestSelectEnclosedPoints
.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestTessellatedBoxSource.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestTessellator.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestUncertaintyTubeFilter.cxx.o -o ../../../../bin/GraphicsCxxTests -rdynamic
../../../../bin/libvtkRendering.so.pv3.8 ../../../../bin/libvtkIO.so.pv3.8 ../../../../bin/libvtkParallel.so.pv3.8 -lGL ../../../../bin/libvtkRendering.so.pv3.8 ../../../../bin/libvtkGraphics.so.pv3.8 ../../../../bin/libvtkImaging.so.p
v3.8 ../../../../bin/libvtkIO.so.pv3.8 ../../../../bin/libvtkFiltering.so.pv3.8 ../../../../bin/libvtkCommon.so.pv3.8 -lm ../../../../bin/libvtksys.so.pv3.8 -ldl -Wl,-rpath-link,/home/OpenFOAM/ThirdParty-1.7.0/platforms/build
-linux64Gcc/paraview-3.8.0/bin
../../../../bin/libvtkRendering.so.pv3.8: undefined reference to `QPainter::drawImage(QPointF const&, QImage const&)'
../../../../bin/libvtkRendering.so.pv3.8: undefined reference to `QTextDocument::setDocumentMargin(double)'
../../../../bin/libvtkRendering.so.pv3.8: undefined reference to `QMapData::node_create(QMapData::Node**, int, int)'
../../../../bin/libvtkRendering.so.pv3.8: undefined reference to `QMapData::createData(int)'
collect2: ld returned 1 exit status
make[2]: *** [bin/GraphicsCxxTests] Error 1
make[2]: Leaving directory `/home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0'
make[1]: *** [VTK/Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] Error 2
make[1]: Leaving directory `/home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0'
make: *** [all] Error 2

Any ideas how to continue or what is the problem.

Thanks for any help

Oliver
olauer is offline   Reply With Quote

Old   June 30, 2010, 10:25
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Oliver,

Are you 100% certain that Qt 4.6.3 was properly built? And is it installed in your system or did you install it in the ThirdParty folder?

Either way, there should be an error that must have happened a lot sooner when building ParaView. And I think that pertinent error is related to a missing library or headers of X11 stuff. For example, in Ubuntu, we need to install libXt.so and libXt-dev for building ParaView or Qt, I can't be certain right now

Anyhow, you can take a look at the following post that as a few suggestions on where to get information on how to build ParaView for using OpenFOAM: http://www.cfd-online.com/Forums/ope...tml#post265046

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 30, 2010, 11:29
Default
  #3
Member
 
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 17
olauer is on a distinguished road
Hi Bruno,

thank you for your quick response. Your answer points into the right direction. If I add
-Wl,-rpath-link,/usr/local/Trolltech/Qt-4.6.3/lib
everything is fine. Perhaps I have to modify LD_LIBRARY_PATH

Thanks again
Oliver
olauer 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 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 16:30
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 15:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 05:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 21:51.