CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Installation problem with ParaView 3.8.0 on openSUSE 11.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2010, 21:33
Default Installation problem with ParaView 3.8.0 on openSUSE 11.2
  #1
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Hello everyone,
Being a newbie in Linux I am trying to install Openfoam-ParaView. I would be grateful to a forum member who could provide me with a hint to solve a problem with ParaView 3.8.0 installation. (Even having realised from several web pages that it's about a well-known problem for beginners and a number of tipps have been offered, I didn't manage to overcome it). The following list of details applies to my case:



Toshiba A100-192 (purchased in 2006)
Linux 2.6.31.12-0.2-default i686
openSUSE 11.2 (i586) (download from www.openfoam.com on 8 July 2010)
4.3.5 (KDE 4.3.5) "release 0"


cmake version 2.6-patch 4
Using Qt version 4.5.3 in /usr/lib
flex 2.5.35


After downloading OpenFOAM-1.7.0.gtgz and ThirdParty-1.7.0.gtgz I installed OpenFOAM following the procedure described at albertopassalacqua.com and using the instructions for environment variable settings given at openfoam.com/download/source.php. I consider that the installation of OpenFOAM-1.7.0 was nearly effortless and successful.
================================================== =====================

In order to install ParaView 3.8.0 I executed the commands:
  • cd $WM_THIRD_PARTY_DIR
  • ./Allclean
  • ./makeParaView
as described in both sites above.


Unfortunately, the following information was printed on screen:


WARNINGWarning: You are using Qt 4.5.3. Officially supported version is Qt 4.6


[ 15%] Compiling Qt help project paraview.qhp
/bin/sh: QT_HELP_GENERATOR-NOTFOUND: Kommando nicht gefunden.
make[2]: *** [Documentation/paraview.qch] Fehler 127
make[1]: *** [Documentation/CMakeFiles/ParaViewOnlineHelp.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
.
.
.
[ 16%] Built target vtkFiltering
make: *** [all] Fehler 2


and the 'making' procedure must have been interrupted. The following 'Installing ParaView' procedure gave at about 99% warnings such as:


/home/menkat/OpenFOAM/ThirdParty-1.7.0/paraview-3.8.0/Plugins/H5PartReader/H5Part/src/H5Part.c:103: warning: deprecated conversion from string constant to ‘char*’
/home/menkat/OpenFOAM/ThirdParty-1.7.0/paraview-3.8.0/Plugins/H5PartReader/H5Part/src/H5Part.c: In function ‘H5PartFile* H5PartOpenFile(const char*, unsigned int)’:


and ended with:


[ 99%] Built target NIfTIWriter
[ 99%] Built target GenerateParaViewQHP
[ 99%] Compiling Qt help project paraview.qhp
/bin/sh: QT_HELP_GENERATOR-NOTFOUND: Kommando nicht gefunden.
make[2]: *** [Documentation/paraview.qch] Fehler 127
make[1]: *** [Documentation/CMakeFiles/ParaViewOnlineHelp.dir/all] Fehler 2
make: *** [all] Fehler 2
---
Installation complete for paraview-3.8.0
Set environment variables:


export ParaView_DIR=/home/menkat/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0
export PATH=$ParaView_DIR/bin:$PATH
export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-3.8


(no other errors were encountered).

I attach the relevant make_paraview.log.gz file
================================================== =====================


Testing the case proposed in openfoam.com/download/source.php I consider that blockMesh and icoFoam operated successfully while paraFoam gave


created temporary 'cavity.OpenFOAM'
/home/menkat/OpenFOAM/OpenFOAM-1.7.0/bin/paraFoam: Zeile 132: paraview: Kommando nicht gefunden.


Has anybody encountered such a problem under these circumstances and if so which is a possible remedy? So far:


I think that my machine/linux distro is of 32-architecture so I turned the '64' value to '32' in : ${WM_ARCH_OPTION:=64}; export WM_ARCH_OPTION, as has been proposed in cfd-online.com/Forums/openfoam/74172-new-user-needs-help.html, #6.


  1. I looked at mail-archive.com/paraview@paraview.org/msg06022.html but I didn't manage to run ccmake properly (the person uses a 64-bit machine).
  2. I have downloaded the libqt4-devel package via YAST2 and the system tells that Qt version 4.5.3 is in /usr/lib. Wondering whether I should had it 'locally' as it's proposed in cfd-online.com/Forums/openfoam/74172-new-user-needs-help.html, #6 (the relevant guidance site doesn't exist anymore) I downloaded but didn't manage to execute './makeQt'.
  3. Should I tweak the values of _foamAddPath, _foamAddLib, as proposed in cfd-online.com/Forums/openfoam/74172-new-user-needs-help-2.html, #24? I am not sure whether the specific setting applies to my case.

I hope my lengthy post isn't much annoying.
Thank you!
Attached Files
File Type: gz make_paraview.log.gz (67.5 KB, 2 views)
aero_ is offline   Reply With Quote

Old   July 16, 2010, 19:02
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Menandros and welcome to the forum!

Your thorough post with all of the necessary information for us to help you is very welcome I can only wish more people who have trouble with installing OpenFOAM would do the same!

I personally haven't built ParaView 3.8.0 yet, but I've been keeping up-to-date with the information that people have been posting on this forum.
Apparently the missing package to be installed in OpenSUSE is libQtWebKit-devel. If you check Alberto's blog for OpenSUSE 11.3 (here), you will see that he has already added that package to the list of packages to be installed!

And yes, you are correct, your "openSUSE 11.2 (i586)" is 32bit

As for:
Quote:
Originally Posted by aero_
Should I tweak the values of _foamAddPath, _foamAddLib, as proposed in cfd-online.com/Forums/openfoam/74172-new-user-needs-help-2.html, #24? I am not sure whether the specific setting applies to my case.
That only applies if you are going to try and build Qt 4.6.x. But first try to build ParaView with OpenSUSE's Qt 4.5.3. If ParaView behaves too badly during normal operation, then you can try building Qt 4.6.x

If you get tired of going around building ParaView and Qt and not getting anywhere fast, then I suggest following the steps in this post: http://www.cfd-online.com/Forums/ope...tml#post266767

(Mental note: I gotta find some time to consolidate those steps into a single post...)

Good luck! Best regards,
Bruno
__________________

Last edited by wyldckat; July 16, 2010 at 19:18. Reason: the last link didn't point to the exact post...
wyldckat is offline   Reply With Quote

Old   July 17, 2010, 10:54
Default
  #3
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Hi Bruno,
I would like to thank you for your almost instant reply and detailed information you gave also concerning my question. I think we all beginners here in openFOAM-ParaView are grateful for your patience, solidarity and knowledge.

I had already downloaded libQtWebKit-devel suggesting that was a missing item but that didn't solve my problem.

Does an 'already built' version of ParaView for openSUSE exist? Could you suggest me a site with the relevant procedure of installing?

A site with a way of installing a version of Qt as 4.6.x in a 'local' folder would be helpful to me (the relevant guidance sites cited in
cfd-online.com/Forums/openfoam/74172-new-user-needs-help.html, #6 probably don't exist anymore): e.g. I downloaded qt-x11-opensource-src-4.3.5.tar.bz2 but didn't manage to execute './makeQt'. (I hope also that an already installed version of Qt can be uninstalled via YAST2.)

I' ll also try to contact Alberto as seems sure about his tips for these particular versions of openSUSE and OpenFoam.

Many thanks,
Menandros
aero_ is offline   Reply With Quote

Old   July 17, 2010, 16:10
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Menandros,
Quote:
Originally Posted by aero_ View Post
Does an 'already built' version of ParaView for openSUSE exist? Could you suggest me a site with the relevant procedure of installing?
Since I don't have much time to go around and testing in a OpenSUSE 11.2/3 VM , I've created a little blog post with the instructions on how to install the official ParaView 3.8.0 available at www.paraview.org: Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

Good luck! Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 18, 2010, 22:57
Default
  #5
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Hi Bruno,
following the neat procedure you suggest (what exactly do you mean by 'activate the OpenFOAM environment if not already active'?), I managed lastly to open paraView giving the 'paraFoam' command!

But contrary to the previous situation where I hadn't use the 'already built' version of ParaView 3.8.0., I cannot now run blockMesh e.g. for the cavity tutorial. That's what emerges:
-------------------------------------------------------------------
blockMesh: /home/menkat/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by blockMesh)
blockMesh: /home/menkat/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by blockMesh)

etc.
-------------------------------------------------------------------
and respectively for icoFoam:

icoFoam: /home/menkat/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by icoFoam)
icoFoam: /home/menkat/OpenFOAM/ThirdParty-1.7.0/platforms/linuxGcc/paraview-3.8.0/lib/paraview-3.8/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by icoFoam)

etc.
==============================================


(executing 'foamInstallationTest' gives:
-------------------------------------------------------------------
Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: linux-7com
OS: Linux version 2.6.31.12-0.2-default
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/menkat/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/menkat/OpenFOAM/menkat-1.7.0 yes no
$WM_THIRD_PARTY_DIR /home/menkat/OpenFOAM/ThirdParty-1.7.0 yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/menkat/OpenFOAM/OpenFOAM-1.7.0 yes yes yes

$FOAM_APPBIN ...1.7.0/applications/bin/linuxGccDPOpt yes yes yes
$FOAM_SITE_APPBIN ...penFOAM/site/1.7.0/bin/linuxGccDPOpt no no
$FOAM_USER_APPBIN ...1.7.0/applications/bin/linuxGccDPOpt yes yes no
$WM_DIR ...menkat/OpenFOAM/OpenFOAM-1.7.0/wmake yes yes yes
-------------------------------------------------------------------------------


Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.7.0/lib/linuxGccDPOpt yes yes yes
$FOAM_SITE_LIBBIN ...penFOAM/site/1.7.0/lib/linuxGccDPOpt no no
$FOAM_USER_LIBBIN ...nFOAM/menkat-1.7.0/lib/linuxGccDPOpt no no
$MPI_ARCH_PATH ...7.0/platforms/linuxGcc/openmpi-1.4.1 no yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.4.1 /usr/bin/gcc
gzip 1.3.12 /usr/bin/gzip
tar 1.21 /bin/tar
icoFoam .../OpenFOAM-1.7.0/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

Critical systems ok.

done.
-------------------------------------------------------------------
)

(Uninstalling that 'already built' version of PV, blockMesh and icoFoam operated successfully again, but of course paraView command again 'could not be found'.)

I searched for posts about 'missing GLIBCXX_3.4.9 and GLIBCXX_3.4.11' and I suppose that the 'already built' version of PV 3.8.0 is accompanied by an older version of gcc compiler than that of openSUSE 11.2 / OpenFOAM 1.7.0 and that my system is obligated to use that.

Could you please suggest a remedy? (I am wondering if using Ubuntu things become easier).

Thank you,
Menandros
aero_ is offline   Reply With Quote

Old   July 19, 2010, 05:07
Default
  #6
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17
markusrehm is on a distinguished road
Hello,

I had the same problem and resolved it by installing

libqt4-devel-doc

Markus
markusrehm is offline   Reply With Quote

Old   July 19, 2010, 06:57
Red face
  #7
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Thank you Markus for your hint.

Sorry for an unrelated topic stated here but after 14 days with openSUSE 11.2, the error message "Call to lnusertemp failed {temporary directories full?}. Check your installation." appeared on login. So I couldn't login as usually, but only as root. Even after deleting the (no hidden) files at /tmp, the problem is still there.

After installed libqt4-devel-doc as root, I tried to test blockMesh, icoFoam, paraFoam but all these commands 'were not found'.

If only someone had time to post a remedy...
aero_ is offline   Reply With Quote

Old   July 19, 2010, 07:08
Default
  #8
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17
markusrehm is on a distinguished road
Quote:
Originally Posted by aero_ View Post
Thank you Markus for your hint.

Sorry for an unrelated topic stated here but after 14 days with openSUSE 11.2, the error message "Call to lnusertemp failed {temporary directories full?}. Check your installation." appeared on login. So I couldn't login as usually, but only as root. Even after deleting the (no hidden) files at /tmp, the problem is still there.

After installed libqt4-devel-doc as root, I tried to test blockMesh, icoFoam, paraFoam but all these commands 'were not found'.

If only someone had time to post a remedy...
Hello,

the installation of libqt4-devel-doc helps with the paraview-compilation-error mentioned in your first thread.

Apart from that there seems to be a error with your installation.
Check "df -h" if your /home is not full.

Markus
markusrehm is offline   Reply With Quote

Old   July 19, 2010, 07:27
Default
  #9
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Markus,

that's what I get:
----------------------------------------------------------------
linux-7com:/tmp # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 18G 6.2G 11G 37% /
udev 503M 252K 503M 1% /dev
/dev/sda7 27G 2.9G 23G 12% /home
----------------------------------------------------------------
linux-7com:/tmp # ls -a -l
total 52
drwxrwxrwt 11 root root 4096 Jul 19 13:17 .
drwxr-xr-x 22 root root 4096 Jul 19 12:43 ..
drwxrwxrwt 2 root root 4096 Jul 19 12:45 .ICE-unix
-r--r--r-- 1 root root 11 Jul 19 12:45 .X0-lock
drwxrwxrwt 2 root root 4096 Jul 19 12:45 .X11-unix
-rw------- 1 menkat users 77 Jul 19 12:05 .directory
drwx------ 2 root root 4096 Jul 19 12:45 gpg-acMW7a
drwx------ 4 root root 4096 Jul 19 13:16 kde-root
drwx------ 2 root root 4096 Jul 19 13:17 ksocket-root
drwx------ 2 root root 4096 Jul 19 12:45 orbit-root
drwx------ 2 root root 4096 Jul 19 12:43 plugtmp
drwx------ 2 root root 4096 Jul 19 13:06 plugtmp-1
drwx------ 2 root root 4096 Jul 19 12:45 pulse-CcctT9RwKSB1

----------------------------------------------------------------
size of /home/menkat: 2.5 GiB
size of /home/menkat/OpenFOAM: 2.4 GiB

I had about 20 tabs opened in Firefox.

Can you suggest me something?
Thanks
aero_ is offline   Reply With Quote

Old   July 19, 2010, 17:43
Default
  #10
Senior Member
 
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17
markusrehm is on a distinguished road
Hello,

sorry that was my first idea - but there seems to be enough space in your home partition. You have to use Google to find a solution.

Regards, Markus.
markusrehm is offline   Reply With Quote

Old   July 20, 2010, 12:01
Default
  #11
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Markus,


Vielen Dank für deine Rückmeldung. Nachdem ich die openSUSE 11.2 wiederinstalliert hatte, ist ja das Problem mit 'lnusertemp' gelöst worden und ich kann mich als 'menkat' einloggen.


Dass ich keinen Zugriff zu den 'blockMesh', 'icoFoam', 'paraFoam' als root hatte, meine ich, dass es daran liegen muss, dass ich OpenFOAM nicht in /usr/local/ installiert hatte, sondern in /home/menkat.


Jedoch habe ich Angst davor, dass die Meldung "Call to lnusertemp failed {temporary directories full?}. Check your installation." wieder auftritt. Gibt es keinen Tipp darüber?

Grüße
Menandros
aero_ is offline   Reply With Quote

Old   July 20, 2010, 16:45
Default
  #12
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
After reinstalling openSUSE 11.2 and taking care for:
1. C/C++ development pattern in YaST2
2. cmake
3. libqt4-devel
4. libqt4-devel-doc (markusrehm's suggestion)
5. flex
6. (maybe helped) libQtWebKit-devel (wyldckat's suggestion)

I succeeded in installing openFOAM 1.7.0 and ParaView 3.8.0 following the instructions at http://albertopassalacqua.com/?cat=6 (basically identical to these at http://www.openfoam.com/download/source.php)
(I didn't use the 'already built' version for ParaView 3.8.0, but simply unpacked the files out from ThirdParty-1.7.0.gtgz).
Concerning 'cavity' tutorial, 'blockMesh', 'icoFoam', 'paraFoam' worked!

But another problem came about: opening ParaView 3.8.0 via paraFoam and using 'OpenFOAM' as the 'reader', the machine freezes after some actions. Maybe I should try PV3blockMeshReader and PV3FoamReader, as stated at the above sites.
aero_ is offline   Reply With Quote

Old   July 20, 2010, 18:15
Default
  #13
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Menandros,

AFAIK, Paraview/Linux freezing can happen due to at least three possibilities:
  • insufficient swap space in Linux;
  • bad graphic card drivers.
  • a less likely possibility is the Qt version used isn't compatible with ParaView. ParaView 3.8.0 is meant to be built with Qt 4.6.x.
And the problem you had with your previous installation that didn't allow you to login, might also be associated to bad graphic card drivers!


There is at least two fixes for the graphic card drivers:
  • try changing the driver version to a previous version, or to a new version.
  • disable the drivers for your card and use the mesa drivers (CPU based).
Either one of these two fixes will require you to rebuild ParaView!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 20, 2010, 18:39
Default
  #14
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Many thanks for your recommendation Bruno. I'll think about it.
aero_ is offline   Reply With Quote

Old   August 2, 2010, 19:13
Default
  #15
New Member
 
Menandros Katsikas
Join Date: Jul 2010
Location: Athens, Hellas
Posts: 11
Rep Power: 16
aero_ is on a distinguished road
Send a message via Skype™ to aero_
Hi Bruno,

Following your tip, I have been trying to become familiar with OpenFOAM/Paraview some days now. After installing openSUSE 11.3 the problem with my graphic card was over (thanks to the updated 'radeon' driver). I wish that also other people take advantage of the list of the actions/tips mentioned in this thread. Other than that, I think that openSUSE 11.3, compared to 11.2 succeeds in keeping my laptop's temperature at a significantly lower level, even 'suspend to RAM' does work!

Best regards,
Menandros
aero_ is offline   Reply With Quote

Reply

Tags
openfoam 1.7.0, opensuse 11.2, paraview 3.8.0


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
[foam-extend.org] foam-extend 3.2 Paraview installation problem on Ubuntu 18.04 ordinary OpenFOAM Installation 3 September 1, 2018 23:01
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 12:22
paraview after installation problem giack OpenFOAM Installation 0 January 13, 2014 03:12
Fluent 6.3 & Gambit 2.4 installation problem on OpenSuse 12.3 x86_64 dfeid FLUENT 0 September 26, 2013 08:52
ParaView 3.8.0 problem on debian Unseen OpenFOAM Installation 4 August 16, 2010 11:26


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