|
[Sponsors] |
[OpenFOAM.org] error installing OF4.1 on ubuntu 14.04 |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Mar 2016
Posts: 17
Rep Power: 9 ![]() |
Hello foamers,
I am installing OF4.1 on ubuntu 14.04. I have installed it according to the OpenFoamWiki (https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04) There is already OF3.0.1 on my computer. But I installed it using 'alias' to source each version. So the two versions should work separately. But when I compile OF using './Allwmake'. There is always an error: Code:
In file included from lnInclude/CGALTriangulation3Ddefs.H:44:0, from DelaunayMeshTools/DelaunayMeshTools.H:45, from DelaunayMeshTools/DelaunayMeshTools.C:26: lnInclude/indexedCell.H:41:71: fatal error: CGAL/Delaunay_triangulation_cell_base_with_circumcenter_3.h: No such file or directory #include "CGAL/Delaunay_triangulation_cell_base_with_circumcenter_3.h" ^ compilation terminated. make[2]: *** [/home/dupeng/OpenFOAM/OpenFOAM-4.1/platforms/linux64GccDPInt64Opt/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMeshTools/DelaunayMeshTools.o] Error 1 make[2]: Leaving directory `/home/dupeng/OpenFOAM/OpenFOAM-4.1/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh' make[1]: *** [generation] Error 2 make[1]: Leaving directory `/home/dupeng/OpenFOAM/OpenFOAM-4.1/applications/utilities/mesh' make: *** [mesh] Error 2 Code:
======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required ======================================== Build Scotch decomposition library scotch_6.0.3 /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/scotch_6.0.3 scotch header in /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/scotch_6.0.3/include scotch libs in /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/lib ======================================== Build PTScotch decomposition library scotch_6.0.3 (uses MPI) /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/scotch_6.0.3 ptscotch header in /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/scotch_6.0.3/include/openmpi-system ptscotch libs in /home/dupeng/OpenFOAM/ThirdParty-4.1/platforms/linux64GccDPInt64/lib/openmpi-system ======================================== Build Metis decomposition optional component Metis was not found ======================================== Build CGAL Using system installation of CGAL ======================================== Done ThirdParty Allwmake ======================================== Last edited by wyldckat; March 22, 2017 at 17:52. Reason: Added [CODE][/CODE] markers |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 12 ![]() |
Hello dupeng,
I have the same problem you had, but I am using openfoam 4.x version on ubuntu 14.04. Did you solve your problem? Regards, Lisandro Maders |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Mar 2016
Posts: 17
Rep Power: 9 ![]() |
Lisandro Maders,
I haven't solved this problem yet. It seems that CGAL has been compiled for the previous version and it cannot be compiled again for the new version. Hope someone can help us! Regards, peng |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 9 ![]() |
Hello,
I recently installed OpenFOAM v4.1 via https://openfoam.org/download/4-1-ubuntu/ on ubuntu 16.04 LTS. It worked like charm. Your and my ubuntu versions are not same, but I just wanted to post anyway. Good luck. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Lisandro Maders
Join Date: Feb 2013
Posts: 98
Rep Power: 12 ![]() |
I hope so too Peng..
I will post my log.make files as well.. At a first view, no errors in the log.makeCM and in the log.makePV files, only in the log.make, in the OpenFOAM compilation. Looking forward for some answer, probably from Bruno Santos, who always save OF user's life haha. OBS: log.makePV was too large and I could not upload.. but it seems ok to me Regards, Lisandro Maders |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all!
I've gotten Lisandro's PM and I've taken a look at the installation instructions. My apologies for this issue and for not being able to look into this sooner. According to the history records in the wiki page for 4.0, I unfortunately did not use a clean installation of Ubuntu 14.04, which had Ubuntu's CGAL installation already in it. Problem is that I still have to confirm if this was the case or not. Therefore, for the time being, please do the following commands and hopefully this will build almost all of OpenFOAM's 4.1 and 4.x stack, but it will not build the meshers foamyHexMesh and foamyQuadMesh: Code:
cd $WM_PROJECT_DIR export QT_SELECT=qt4 ./Allwmake -j 4 -k > log.make 2>&1 I'll review and test again the instructions and fix them during next weekend, if all goes well. My apologies once again for this problem. This is one of my main expertises when it comes to OpenFOAM and somehow I missed this problem ![]() Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Join Date: Mar 2016
Posts: 17
Rep Power: 9 ![]() |
Hello Bruno Santos,
Your solution works great. Although I still get the error but everything works fine after the compilation. Maybe other foamers can also try the "-k" option when encounter similar problems during the installation. It will ignore some errors but they may not influence the use of openfoam. I also attached the log file for you to target the problem. The original file is too large, I just deleted something in the middle. I have another problem about function object here: strange performance of execFlowFunctionObjects can you also take a look if possible? Thanks. Regards, Peng |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Peng,
Thanks for log file. From what I can see, looks like it's just that CGAL was missing. OK, I've finished testing and revising the instructions for installing OpenFOAM 4.* on Ubuntu 14.04:
As for what exactly happened: from what I can vaguely remember, I only copied and adapted the instructions from OpenFOAM 3.0.* for Ubuntu 14.04 and didn't follow up with testing the build. This was likely because I didn't have enough time back then and ended up not testing later on ![]() Best regards, Bruno |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Join Date: Mar 2016
Posts: 17
Rep Power: 9 ![]() |
Thanks Bruno,
Your solution works perfect. Regards, Peng |
|
![]() |
![]() |
![]() |
![]() |
#10 | |
New Member
caduqued
Join Date: Apr 2009
Location: UK
Posts: 16
Rep Power: 16 ![]() |
Thanks a lot Bruno!!!!!
I used your instruction for an installation under Slackware, and it worked really well. Thanks! Quote:
|
||
![]() |
![]() |
![]() |
Tags |
installation, of 4.1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 3.0.1 installation on Ubuntu 14.04 | Hrushi | OpenFOAM Installation | 6 | July 8, 2017 18:47 |
Problem installing OpenFOAM-1.6-ext on Ubuntu 14.04 | afrotimy | OpenFOAM Installation | 4 | October 4, 2014 11:36 |
I cant find openfoam for ubuntu 14.04 LTS | seju | OpenFOAM Installation | 15 | August 30, 2014 12:07 |
Installing 2.3.0 on Ubuntu 14.04 LTS | siw | OpenFOAM Installation | 6 | July 5, 2014 06:16 |
foam-extend-3.0 installation in Ubuntu 14.04 | Maimouna | OpenFOAM Installation | 2 | May 16, 2014 11:23 |