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

ParaView does not start: ResizeEvent

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2012, 04:42
Default ParaView does not start: ResizeEvent
  #1
New Member
 
Matthias P
Join Date: May 2010
Posts: 16
Rep Power: 7
MatP is on a distinguished road
Deer Foamers,

recently i've installed OF2.10 with Paraview on SLES 11 SP2. Everything works wells execpt Paraview. After running the cavity tutorial and typing in paraFoam, i get the following error message:

Quote:
/opt/OpenFOAM-ParaView-3.12.0/lib/paraview-3.12/paraview: symbol lookup error: /opt/OpenFOAM-ParaView-3.12.0/lib/paraview-3.12/libpqComponents.so: undefined symbol: _ZN15QSplitterHandle11resizeEventEP12QResizeEvent
Has anybody an idea how to clear up this error?
MatP is offline   Reply With Quote

Old   May 7, 2012, 15:37
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Matthias,

Well, it looks like you've used the RPM version of OpenFOAM from here: http://www.openfoam.org/download/suse.php
It specifically states that those RPM files are for SuSE (well, openSUSE) 11.4.

Now, although you're able to use OpenFOAM itself with little or no problems, ParaView on the other hand won't work as intended for a simple reason - ParaView depends on Qt:
  • openSUSE 11.4 has by default Qt 4.7.1.
  • SLES 11 SP2 has Qt 4.6.3.
There is too much of a version difference between 4.6.3 and 4.7.1.


Therefore, you have several options:
  • Contact SLES support and request or ask about Qt 4.7.1.
  • You can try and replace the contents of the folder "/opt/OpenFOAM-ParaView-3.12.0/" with the contents of the folder from the Linux binaries from www.paraview.org. Keep in mind that this might not work or it even might jam you from logging on with X... which the fix will be then to remove the ". .../etc/bashrc" line from your "~/.bashrc" file.
  • Or build ParaView yourself:
Good luck!
Bruno
wyldckat is offline   Reply With Quote

Old   May 8, 2012, 04:41
Default
  #3
New Member
 
Matthias P
Join Date: May 2010
Posts: 16
Rep Power: 7
MatP is on a distinguished road
Thanks for your advices. I think i'll build the whole OpenFOAM package on my own. Do i need anything else apart form the OpenFOAM sources and Paraview?
MatP is offline   Reply With Quote

Old   May 8, 2012, 08:53
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Matthias,

It's just a matter of following the instructions officially provided. Nonetheless, the choice is yours whether to install OpenFOAM 2.1.0 or 2.1.x.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 13, 2012, 05:49
Default
  #5
New Member
 
Matthias P
Join Date: May 2010
Posts: 16
Rep Power: 7
MatP is on a distinguished road
Ok.. now i've tried to compile OpenFOAM with the given source packages. But there where some errors and i decieced once again to use the rpm packages for openSUSE. These packages work with SLES but now i've again the problem with ParaView.
If i compile ParaView with the source packages i've to adapt the path in openFoam's etc/bashrc to get the right linking isn't it so? also in the source packages the ThirdParty directory contains a openmpi version of 1.5. If this would be installed will the rpm package of OpenFOAM work anymore? Because in the instruction file for OpenSUSE the openmpi version of 1.3.2 is required?!
MatP is offline   Reply With Quote

Old   May 13, 2012, 09:30
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Matthias,

Quote:
Originally Posted by MatP View Post
Ok.. now i've tried to compile OpenFOAM with the given source packages. But there where some errors and i decieced once again to use the rpm packages for openSUSE.
It would have been easier to diagnose the problem like this:
Code:
./Allwmake > make.log 2>&1
#replace sensitive words and paths and then compress the log file
tar -czf make.log.tar.gz make.log
Then attach "make.log.tar.gz" to your next post.

Quote:
Originally Posted by MatP View Post
These packages work with SLES but now i've again the problem with ParaView.
If i compile ParaView with the source packages i've to adapt the path in openFoam's etc/bashrc to get the right linking isn't it so? also in the source packages the ThirdParty directory contains a openmpi version of 1.5. If this would be installed will the rpm package of OpenFOAM work anymore? Because in the instruction file for OpenSUSE the openmpi version of 1.3.2 is required?!
I didn't remember back then, but here at two blog posts by Alberto that might come in handy for you and which should answer your questions :
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 14, 2012, 07:09
Default
  #7
New Member
 
Matthias P
Join Date: May 2010
Posts: 16
Rep Power: 7
MatP is on a distinguished road
Now i've compiled again the source packages. I think there are some problems with the linking and building of the libaries. If i look into the /opt/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt directory there are just a few libs.

I've also run foamInstallationTest. Both, the makelog and the Testfile are attached below. I hope you can give me again some advise how to manage my problems.

Thanks
Attached Files
File Type: gz make.log.tar.gz (82.5 KB, 5 views)
File Type: gz make.log.2.log.tar.gz (58.8 KB, 4 views)
File Type: txt foamInstallationTest.txt (3.4 KB, 1 views)
MatP is offline   Reply With Quote

Old   May 14, 2012, 07:54
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Matthias,

Symptom: "-lz" not found.
Diagnosis: "zlib" or "libz" is not installed.
Actually, although "zlib" might be installed, the problem is that the zlib development package isn't installed. The dev package has the header files and library interfaces required for linking code to it.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   May 14, 2012, 08:42
Default
  #9
New Member
 
Matthias P
Join Date: May 2010
Posts: 16
Rep Power: 7
MatP is on a distinguished road
Thanks a lot Bruno!

i fixed the problem and i finished the installation successfully.. except ParaView. There's is a problem with qmake or it's path also i've installed qt4. But i think there are already some posts in this forum.

regards
Matthias
MatP is offline   Reply With Quote

Old   May 14, 2012, 17:00
Default
  #10
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Matthias,

Well, there are several solutions, many of them cataloged here: Related issues to ParaView with OpenFOAM - Fixes and solutions

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

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
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 17:51
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 03:32
BEGINNER: Cannot start Paraview ka1184 OpenFOAM 20 March 25, 2010 16:46
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41
Paraview does not start please help quartzian OpenFOAM Paraview & paraFoam 0 September 26, 2008 06:28


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