|
[Sponsors] |
[OpenFOAM.org] Paraview not found when installing OpenFoam to Ubuntu 14.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 23, 2014, 14:29 |
|
#41 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Mike,
As mentioned on this very same thread - if you start reading from post #29 or #28 - the error message is implying what the problem is: Quote:
What graphics card do you have and which drivers did you install for it? Best regards, Bruno
__________________
|
||
November 24, 2014, 22:37 |
|
#42 |
New Member
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 12 |
Thanks Wyldckat,
I've got the AMD SEMPRON 3850 with integral Radeon HD 8280. Originally when I looked at the driver manager in Linux Mint it said, "This device is using the recommended driver" (or words to that effect), which is the xserver-xorg-video-ati version 1:7.3.0-1ubuntu3.1 one apparently. That didn't work, so I tried using the fglrx-updates driver instead, and that hasn't made any difference. Mike |
|
November 25, 2014, 17:54 |
|
#43 |
New Member
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 12 |
I've just found that there is an openCL2 driver for Ubuntu 14.04 that I'm going to have a go at installing - that might be what is needed.
|
|
November 28, 2014, 21:38 |
|
#44 |
New Member
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 12 |
Ok, I've now downloaded and installed the OpenGL driver provided on the AMD support website (after a bit of a struggle, because the installation instructions didn't work as described), and I've downloaded and played the TORCS game - the open source car racing simulation that relies on openGL, and that works. When I look at the device drivers it acknowledges that I'm now using a user-installed driver rather than one provided by the operating system. But I got exactly the same error in the makePV log file -
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR) Has something gone wrong with the OpenGL installation, or is openfoam incorrectly presuming it will be in a particular directory or something? Where do I check next? Mike |
|
December 5, 2014, 15:15 |
|
#45 |
Member
Kumar
Join Date: Jun 2013
Posts: 47
Rep Power: 13 |
Dear Bruno,
First of all, many many thanks for your detailed instructions on compiling OF on ubuntu. I tried to compile the sources for OpenFOAM-2.3.0 on ubuntu 14.04 exactly as you mentioned in the wiki page and met with the same problem regarding ParaView installation. The initial make process went fine and the OpenFOAM too got installed flawlessly. The problem seems to be with the OpenGL library. I installed ubuntu 14.04 on a laptop side by side with windows 7 using wubi installer. My graphics card (intel HD) is working okay. There is only one error in make.log for OpenFOAM (Ln 339, 340): WARN: PV3 readers not building: ParaView_VERSION=4.1.0 ERROR: ParaView not found in /home/kumar/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 The error description of the log.makePV says: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) Attached are the relevant files. What can I do now? Thanks so much. -kumar |
|
December 30, 2014, 07:44 |
|
#46 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Mike: Quote:
@Kumar: Quote:
With any luck, I'll have an answer in about 2-3 hours from now. Best regards, Bruno |
|||
December 30, 2014, 09:11 |
|
#47 |
New Member
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 12 |
Thanks - really looking forward to that. and really appreciate you going to that effort as well.
Mike |
|
December 30, 2014, 09:38 |
|
#48 |
Member
Kumar
Join Date: Jun 2013
Posts: 47
Rep Power: 13 |
Thanks Bruno! I think the problem in my case was that the OpenGL library header was not installed. It is resolved now and I've been able to compile it perfectly from your instructions.
I don't remember the sequence of operations I did to manage the opengl but was something like this: Installed mesa-utils, then found the graphics details using glxinfo. I also installed the following packages: mesa-common-dev, libpng-dev, libjpeg-dev, libxi-dev libxrandr-dev. Perhaps I installed mesa-utils-extra and libgl1-mesa-dev but I am not quite sure. In the end it worked perfect. Thanks once again for all your efforts. Wish you Happy Holidays and Happy New Year! -Kumar |
|
December 30, 2014, 10:08 |
|
#49 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
I'm back with some good news! And thanks Kumar for giving some feedback on this, because it lead me to what seems to be the right solution!
I reproduced the same problem and looks like the package that can bring this confusion to a close is "libglu1-mesa-dev", because this package depends on all others, including drivers and files are installed for several graphics card drivers: Code:
apt-get install libglu1-mesa-dev Anyway, the instructions on the wiki have been updated accordingly. Which reminds me that instructions for OpenFOAM 2.3.1 are up as well for a couple of days already: http://openfoamwiki.net/index.php/In...M-2.3.1/Ubuntu @Mike: I hope this solves the problem! My build is still ongoing, but it seems to be going well so far. Best regards, Bruno |
|
December 31, 2014, 13:47 |
|
#50 |
New Member
Mike Hersee
Join Date: Nov 2014
Posts: 23
Rep Power: 12 |
Paraview seems to have compiled properly! Thank you very much for that. IcoFoam -help seems to work too. However.... A problem seems to have occurred with creating CGAL. As this is specifically a Paraview thread, I'll post a fresh one for that.
|
|
January 20, 2015, 21:22 |
Another problem with ParaView and Ubuntu 14.04
|
#51 |
New Member
Francisco Angel
Join Date: Dec 2012
Posts: 26
Rep Power: 14 |
Hello everyone, I'm not very experienced with OpenFoam, I tried the installation steps for OpenFoam and ParaView at http://www.openfoam.org/archive/2.3....oad/source.php but only testing the first tutorial, when typing
Code:
paraFoam Code:
FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake The attached log file shows that there is a problem with QT, that I'm unable to solve for myself, can someone help me? Thanks to you all. |
|
January 24, 2015, 14:02 |
|
#52 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Francisco,
Please follow steps #1, #2 and #3 from that same guide, namely: http://www.openfoamwiki.net/index.ph...u#Ubuntu_14.04 - because the error message you're getting is because you're missing some packages in your Ubuntu installation. Best regards, Bruno
__________________
|
|
January 24, 2015, 16:02 |
|
#53 |
New Member
Francisco Angel
Join Date: Dec 2012
Posts: 26
Rep Power: 14 |
Dear Bruno,
First of all, thanks for your answer, I forgot to mention in my previous post that I had taken the prevision of doing steps 1-3 in the tutorial, I executed them again just to be sure, the output for Code:
apt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev libqtwebkit-dev gnuplot \ libreadline-dev libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev \ libmpfr-dev Code:
apt-get install libglu1-mesa-dev libqt4-opengl-dev By the way do you think that trying an older version of paraFoam will give better results?, I don't think I need the most up to date version to start learning. Best regards. |
|
January 25, 2015, 11:53 |
|
#54 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Francisco,
Quote:
Are you correctly executing these two commands? Code:
export QT_SELECT=qt4 ./makeParaView4 > log.makePV 2>&1 For example, what do you get when you run these commands? Code:
export QT_SELECT=qt4 rcc -version qmake -version uic -version rcc -version which rcc which qmake which uic which rcc Quote:
Beyond this: are you 100% certain you're using Ubuntu 14.04? Best regards, Bruno |
|||
January 25, 2015, 20:29 |
|
#55 |
New Member
Francisco Angel
Join Date: Dec 2012
Posts: 26
Rep Power: 14 |
Dear Bruno, thanks for continue supporting me, regarding your questions, here are the outputs of every command,
Code:
rcc -version Code:
Qt Resource Compiler version 4.8.5 Code:
qmake -version Code:
QMake version 2.01a Using Qt version 4.8.5 in /opt/anaconda1anaconda2anaconda3/lib Code:
uic -version Code:
Qt User Interface Compiler version 4.8.5 Code:
which rcc Code:
/usr/local/anaconda/bin/rcc Code:
which qmake Code:
/usr/local/anaconda/bin/qmake Code:
which uic Code:
/usr/local/anaconda/bin/uic Code:
francisco@francisco:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty |
|
January 26, 2015, 16:08 |
|
#56 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Francisco,
Well, that definitely isolates the problem! The installation of Qt you have at "/usr/local/anaconda/" is apparently damaged or at the very least is interfering with the build process for building ParaView. Let's see... how can we remove the contamination path... OK, fortunately OpenFOAM has a neat script that can help us here. Run the following commands: Code:
export PATH=$(foamCleanPath "$PATH" "/usr/local/anaconda") export LD_LIBRARY_PATH=$(foamCleanPath "$LD_LIBRARY_PATH" "/usr/local/anaconda") Code:
export QT_SELECT=qt4 rcc -version qmake -version uic -version rcc -version which rcc which qmake which uic which rcc In addition, you'll need those two lines at the top of this post to be called whenever the OpenFOAM shell environment is loaded. You can do this by creating the file "etc/prefs.sh" inside the main "OpenFOAM-2.3.*" folder and placing inside the file the 2 command lines. Best regards, Bruno
__________________
|
|
January 27, 2015, 21:29 |
|
#57 |
New Member
Francisco Angel
Join Date: Dec 2012
Posts: 26
Rep Power: 14 |
Dear Bruno:
I followed your suggestions, after executing the two first lines you indicated, the path was indeed redirected from: Code:
/usr/local/anaconda Code:
/usr/bin I had a problem with using the prefs.sh file, starting a terminal produces the following message Code:
foamCleanPath: command not found bash: foamCleanPath: No such file or directory bash: uname: No such file or directory Your "" operating system is not supported by this release of OpenFOAM. For further assistance, please contact www.OpenFOAM.org /home/francisco/OpenFOAM/OpenFOAM-2.3.0/bin/foamCleanPath: 110: /home/francisco/OpenFOAM/OpenFOAM-2.3.0/bin/foamCleanPath: sed: not found /home/francisco/OpenFOAM/OpenFOAM-2.3.0/bin/foamCleanPath: 110: /home/francisco/OpenFOAM/OpenFOAM-2.3.0/bin/foamCleanPath: sed: not found bash: sed: No such file or directory bash: sed: No such file or directory bash: [: -eq: unary operator expected Code:
FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake Code:
export PATH=$(foamCleanPath "$PATH" "/usr/local/anaconda") export LD_LIBRARY_PATH=$(foamCleanPath "$LD_LIBRARY_PATH" "/usr/local/anaconda") Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake I want to thank you for the continuous support you offered to me all this week, by no means I would have been capable of solve this problem alone. |
|
May 17, 2015, 14:18 |
Error Message in log.makePV file
|
#58 |
New Member
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 11 |
Hello together,
I am a totally Linux and OpenFOAM Newbie so i was really glad to find such detailed Informations in the net. At present I try to install OpenFOAM and ParaView for the second time. I have installed Lubuntu 14.04 with OpenFOAM 2.3.0 like descriped here: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 The first time I had finished it I had a problem with paraFoam which did not work, why I decided to install everything a second time from the beginning. My problem is, when I finish point 9 and want to check the log.makePV file i get this information: ParaView_SOURCE_DIR=/home/bjoern/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0 ParaView_BINARY_DIR=/home/bjoern/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0 ParaView_DIR=/home/bjoern/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0 sed: kann /home/bjoern/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Utilities/kwsys/kwsysDateStamp.cmake nicht lesen: Datei oder Verzeichnis nicht gefunden date-stamp: (translatition: sed: can't read /home/bjoern/OpenFOAM/ThirdParty-2.3.0/ParaView-4.1.0/VTK/Utilities/kwsys/kwsysDateStamp.cmake: no such file or directory.) Build stages selected --------------------- -config true -make true -install true --------------------- Features selected mesa false mpi false python false qt true --------------------- Version information qt 4.8.6 version 4.1.0 I am not sure if this is the reason for my problems with Paraview (paraFoam) but now I would like to solute this problem befor I go any further with the installation. Maybe someone like to help me with it, THX! |
|
May 17, 2015, 15:06 |
|
#59 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Guggelhupf and welcome to the forum!
That error message can be ignored. I've already built ParaView 4.1.0 several times on several Linux Distributions and that error message never broke the build process. You can consider it just a warning that is meant for developers Having access to the "log.makePV" file would make it easier to diagnose what might be the problem. You can compress the file by running this command: Code:
gzip < log.makePV > log.makePV.gz Nonetheless, what are the symptoms you're getting with ParaView? Best regards, Bruno
__________________
|
|
May 17, 2015, 15:24 |
|
#60 |
New Member
Björn Greis
Join Date: May 2015
Posts: 8
Rep Power: 11 |
Hello Bruno,
thank you for your promt answer. With this you get my zipped log.makePV file. I hope this could help. Now I will finish the installation of OF and PV and will tell you later my problems with paraFoam, if this happens again, THX |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
[OpenFOAM.org] Using OpenFOAM 2.3.0 from Deb pack in Ubuntu 14.04 + ParaView 5 from OpenFOAM 4.1 | ad2eb | OpenFOAM Installation | 12 | May 28, 2017 15:30 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
[OpenFOAM.org] (Script)OpenFOAM 2.3.0 and Paraview for Ubuntu 14.04 | p0kerus | OpenFOAM Installation | 2 | December 2, 2014 08:54 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 04:01 |