CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

Paraview 3.8 on Ubuntu 10.10 (qt 4.7)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 20, 2010, 05:05
Default Paraview 3.8 on Ubuntu 10.10 (qt 4.7)
  #1
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 6
lindner is on a distinguished road
Hi, i compiled OpenFoam sucessfully on ubuntu 10.10, but paraview is not building.
The error is easy to understand

Code:
CMake Warning at CMakeLists.txt:105 (MESSAGE):
  Warning: You are using Qt 4.7.0.  Officially supported version is Qt 4.6


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTASSISTANTCLIENT_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/lindner/OpenFOAM/ThirdParty-1.7.x/paraview-3.8.0/Qt/ApplicationComponents

make: *** No targets specified and no makefile found.  Stop.
Command exited with non-zero status 2
0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 4400maxresident)k
0inputs+0outputs (0major+328minor)pagefaults 0swaps
make: *** No rule to make target `install'.  Stop.
Is there a fix to this or i have to downgrade my qt to 4.6?

Thanks
lindner is offline   Reply With Quote

Old   September 20, 2010, 05:28
Default
  #2
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 6
lindner is on a distinguished road
Another question,
Will the paraview installed via apt-get have the same features as the one compiled from ThirdParty?

I installed and it seems to be working fine, but i don't know if i will find some problems in the future.

thanks
lindner is offline   Reply With Quote

Old   September 20, 2010, 08:09
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 918
Rep Power: 16
akidess will become famous soon enough
Old paraview versions used to lack an OpenFoam plugin to view results without converting them to VTK. Paraview 3.8 now has a native OpenFoam reader, so I don't think it will have any negative side effect using the repository version.
akidess is offline   Reply With Quote

Old   September 20, 2010, 09:07
Default
  #4
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 6
lindner is on a distinguished road
Yes, the overall behavior of OpenFoam seems ok like you said.
The only problem now is with the particles. While opening the VTK files the only option is Legacy VTK files, and it gives me the following error:

Code:
ERROR: In /build/buildd/paraview-3.8.1/Servers/ServerManager/vtkSMWriterFactory.cxx, line 337
vtkSMWriterFactory (0xf74580): No matching writer found.


Failed to create writer for:  "/home/lindner/OpenFOAM/lindner-1.7.x/run/Annex20/particulas/VTK/lagrangian/kinematicCloud/kinematicCloud_..vtk"
And i got the VTK files using the FoamToVTK. So there is something im missing from the paraview compiled for openfoam.
lindner is offline   Reply With Quote

Old   September 25, 2010, 16:18
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,511
Blog Entries: 33
Rep Power: 74
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings to all!

Guilherme, what Anton meant is to use the internal reader to open OpenFOAM cases. Namely:
Quote:
Originally Posted by http://www.cfd-online.com/Forums/blogs/wyldckat/317-using-official-pre-built-paraview-3-8-0-version-openfoam.html
Open the file "$HOME/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam" in your favorite simple text editor and replace every entry ".OpenFOAM" with ".foam". Now save and close the file.
Then run paraFoam in your case folder and voilá, you should now have full post-processing capabilities, straight from the case files and without having to run foamToVTK before opening ParaView.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 11, 2010, 04:25
Default
  #6
New Member
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 6
grandtheft is on a distinguished road
Hi Lindner, Hi all,

I am having the same problem that you stated in your first post (but with an Arch Linux distribution, cmake 2.8.2, qt 4.7.0). Has anyone found a solution to it yet?

Best regards,
GT

PS: Officially supported is qt 4.6 - is there any, like 'compatibility option' for compiling?

Last edited by grandtheft; October 11, 2010 at 05:17.
grandtheft is offline   Reply With Quote

Old   October 11, 2010, 09:32
Default
  #7
New Member
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 6
grandtheft is on a distinguished road
Ok, solved for me. Workaround was:

- downgrade to qt-4.6.3
- compile & install
- upgrade to qt-4.7 again.

Regards,
GT
grandtheft is offline   Reply With Quote

Old   October 12, 2010, 00:28
Default
  #8
New Member
 
AlvinXu
Join Date: Nov 2009
Posts: 15
Rep Power: 7
alvin11 is on a distinguished road
maybe you should install the libqt-devel plugin

when I am installing the ParaView 3.8, I have a similar problem,

so I install the libqtwebkit-devel, its done
alvin11 is offline   Reply With Quote

Old   October 19, 2011, 08:28
Default Paraview 3.8 on Fedora 15 Qt 4.7
  #9
New Member
 
Join Date: Oct 2011
Posts: 1
Rep Power: 0
simulant007 is on a distinguished road
Had the problem with NOTFOUND QT_QTASSISTANTCLIENT_INCLUDE_DIR (ADVANCED) on Fedora 15. Installing qt-webkit, qt-assistant, qt-assistant-adp and qt-assistant-adp-devel has solved the problem for me
Additionally I had to run:
sed -i -e 's=ptrdiff_t=std::ptrdiff_t=' paraview-3.8.0/VTK/Utilities/vtkmetaio/metaUtils.cxx
to get Paraview compiled
(see OpenFOAM 2.0.1-foamInstallationTest Failed on Fedora 15 x64)
and had linked /usr/bin/qmake-qt4 to /usr/bin/qmake

Thanks to the input from this forum
simulant007 is offline   Reply With Quote

Old   June 16, 2012, 23:10
Default
  #10
New Member
 
Chao.W
Join Date: Apr 2012
Posts: 10
Rep Power: 4
wchao.csu is on a distinguished road
Quote:
Originally Posted by grandtheft View Post
Ok, solved for me. Workaround was:

- downgrade to qt-4.6.3
- compile & install
- upgrade to qt-4.7 again.

Regards,
GT
Hi there,

Can you show me more details about how to downgrade to qt-4.6.3. I am quite new to Linux(ubuntu). I met the same problem. Thank you in advance.
wchao.csu is offline   Reply With Quote

Old   June 17, 2012, 07:28
Default
  #11
New Member
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 6
grandtheft is on a distinguished road
Hi,

well, the process would be to uninstall the installed version using

Code:
sudo apt-get remove [installed version package name]
if you don't know the exact package name, find it by doing

Code:
dpkg --get-selections | grep libqt
Then, find the required package on a trusted source on the internet, e.g. sa a .deb-package on the ubunto websites and install it using

Code:
dpkg -i [package.deb]
Then compile openfoam stuff.

Afterwards, remove the older package that was required to compile openfoam

Code:
dpkg -r [package]
and re-install the version from the ubunto repositories

Code:
sudo apt-get install [package name from the beginning / recent version from repos]
That'd be it. Problems are
a) this is a workaround, not a solution
b) it would be better to fix the package requirement in the openfoam/parafoam sources
c) my post from above, and the incident when it worked is now over half a year ago. Maybe the sources on openfoam.com are updated and you don't even need that fix anymore. So watch out for changes.

I don't know if it is relevant here, but when building openfoam on OpenSuSE recently (openfoam provides precompiled rpm packages for OpenSuSE 12.1 btw.), I found this website very helpful:
http://albertopassalacqua.com/?p=973

I hope this helps,
regards,
gt

PS: Before typing all the commands I posted above, I recommend you try to find out what they really do, especially if you want to get to know the debian package manager apt better. You can either browse the web for that or use "man [command]" to display the manual page for the given command.

Last edited by grandtheft; June 18, 2012 at 09:33.
grandtheft is offline   Reply With Quote

Reply

Tags
paraview qt compile error

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
ParaView 3.8 -- missing `update GUI option' mirko OpenFOAM Installation 7 August 12, 2011 12:32
Problems with visualization (bundled ParaView 3.8) in Ubuntu 10.04 eiffleduarte OpenFOAM 1 July 13, 2010 18:59
Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 AlanR OpenFOAM Installation 8 December 18, 2009 12:14
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview 3.4, ppa.launchpad.net and Ubuntu francois OpenFOAM Paraview & paraFoam 1 May 29, 2009 10:07


All times are GMT -4. The time now is 11:13.