CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   ParaView does not start: ResizeEvent (https://www.cfd-online.com/Forums/openfoam-installation/101537-paraview-does-not-start-resizeevent.html)

MatP May 7, 2012 04:42

ParaView does not start: ResizeEvent
 
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?

wyldckat May 7, 2012 15:37

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

MatP May 8, 2012 04:41

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?

wyldckat May 8, 2012 08:53

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

MatP May 13, 2012 05:49

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?!

wyldckat May 13, 2012 09:30

Hi Matthias,

Quote:

Originally Posted by MatP (Post 360770)
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 (Post 360770)
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

MatP May 14, 2012 07:09

3 Attachment(s)
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

wyldckat May 14, 2012 07:54

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

MatP May 14, 2012 08:42

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

wyldckat May 14, 2012 17:00

Hi Matthias,

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

Best regards,
Bruno


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