Problems installing OpenFOAM 2.4.0 on Ubuntu 16.04
1 Attachment(s)
Hi wyldckat,
if intrested bellow is the results for OF2.4 on 16.04 ( Final beta release) Well i have tried to install OF, using source files and Deb package ,both not work !. # For Deb packages, the installer manager error message is : Dependency is not satisfiable: libboost-thread 1.54.0 # For source build (same procedure as for 15.10) , the make.log is in attachment (both OF & PV) , it seems no error for PV, however still can not launch it ! Thanks Best regards |
Hi donminoti,
Sorry, I completely forgot about Flex :( It was updated to 2.6 recently and only OpenFOAM 3.0.1 and newer is prepared for it, as far as I can remember. Give me a few hours and I'll have the wiki page for 2.4.0 updated with instructions for Ubuntu 16.04. Best regards, Bruno edit: The post above + this one and the 2 below came from this thread: http://www.cfd-online.com/Forums/ope...tml#post591857 |
Hi donminoti,
Done and tested: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 In your case, you can do the following steps to fix the problem: Code:
#Go into OpenFOAM's main source folder Best regards, Bruno |
Hi Bruno,
Great , good job. Both OF & PV are working well. Thank you again for your support, Best regards |
1 Attachment(s)
Hi Bruno
I have problem in installing OpenFOAM 2.4 on the ubuntu 16.04 (git repository). I installed OF 3.0.1 without any problem,but i need OF2.4, I read the post about the several versions of OF by using aliases.and i did the same, but I failed to install it. thank you in advance. best regards |
Quick answer @Aslan_nzr: Please do the following steps, as detailed in post #3:
Quote:
-------------- edit: I've solved the problem with building CGAL: http://openfoamwiki.net/index.php/In...u#Ubuntu_16.04 I didn't notice the error that I had gotten on the build I had made before on the VM. You can run the following commands to finish up the build: Code:
foam |
Dear wyldckat.
Thank you so much. It works for me... |
1 Attachment(s)
Hello together,
I'm also facing some problems during the installation of Paraview. A few days ago I already built (or at least I thought I built) Open Foam and Paraview but during the first tests with some tutorials I kept receiving errors indicating that Paraview is not installed properly. I searched in the web an tried to fix it, but couldn't find help. So I deleted all the files and started to install it again, following the OpenFoam2.4.0 installation guide form OpenFoamWiki. When I try to build Paraview there are a lot of errors and up to now I could't solve them. Maybe someone has an idea how to solve those problems? EDIT: Succesfull Installation with this Bug-Fix.... http://bugs.openfoam.org/view.php?id=1734 |
Quote:
This bug-fix should definitely work. The point is that the line defining GLX_GLXEXT_LEGACY in vtkXOpenGLRenderWindow.cxx file is commented by default, which is kinda weird because NOT defining this will include glxext.h insteaad of glext.h from the library, and the former does not declare GLintptr. Kinda dumb too because there's a comment right above this defining line that states that you actually SHOULD define GLX_GLXEXT_LEGACY to prevent glx.h from including glxext.h. This is why you need to fix it previously when building ParaView, just as https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 says: Code:
sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' \ |
Internal compiler error: segmentation fault
3 Attachment(s)
Hi all,
I followed the instructions with the bugfixes on my laptop and everything compiled fine. The same procedure on my desktop gave me an internal compiler error for PV and subsequently OF. Both machines run Ubuntu 16.04. I have attached the logmake files (I had to split the PV log into two parts because of file size limitations). For reference, the desktop is running Code:
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609 Code:
cmake version 3.5.1 MC Attachment 51523 Attachment 51524 Attachment 51525 |
Quote:
From the ParaView build: Code:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:245:1: internal compiler error: Segmentation fault Code:
PRODUCT_OPERATOR(typeOfSum, +, add) For more details on how to check on RAM and CPU: https://openfoamwiki.net/index.php/H...and_CPU_are_OK The other possibility would be if there was some problem during the installation of Ubuntu, e.g. disk malfunction and byte corruption. |
Quote:
Thanks for the (spot-on) assessment. I had upgraded my RAM prior to installing. I ran the stressapptest and everything checked out to be fine*. I then recompiled PV without getting any errors. I then proceeded to compile OF and it got caught up with any segmentation fault at a late stage, which shows that somewhere there's a reliability issue with my memory. I ran Allwmake again and it patched up the parts in the compilation where it had failed due to the memory issue. Checked the tutorials and all's running fine. Thanks for the help! |
My openfoam installation problem solved. Thank you very much Bruno Santos for writing so many post for providing fixes for openfoam installations.
|
I am having problem with installing OpenFOAM2.4.x on Ubuntu16.04. Could anyone help me please?
I could succesfully install OpenFOAM2.4.0, and for using some sampes I need to upgrade it to 2.4.x, but it doesn't work. I have followed the instructions given in https://openfoamwiki.net/index.php/I...M-2.4.x/Ubuntu. Thanks in advance. |
All times are GMT -4. The time now is 21:23. |