CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread Display Modes
Old   September 20, 2010, 04:05
Default Paraview 3.8 on Ubuntu 10.10 (qt 4.7)
  #1
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 16
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, 04:28
Default
  #2
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 16
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, 07:09
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
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, 08:07
Default
  #4
Member
 
Join Date: Mar 2010
Posts: 42
Rep Power: 16
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, 15:18
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
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, 03:25
Default
  #6
Disabled
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15
anon_i 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 anon_i; October 11, 2010 at 04:17.
anon_i is offline   Reply With Quote

Old   October 11, 2010, 08:32
Default
  #7
Disabled
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15
anon_i 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
anon_i is offline   Reply With Quote

Old   October 11, 2010, 23:28
Default
  #8
New Member
 
AlvinXu
Join Date: Nov 2009
Posts: 15
Rep Power: 16
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, 07: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 http://www.cfd-online.com/Forums/ope...ra-15-x64.html)
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, 22:10
Default
  #10
New Member
 
Chao.W
Join Date: Apr 2012
Posts: 10
Rep Power: 14
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, 06:28
Default
  #11
Disabled
 
anonymous
Join Date: Oct 2010
Posts: 6
Rep Power: 15
anon_i 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 anon_i; June 18, 2012 at 08:33.
anon_i is offline   Reply With Quote

Reply

Tags
paraview qt compile error

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 11:32
Problems with visualization (bundled ParaView 3.8) in Ubuntu 10.04 eiffleduarte OpenFOAM 1 July 13, 2010 17:59
Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 AlanR OpenFOAM Installation 8 December 18, 2009 11:14
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
[OpenFOAM] Paraview 3.4, ppa.launchpad.net and Ubuntu francois ParaView 1 May 29, 2009 09:07


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