|
[Sponsors] |
September 24, 2010, 15:27 |
paraFoam error
|
#1 |
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 15 |
Hi Foamers,
Recently we installed new ubuntu (10.04 / Lucid Lynx) on our head node of the cluster. After this I am trying to open paraFoam and I get following error (which i was not getting before installing of the new Operating system). ______________________________________________ NA@emerald:~/OpenFOAM/NA1.6/run/tuto...tryFoam/BYU32$ created temporary 'BYU32.OpenFOAM' ERROR: In /home/NA/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 405 vtkXOpenGLRenderWindow (0x257f830): Could not find a decent visual ERROR: In /home/NA/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 405 vtkXOpenGLRenderWindow (0x257f830): Could not find a decent visual X Error: BadValue (integer parameter out of range for operation) 2 Extension: 144 (Uknown extension) Minor opcode: 3 (Unknown request) Resource id: 0x23 ERROR: In /home/NA/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Rendering/vtkXOpenGLRenderWindow.cxx, line 632 vtkXOpenGLRenderWindow (0x257f830): Cannot create GLX context. Aborting. Aborted [1]+ Done paraFoam NA@emerald:~/OpenFOAM/NA1.6/run/tuto...tryFoam/BYU32$ ______________________________________________ If you knowhow to get rid of this error of "decent visual", please let me know. Thanks, Nir |
|
September 26, 2010, 13:36 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings Nir,
You didn't mention what was the previous OS version Either way, it seems that you'll have to rebuild ParaView 3.6.1. The libraries for OpenGL are probably too different from the previous OS you had, so the only solution I know of is to build ParaView again! The other possibility is that whichever means you used to install OpenFOAM in the previous OS, you installed libraries that haven't been installed in the new Ubuntu. For example, the package freeglut-dev comes to mind. Best regards, Bruno
__________________
|
|
September 27, 2010, 16:40 |
|
#3 |
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 15 |
Hello Bruno,
Thanks for the inputs. I tried rebulding paraView as follows: step -1: ./Allclean and ./makeParaView step -2: go to "cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader" and ./Allwclean ./Allwmake In the step-2, I get following error: /home/NA/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/VTK/Common/vtkType.h:231:3: error: #error "No native data type can represent a 64-bit floating point value." make: *** [Make/linux64GccDPOpt/vtkPV3Foam.o] Error 1 + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. ./Allwmake: 1: cmake: not found + make make: *** No targets specified and no makefile found. Stop. This looks that there is no cmake installed in the new OS. Can cmake be installed standalone just like installing Qt in the ThirdParty home directory? Thanks, Nir |
|
September 27, 2010, 18:52 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Nir,
Allclean wasn't necessary... But it shouldn't influence OpenFOAM's operationability Quote:
Additionally, OpenFOAM already expects CMake 2.6.4 to be installed at "$WM_THIRD_PARTY_DIR/cmake-2.6.4/platforms/$WM_ARCH". So, as soon as cmake is built, start a new terminal and source OpenFOAM's bashrc file and the new cmake will be visible Wait a minute: how on Earth did you manage to build ParaView without CMake?? Anyway, here's a thread that explains how to build ParaView 3.6.1: New user needs help Best regards, Bruno
__________________
|
||
September 27, 2010, 19:13 |
|
#5 |
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 15 |
Hi Bruno,
Thanks for the cmake. i also figured out and told my computer administrator. he installed cmake and I could go a little ahead in compilation (Still compilation is not successful). Now I get the following error in the step-2 above when I compile ParaView. Following is the error that I get about OPENGL_INCLUDE_DIR. I am not sure what this error is. Any clue to you. Thanks, Nir Error (during following step-2 above): ... ... + cd PV3FoamReader + mkdir -p Make/linux64GccDPOpt + cd Make/linux64GccDPOpt + cmake ../.. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.3.5 (using /home/NA/OpenFOAM/ThirdParty-1.6/qt-x11-opensource-src-4.3.5/platforms/linux64GccDPOpt/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found 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: OPENGL_INCLUDE_DIR used as include directory in directory /home/NA/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader -- Configuring incomplete, errors occurred! + make make: *** No targets specified and no makefile found. Stop. |
|
September 27, 2010, 19:31 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Nir,
I forgot about the artillery necessary for building ParaView and OpenFOAM... Here is a thread that has a list of packages necessary for building both: http://www.cfd-online.com/Forums/ope...tml#post268828 - start reading from post #4. That thread is for OpenFOAM 1.7.0 and above, but it's also relevant to 1.6 and 1.6.x Additionally, in the link in my signature you will find a whole lot of pearls of wisdom on how to build OpenFOAM and ThirdParty tools. Best regards, Bruno
__________________
|
|
September 29, 2010, 14:34 |
|
#7 |
Member
N. A.
Join Date: May 2010
Posts: 64
Rep Power: 15 |
Hi Bruno,
Thanks for the link. I was trying to find out my recent error about OpenGL. Do you know if CMAKE is not able to read in OPENGL directory or that OpenGL is not at all installed and I need to install it. Thanks, Nir |
|
September 29, 2010, 14:43 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Hi Nir,
AFAIK the OpenGL libraries in Ubuntu have about two ties:
Best regards, Bruno
__________________
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error while running paraFoam! | padmanathan | OpenFOAM | 9 | October 13, 2009 06:17 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 11:46 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |